OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
opencover::coVRMSController Class Reference

#include <coVRMSController.h>

Classes

class  SlaveData
 

Public Types

enum  {
  SYNC_TCP = 0, SYNC_UDP, SYNC_SERIAL, SYNC_TCP_SERIAL,
  SYNC_PARA, SYNC_MULTICAST, SYNC_MPI, SYNC_MAGIC
}
 
enum  { SYNC_APP = 0, SYNC_DRAW }
 
enum  { AppTag, DrawTag }
 

Public Member Functions

 coVRMSController (bool forceMpi=false, int AmyID=-1, const char *addr=NULL, int port=0)
 
 ~coVRMSController ()
 
void startSlaves ()
 
void checkMark (const char *file, int line)
 
void connectToMaster (const char *addr, int port)
 
bool isMaster ()
 
bool isSlave ()
 
bool isCluster ()
 
int readMaster (void *c, int n, bool mcastOverTCP)
 
int readMaster (void *c, int n)
 
int readMasterDraw (void *c, int n, bool mcastOverTCP)
 
int readMasterDraw (void *c, int n)
 
void sendMaster (const void *c, int n)
 
void sendMasterDraw (const void *c, int n)
 
int readSlave (int slaveNum, void *data, int num)
 
int readSlaves (SlaveData *c)
 
int readSlavesDraw (void *c, int n)
 
void sendSlave (int i, const void *c, int n)
 
void sendSlaves (const void *c, int n)
 
void sendSlaves (const SlaveData &c)
 
void sendSlavesDraw (const void *c, int n)
 
void sendSlaves (const covise::Message *msg)
 
int readMaster (covise::Message *msg)
 
void sendMaster (const covise::Message *msg)
 
int getID ()
 
void sync ()
 
void startupSync ()
 
void syncApp (int frameNum)
 
void syncDraw ()
 
void syncTime ()
 
int syncData (void *data, int size)
 
bool syncBool (bool)
 
void syncVRBMessages ()
 
void waitForSlaves ()
 
void waitForSlavesDraw ()
 
void waitForMaster ()
 
void sendGo ()
 
void sendGoDraw ()
 
void sendSerialGo ()
 
void waitForSerialGo ()
 
void sendParallelGo ()
 
void waitForParallelGo ()
 
void waitForParallelJoin ()
 
void loadFile (const char *filename)
 
int clusterSize ()
 
void killClients ()
 
int getNumSlaves () const
 
void heartBeat (const std::string &name="unnamed", bool draw=false)
 

Static Public Member Functions

static coVRMSControllerinstance ()
 
static void statisticsCallback (void *, buttonSpecCell *spec)
 

Member Enumeration Documentation

anonymous enum
Enumerator
SYNC_TCP 
SYNC_UDP 
SYNC_SERIAL 
SYNC_TCP_SERIAL 
SYNC_PARA 
SYNC_MULTICAST 
SYNC_MPI 
SYNC_MAGIC 
anonymous enum
Enumerator
SYNC_APP 
SYNC_DRAW 
anonymous enum
Enumerator
AppTag 
DrawTag 

Constructor & Destructor Documentation

opencover::coVRMSController::coVRMSController ( bool  forceMpi = false,
int  AmyID = -1,
const char *  addr = NULL,
int  port = 0 
)
opencover::coVRMSController::~coVRMSController ( )

Member Function Documentation

void opencover::coVRMSController::checkMark ( const char *  file,
int  line 
)
int opencover::coVRMSController::clusterSize ( )
inline
void opencover::coVRMSController::connectToMaster ( const char *  addr,
int  port 
)
int opencover::coVRMSController::getID ( )
inline
int opencover::coVRMSController::getNumSlaves ( ) const
inline
void opencover::coVRMSController::heartBeat ( const std::string &  name = "unnamed",
bool  draw = false 
)
static coVRMSController* opencover::coVRMSController::instance ( )
static
bool opencover::coVRMSController::isCluster ( )
inline
bool opencover::coVRMSController::isMaster ( )
inline
bool opencover::coVRMSController::isSlave ( )
inline
void opencover::coVRMSController::killClients ( )
void opencover::coVRMSController::loadFile ( const char *  filename)
int opencover::coVRMSController::readMaster ( void *  c,
int  n,
bool  mcastOverTCP 
)
int opencover::coVRMSController::readMaster ( void *  c,
int  n 
)
int opencover::coVRMSController::readMaster ( covise::Message *  msg)
int opencover::coVRMSController::readMasterDraw ( void *  c,
int  n,
bool  mcastOverTCP 
)
int opencover::coVRMSController::readMasterDraw ( void *  c,
int  n 
)
int opencover::coVRMSController::readSlave ( int  slaveNum,
void *  data,
int  num 
)
int opencover::coVRMSController::readSlaves ( SlaveData c)
int opencover::coVRMSController::readSlavesDraw ( void *  c,
int  n 
)
void opencover::coVRMSController::sendGo ( )
void opencover::coVRMSController::sendGoDraw ( )
void opencover::coVRMSController::sendMaster ( const void *  c,
int  n 
)
void opencover::coVRMSController::sendMaster ( const covise::Message *  msg)
void opencover::coVRMSController::sendMasterDraw ( const void *  c,
int  n 
)
void opencover::coVRMSController::sendParallelGo ( )
void opencover::coVRMSController::sendSerialGo ( )
void opencover::coVRMSController::sendSlave ( int  i,
const void *  c,
int  n 
)
void opencover::coVRMSController::sendSlaves ( const void *  c,
int  n 
)
void opencover::coVRMSController::sendSlaves ( const SlaveData c)
void opencover::coVRMSController::sendSlaves ( const covise::Message *  msg)
void opencover::coVRMSController::sendSlavesDraw ( const void *  c,
int  n 
)
void opencover::coVRMSController::startSlaves ( )
void opencover::coVRMSController::startupSync ( )
static void opencover::coVRMSController::statisticsCallback ( void *  ,
buttonSpecCell spec 
)
static
void opencover::coVRMSController::sync ( )
void opencover::coVRMSController::syncApp ( int  frameNum)
bool opencover::coVRMSController::syncBool ( bool  )
int opencover::coVRMSController::syncData ( void *  data,
int  size 
)
void opencover::coVRMSController::syncDraw ( )
void opencover::coVRMSController::syncTime ( )
void opencover::coVRMSController::syncVRBMessages ( )
void opencover::coVRMSController::waitForMaster ( )
void opencover::coVRMSController::waitForParallelGo ( )
void opencover::coVRMSController::waitForParallelJoin ( )
void opencover::coVRMSController::waitForSerialGo ( )
void opencover::coVRMSController::waitForSlaves ( )
void opencover::coVRMSController::waitForSlavesDraw ( )

The documentation for this class was generated from the following file: