|
Public Member Functions |
|
int | size () const |
|
int | rank () const |
|
bool | closed () const |
|
void | close () |
| virtual void | sendInt (int destRank, int i) const =0 |
| virtual int | recvInt (int &srcRank) const =0 |
| virtual int | recvIntFrom (int srcRank) const =0 |
| virtual void | sendBytes (int destRank, const unsigned char *buf, int count) const =0 |
| virtual unsigned char * | recvBytes (int srcRank, int count) const =0 |
Protected Member Functions |
|
| Channel (const Channel &) |
| | Copy constructor. Not supported.
|
|
Channel & | operator= (const Channel &) |
| | Assignment operator. Not supported.
|
Protected Attributes |
|
int | m_size |
| | The number of processes involved in the parallel search.
|
|
int | m_rank |
| | The rank of the current process.
|
|
bool | m_closed |
| | Got termination notification.
|