The class SlaveCommunication handles netcommunication for a slave process communicating with a master process using PVM. It provides functions for starting/stopping communication with master and sending/receiving data to/from master. The class can receive data of the type: NetDataVariables and CharPtrVector and send data of the type: NetDataResult. To successfully start netcommunication pvmd must be running on host and the process must have been spawned by a master process.
More...
#include <slavecommunication.h>
The class SlaveCommunication handles netcommunication for a slave process communicating with a master process using PVM. It provides functions for starting/stopping communication with master and sending/receiving data to/from master. The class can receive data of the type: NetDataVariables and CharPtrVector and send data of the type: NetDataResult. To successfully start netcommunication pvmd must be running on host and the process must have been spawned by a master process.
◆ SlaveCommunication()
SlaveCommunication::SlaveCommunication |
( |
| ) |
|
◆ ~SlaveCommunication()
SlaveCommunication::~SlaveCommunication |
( |
| ) |
|
◆ getBound()
void SlaveCommunication::getBound |
( |
double * |
vec | ) |
|
◆ getReceiveType()
int SlaveCommunication::getReceiveType |
( |
| ) |
|
◆ getString()
const Parameter & SlaveCommunication::getString |
( |
int |
num | ) |
|
◆ getStringVector()
◆ getVector()
void SlaveCommunication::getVector |
( |
double * |
vec | ) |
|
◆ printErrorMsg()
void SlaveCommunication::printErrorMsg |
( |
const char * |
errorMsg | ) |
|
◆ receive()
int SlaveCommunication::receive |
( |
| ) |
|
◆ receiveBound()
int SlaveCommunication::receiveBound |
( |
| ) |
|
◆ receivedBounds()
int SlaveCommunication::receivedBounds |
( |
| ) |
|
◆ receivedString()
int SlaveCommunication::receivedString |
( |
| ) |
|
◆ receivedVector()
int SlaveCommunication::receivedVector |
( |
| ) |
|
◆ receiveFromMaster()
int SlaveCommunication::receiveFromMaster |
( |
| ) |
|
◆ receiveString()
int SlaveCommunication::receiveString |
( |
| ) |
|
◆ send()
◆ sendToMaster()
int SlaveCommunication::sendToMaster |
( |
double |
res | ) |
|
◆ startNetCommunication()
int SlaveCommunication::startNetCommunication |
( |
| ) |
|
◆ stopNetCommunication()
void SlaveCommunication::stopNetCommunication |
( |
| ) |
|
The documentation for this class was generated from the following files: