Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Actor Class Reference

#include <Actor.h>

List of all members.

Public Methods

 Actor (Channel &theChannel, FEM_ObjectBroker &theBroker, int numActorMethods)
virtual ~Actor ()
virtual int addMethod (int tag, int(*fp)())
virtual int getMethod ()
virtual int processMethod (int tag)
virtual int sendObject (MovableObject &theObject, ChannelAddress *theAddress=0)
virtual int recvObject (MovableObject &theObject, ChannelAddress *theAddress=0)
virtual int sendMessage (const Message &theMessage, ChannelAddress *theAddress=0)
virtual int recvMessage (Message &theMessage, ChannelAddress *theAddress=0)
virtual int sendMatrix (const Matrix &theMatrix, ChannelAddress *theAddress=0)
virtual int recvMatrix (Matrix &theMatrix, ChannelAddress *theAddress=0)
virtual int sendVector (const Vector &theVector, ChannelAddress *theAddress=0)
virtual int recvVector (Vector &theVector, ChannelAddress *theAddress=0)
virtual int sendID (const ID &theID, ChannelAddress *theAddress=0)
virtual int recvID (ID &theID, ChannelAddress *theAddress=0)
ChannelgetChannelPtr (void) const
FEM_ObjectBrokergetObjectBrokerPtr (void) const
ChannelAddressgetShadowsAddressPtr (void) const

Protected Attributes

FEM_ObjectBrokertheBroker
ChanneltheChannel


Constructor & Destructor Documentation

Actor::Actor ( Channel & theChannel,
FEM_ObjectBroker & theBroker,
int numActorMethods )
 

Definition at line 49 of file Actor.cpp.

Actor::~Actor ( ) [virtual]
 

Definition at line 71 of file Actor.cpp.


Member Function Documentation

int Actor::addMethod ( int tag,
int(* fp)() ) [virtual]
 

Definition at line 85 of file Actor.cpp.

Channel * Actor::getChannelPtr ( void ) const
 

Definition at line 251 of file Actor.cpp.

int Actor::getMethod ( ) [virtual]
 

Definition at line 121 of file Actor.cpp.

FEM_ObjectBroker * Actor::getObjectBrokerPtr ( void ) const
 

Definition at line 257 of file Actor.cpp.

ChannelAddress * Actor::getShadowsAddressPtr ( void ) const
 

Definition at line 265 of file Actor.cpp.

int Actor::processMethod ( int tag ) [virtual]
 

Definition at line 136 of file Actor.cpp.

int Actor::recvID ( ID & theID,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 241 of file Actor.cpp.

int Actor::recvMatrix ( Matrix & theMatrix,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 205 of file Actor.cpp.

int Actor::recvMessage ( Message & theMessage,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 176 of file Actor.cpp.

Referenced by getMethod().

int Actor::recvObject ( MovableObject & theObject,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 164 of file Actor.cpp.

int Actor::recvVector ( Vector & theVector,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 223 of file Actor.cpp.

int Actor::sendID ( const ID & theID,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 232 of file Actor.cpp.

int Actor::sendMatrix ( const Matrix & theMatrix,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 196 of file Actor.cpp.

int Actor::sendMessage ( const Message & theMessage,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 185 of file Actor.cpp.

int Actor::sendObject ( MovableObject & theObject,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 154 of file Actor.cpp.

int Actor::sendVector ( const Vector & theVector,
ChannelAddress * theAddress = 0 ) [virtual]
 

Definition at line 214 of file Actor.cpp.


Member Data Documentation

FEM_ObjectBroker * Actor::theBroker [protected]
 

Definition at line 137 of file Actor.h.

Channel * Actor::theChannel [protected]
 

Definition at line 139 of file Actor.h.


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