xc
|
Base class for Actor and Shadow objects. More...
#include <ShadowActorBase.h>
Public Member Functions | |
ShadowActorBase (Channel &theChannel, FEM_ObjectBroker &) | |
Constructor. More... | |
ShadowActorBase (int actorType, FEM_ObjectBroker &myBroker, MachineBroker &theMachineBroker, int compDemand) | |
Constructor. More... | |
void | setCommitTag (int commitTag) |
Set the value for #commitTag. | |
int | getCommitTag (void) const |
Return the #commitTag member. | |
Channel * | getChannelPtr (void) const |
Returns a pointer to the object channel theChannel. | |
virtual int | barrierCheck (int result) |
barrier check. | |
![]() | |
ObjectWithObjBroker (FEM_ObjectBroker *) | |
Object broker to use. More... | |
ObjectWithObjBroker (FEM_ObjectBroker &) | |
Constructor. Sets the broker. | |
FEM_ObjectBroker * | getObjectBrokerPtr (void) const |
Returns a pointer to the broker #theBroker. | |
Protected Attributes | |
Channel * | theChannel |
Communication channel to use. | |
![]() | |
FEM_ObjectBroker * | theBroker |
XC::ShadowActorBase::ShadowActorBase | ( | Channel & | theChan, |
FEM_ObjectBroker & | myBroker | ||
) |
Constructor.
Sets the channel and the broker and make theChannel call setUpConnection().
XC::ShadowActorBase::ShadowActorBase | ( | int | actorType, |
FEM_ObjectBroker & | myBroker, | ||
MachineBroker & | theMachineBroker, | ||
int | compDemand | ||
) |
Constructor.
Sets the channel and the broker and gets the channel from the machine broker.