Gadget
pvmconstants.h
Go to the documentation of this file.
1 #ifndef pvmconstants_h
2 #define pvmconstants_h
3 
8 class PVMConstants {
9 public:
13  PVMConstants();
22  const int getStopTag() const { return stopPVM; };
27  const int getStartTag() const { return startPVM; };
32  const int getMasterSendVarTag() const { return masterSendVar; };
37  const int getMasterSendStringTag() const { return masterSendString; };
42  const int getMasterSendBoundTag() const { return masterSendBound; };
47  const int getMasterReceiveDataTag() const { return masterReceiveData; };
52  const int getTaskDiedTag() const { return taskDied; };
57  const int getDataEncode() const { return dataEncode; };
62  void setDataEncode(const int dc);
63 private:
67  int stopPVM;
71  int startPVM;
75  int taskDied;
79  int masterSendVar;
83  int masterSendString;
87  int masterSendBound;
91  int masterReceiveData;
96  int dataEncode;
97 };
98 
99 #endif
This is the class used to store information about the different tags and data encoding that can be us...
Definition: pvmconstants.h:8
const int getMasterSendVarTag() const
This function will return the flag used to indicate that the PVM master is sending variables data.
Definition: pvmconstants.h:32
const int getMasterSendBoundTag() const
This function will return the flag used to indicate that the PVM master is sending bounds data.
Definition: pvmconstants.h:42
~PVMConstants()
This is the default PVMConstants destructor.
Definition: pvmconstants.h:17
const int getDataEncode() const
This function will return the flag used to indicate that a task has exited.
Definition: pvmconstants.h:57
const int getMasterReceiveDataTag() const
This function will return the flag used to indicate that the PVM master is receiving data.
Definition: pvmconstants.h:47
const int getStartTag() const
This function will return the flag used to indicate that PVM has been started.
Definition: pvmconstants.h:27
const int getTaskDiedTag() const
This function will return the flag used to indicate that a task has died.
Definition: pvmconstants.h:52
const int getStopTag() const
This function will return the flag used to indicate that PVM has been stopped.
Definition: pvmconstants.h:22
void setDataEncode(const int dc)
This function will set the flag used to indicate the data encoding that will take place during the PV...
Definition: pvmconstants.cc:15
PVMConstants()
This is the default PVMConstants constructor.
Definition: pvmconstants.cc:4
const int getMasterSendStringTag() const
This function will return the flag used to indicate that the PVM master is sending string data.
Definition: pvmconstants.h:37