xc
Public Member Functions | Protected Attributes | List of all members
XC::ShadowActorBase Class Reference

Base class for Actor and Shadow objects. More...

#include <ShadowActorBase.h>

Inheritance diagram for XC::ShadowActorBase:
Inheritance graph
[legend]
Collaboration diagram for XC::ShadowActorBase:
Collaboration graph
[legend]

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.
 
ChannelgetChannelPtr (void) const
 Returns a pointer to the object channel theChannel.
 
virtual int barrierCheck (int result)
 barrier check.
 
- Public Member Functions inherited from XC::ObjectWithObjBroker
 ObjectWithObjBroker (FEM_ObjectBroker *)
 Object broker to use. More...
 
 ObjectWithObjBroker (FEM_ObjectBroker &)
 Constructor. Sets the broker.
 
FEM_ObjectBrokergetObjectBrokerPtr (void) const
 Returns a pointer to the broker #theBroker.
 

Protected Attributes

ChanneltheChannel
 Communication channel to use.
 
- Protected Attributes inherited from XC::ObjectWithObjBroker
FEM_ObjectBrokertheBroker
 

Detailed Description

Base class for Actor and Shadow objects.

Constructor & Destructor Documentation

◆ ShadowActorBase() [1/2]

XC::ShadowActorBase::ShadowActorBase ( Channel theChan,
FEM_ObjectBroker myBroker 
)

Constructor.

Sets the channel and the broker and make theChannel call setUpConnection().

◆ ShadowActorBase() [2/2]

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.


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