Basic communications layer for parallel simulation. It provides an abstraction layer above MPI, PVM, shared-memory communications, etc.
This is an interface: functionality is added by specific subclasses for MPI, PVM, etc.
|
virtual | ~cParsimCommunications () |
|
|
virtual void | init (int numPartitions)=0 |
|
virtual void | shutdown ()=0 |
|
virtual int | getNumPartitions () const =0 |
|
virtual int | getProcId () const =0 |
|
|
virtual cCommBuffer * | createCommBuffer ()=0 |
|
virtual void | recycleCommBuffer (cCommBuffer *buffer)=0 |
|
virtual void | send (cCommBuffer *buffer, int tag, int destination)=0 |
|
virtual void | broadcast (cCommBuffer *buffer, int tag) |
|
virtual bool | receiveBlocking (int filtTag, cCommBuffer *buffer, int &receivedTag, int &sourceProcId)=0 |
|
virtual bool | receiveNonblocking (int filtTag, cCommBuffer *buffer, int &receivedTag, int &sourceProcId)=0 |
|
| cObject () |
|
| cObject (const cObject &other)=default |
|
virtual | ~cObject () |
|
virtual const char * | getClassName () const |
|
virtual const char * | getName () const |
|
bool | isName (const char *s) const |
|
virtual const char * | getFullName () const |
|
virtual std::string | getFullPath () const |
|
virtual std::string | getClassAndFullName () const |
|
virtual std::string | getClassAndFullPath () const |
|
const cObject * | getThisPtr () const |
|
virtual std::string | str () const |
|
virtual std::ostream & | printOn (std::ostream &os) const |
|
virtual cObject * | dup () const |
|
virtual void | parsimPack (cCommBuffer *buffer) const |
|
virtual void | parsimUnpack (cCommBuffer *buffer) |
|
virtual cObject * | getOwner () const |
|
virtual bool | isOwnedObject () const |
|
virtual bool | isSoftOwner () const |
|
virtual void | forEachChild (cVisitor *v) |
|
cObject * | findObject (const char *name, bool deep=true) |
|
virtual cClassDescriptor * | getDescriptor () const |
|
void | copyNotSupported () const |
|