provides communication for complex objects. More...
provides communication for complex objects.
The MobileObject provides buffering and an interface for complex objects to use communication routines.
#include <COMM.H>
Public Member Functions | |
MobileObject () | |
void ** | GetBufPtr () |
const void * | GetBuffer () const |
void * | GetBuffer () |
int | BufSize () |
virtual int | PrepareBuffer (size_t bsize) |
virtual int | Pack (void **inbuf=NULL) |
virtual int | UnPack (const void *outbuf=NULL) |
virtual void | DestroyBuffer () |
virtual | ~MobileObject () |
Protected Attributes | |
void * | _buf |
bool | _mine |
int | _bsize |
|
inline |
|
inlinevirtual |
Definition at line 50 of file COMM.H.
References MobileObject::DestroyBuffer().
|
inline |
Definition at line 38 of file COMM.H.
References MobileObject::Pack(), MobileObject::PrepareBuffer(), and MobileObject::UnPack().
|
inlinevirtual |
Definition at line 42 of file COMM.H.
Referenced by CommunicatorObject::_AllGatherMO(), CommunicatorObject::_GatherMO(), MobileParameters::operator=(), and MobileObject::~MobileObject().
|
inline |
Definition at line 36 of file COMM.H.
Referenced by CommunicatorObject::_AllGatherMO(), CommunicatorObject::_GatherMO(), and CommunicatorObject::BroadCast().
|
virtual |
Reimplemented in MobileString, and MobileParameters.
Definition at line 22 of file COMM.C.
References MobileObject::_bsize, MobileObject::_buf, MobileObject::_mine, and ix::util::String2Buf().
Referenced by CommunicatorObject::_AllGatherMO(), CommunicatorObject::_GatherMO(), CommunicatorObject::BroadCast(), and MobileObject::BufSize().
|
virtual |
Definition at line 10 of file COMM.C.
References MobileObject::_bsize, MobileObject::_buf, and MobileObject::_mine.
Referenced by CommunicatorObject::BroadCast(), and MobileObject::BufSize().
|
virtual |
Reimplemented in MobileString, and MobileParameters.
Definition at line 52 of file COMM.C.
References MobileObject::_bsize, MobileObject::_buf, and MobileObject::_mine.
Referenced by CommunicatorObject::BroadCast(), and MobileObject::BufSize().
|
protected |
Definition at line 32 of file COMM.H.
Referenced by MobileObject::Pack(), MobileObject::PrepareBuffer(), MobileParameters::UnPack(), and MobileObject::UnPack().
|
protected |
Definition at line 30 of file COMM.H.
Referenced by MobileParameters::Pack(), MobileObject::Pack(), MobileString::Pack(), MobileObject::PrepareBuffer(), MobileParameters::UnPack(), MobileObject::UnPack(), and MobileString::UnPack().
|
protected |
Definition at line 31 of file COMM.H.
Referenced by MobileParameters::Pack(), MobileObject::Pack(), MobileString::Pack(), MobileObject::PrepareBuffer(), MobileParameters::UnPack(), MobileObject::UnPack(), and MobileString::UnPack().