casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::SerialTransport Class Reference

Putting in the MPI Transport stuff only makes sense if we have MPI. More...

#include <PTransport.h>

Inheritance diagram for casa::SerialTransport:
casa::PTransport

List of all members.

Public Member Functions

 SerialTransport ()
 Default constructor and destructor.
virtual ~SerialTransport ()
virtual Int anyTag ()
 Default source and message tag values.
virtual Int anySource ()
virtual Int controllerRank ()
 Define the rank of the controller process.
virtual Int put (const Array< Float > &)
 Get and put functions on the data transport layer.
virtual Int put (const Array< Double > &)
virtual Int put (const Array< Complex > &)
virtual Int put (const Array< DComplex > &)
virtual Int put (const Array< Int > &)
virtual Int put (const Float &)
virtual Int put (const Double &)
virtual Int put (const Complex &)
virtual Int put (const DComplex &)
virtual Int put (const Int &)
virtual Int put (const String &)
virtual Int put (const Bool &)
virtual Int put (const Record &)
virtual Int get (Array< Float > &)
virtual Int get (Array< Double > &)
virtual Int get (Array< Complex > &)
virtual Int get (Array< DComplex > &)
virtual Int get (Array< Int > &)
virtual Int get (Float &)
virtual Int get (Double &)
virtual Int get (Complex &)
virtual Int get (DComplex &)
virtual Int get (Int &)
virtual Int get (String &)
virtual Int get (Bool &)
virtual Int get (Record &)

Private Member Functions

Int add2Queue (void *)
void * getFromQueue ()

Private Attributes

uInt inQue
uInt outQue
uInt lastInQue
PtrBlock< void * > _data

Detailed Description

Putting in the MPI Transport stuff only makes sense if we have MPI.

Serial Data Transport Model

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

SerialTransport is your basic no-op. We're just passing the pointers to avoid unnecessary data copying.

Definition at line 280 of file PTransport.h.


Constructor & Destructor Documentation

Default constructor and destructor.

Definition at line 283 of file PTransport.h.

References _data, and casa::PtrBlock< T >::resize().

virtual casa::SerialTransport::~SerialTransport ( ) [inline, virtual]

Definition at line 285 of file PTransport.h.


Member Function Documentation

Int casa::SerialTransport::add2Queue ( void *  ) [private]
virtual Int casa::SerialTransport::anySource ( ) [inline, virtual]

Implements casa::PTransport.

Definition at line 289 of file PTransport.h.

virtual Int casa::SerialTransport::anyTag ( ) [inline, virtual]

Default source and message tag values.

Implements casa::PTransport.

Definition at line 288 of file PTransport.h.

virtual Int casa::SerialTransport::controllerRank ( ) [inline, virtual]

Define the rank of the controller process.

Implements casa::PTransport.

Definition at line 292 of file PTransport.h.

virtual Int casa::SerialTransport::get ( Array< Float > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Array< Double > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Array< Complex > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Array< DComplex > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Array< Int > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Float ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Double ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Complex &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( DComplex &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Int ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( String ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Bool ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::get ( Record ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Array< Float > &  ) [virtual]

Get and put functions on the data transport layer.

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Array< Double > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Array< Complex > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Array< DComplex > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Array< Int > &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Float ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Double ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Complex &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const DComplex &  ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Int ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const String ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Bool ) [virtual]

Implements casa::PTransport.

virtual Int casa::SerialTransport::put ( const Record ) [virtual]

Implements casa::PTransport.


Member Data Documentation

Definition at line 327 of file PTransport.h.

Referenced by SerialTransport().

Definition at line 324 of file PTransport.h.

Definition at line 326 of file PTransport.h.

Definition at line 325 of file PTransport.h.


The documentation for this class was generated from the following file: