casa
5.7.0-16
|
Base class for parallel data transport models. More...
#include <PTransport.h>
Public Member Functions | |
PTransport () | |
Default constructor and destructor. More... | |
virtual | ~PTransport () |
casacore::Int | numThreads () |
Return the number of processes. More... | |
casacore::Int | cpu () |
Return the current process rank. More... | |
casacore::Int | connect (casacore::Int i) |
Set the properties of the current connection including source/destination and message tag. More... | |
void | connectAnySource () |
void | connectToController () |
void | setTag (casacore::Int tag) |
void | setAnyTag () |
casacore::Bool | isController () |
Status functions for worker/controller designation. More... | |
casacore::Bool | isWorker () |
virtual casacore::Int | anyTag ()=0 |
Default source and message tag values. More... | |
virtual casacore::Int | anySource ()=0 |
virtual casacore::Int | controllerRank ()=0 |
Define the rank of the controller process. More... | |
virtual casacore::Int | put (const casacore::Array< casacore::Float > &)=0 |
Get and put functions on the parallel data transport layer. More... | |
virtual casacore::Int | put (const casacore::Array< casacore::Double > &)=0 |
virtual casacore::Int | put (const casacore::Array< casacore::Complex > &)=0 |
virtual casacore::Int | put (const casacore::Array< casacore::DComplex > &)=0 |
virtual casacore::Int | put (const casacore::Array< casacore::Int > &)=0 |
virtual casacore::Int | put (const casacore::Float &)=0 |
virtual casacore::Int | put (const casacore::Double &)=0 |
virtual casacore::Int | put (const casacore::Complex &)=0 |
virtual casacore::Int | put (const casacore::DComplex &)=0 |
virtual casacore::Int | put (const casacore::Int &)=0 |
virtual casacore::Int | put (const casacore::String &)=0 |
virtual casacore::Int | put (const casacore::Bool &)=0 |
virtual casacore::Int | put (const casacore::Record &)=0 |
virtual casacore::Int | get (casacore::Array< casacore::Float > &)=0 |
virtual casacore::Int | get (casacore::Array< casacore::Double > &)=0 |
virtual casacore::Int | get (casacore::Array< casacore::Complex > &)=0 |
virtual casacore::Int | get (casacore::Array< casacore::DComplex > &)=0 |
virtual casacore::Int | get (casacore::Array< casacore::Int > &)=0 |
virtual casacore::Int | get (casacore::Float &)=0 |
virtual casacore::Int | get (casacore::Double &)=0 |
virtual casacore::Int | get (casacore::Complex &)=0 |
virtual casacore::Int | get (casacore::DComplex &)=0 |
virtual casacore::Int | get (casacore::Int &)=0 |
virtual casacore::Int | get (casacore::String &)=0 |
virtual casacore::Int | get (casacore::Bool &)=0 |
virtual casacore::Int | get (casacore::Record &)=0 |
Protected Attributes | |
casacore::Int | numprocs |
Number of processes. More... | |
casacore::Int | myCpu |
Rank of current process. More... | |
casacore::Int | aWorker |
Current source or destination process. More... | |
casacore::Int | aTag |
Current message tag. More... | |
Base class for parallel data transport models.
Internal or
Internal
Definition at line 81 of file PTransport.h.
|
inline |
Default constructor and destructor.
Definition at line 84 of file PTransport.h.
|
inlinevirtual |
Definition at line 85 of file PTransport.h.
|
pure virtual |
Implemented in casa::SerialTransport.
Referenced by connectAnySource().
|
pure virtual |
Default source and message tag values.
Implemented in casa::SerialTransport.
Referenced by setAnyTag().
|
inline |
Set the properties of the current connection including source/destination and message tag.
Definition at line 95 of file PTransport.h.
References aWorker.
|
inline |
Definition at line 96 of file PTransport.h.
References anySource(), and aWorker.
|
inline |
Definition at line 97 of file PTransport.h.
References aWorker, and controllerRank().
|
pure virtual |
Define the rank of the controller process.
Implemented in casa::SerialTransport.
Referenced by connectToController(), isController(), and isWorker().
|
inline |
Return the current process rank.
Definition at line 91 of file PTransport.h.
References myCpu.
Referenced by isController(), and isWorker().
|
pure virtual |
Implemented in casa::SerialTransport.
Referenced by casa::Applicator::get().
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
inline |
Status functions for worker/controller designation.
Definition at line 102 of file PTransport.h.
References controllerRank(), and cpu().
|
inline |
Definition at line 103 of file PTransport.h.
References controllerRank(), and cpu().
|
inline |
|
pure virtual |
Get and put functions on the parallel data transport layer.
Implemented in casa::SerialTransport.
Referenced by casa::Applicator::put().
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
pure virtual |
Implemented in casa::SerialTransport.
|
inline |
Definition at line 99 of file PTransport.h.
|
inline |
Definition at line 98 of file PTransport.h.
References aTag.
|
protected |
Current message tag.
Definition at line 152 of file PTransport.h.
Referenced by setAnyTag(), and setTag().
|
protected |
Current source or destination process.
Definition at line 149 of file PTransport.h.
Referenced by connect(), connectAnySource(), and connectToController().
|
protected |
|
protected |