![]() |
VR-Forces 4.0.4 Class Documentation
|
A distributed object agent base class. More...

Public Member Functions | |
| virtual | ~DtAgent () |
| DTOR. | |
| DtAgentManagerInterface & | sceneInterface () |
| Get the scene interface, the scene interface may not be NULL (so a reference is safe. | |
| void | setSceneInterface (DtAgentManagerInterface *iface) |
| Set the internal scene interface pointer. | |
| void | init (DtAgentManagerInterface &sceneInterface, bool bDistribute) |
| Initialize the object proxy this must be called once before using the object. | |
| const std::string & | className () const |
| Get the class name. | |
| void | clean () |
| void | dirty () |
| DtUniqueID | uniqueId () const |
| inline accessor | |
| bool | distributeMessages () const |
| Accessor for myDistributeMessageFlag. | |
Protected Member Functions | |
| DtMessage & | startNewCall (unsigned int function) |
| Inline get arguments for a operation call operation. | |
| void | addCreateObjectCall () |
| Add a call which will create the actual object. | |
| void | addDeleteObjectCall () |
| Add a call to delete an object. | |
| unsigned int | callCount () const |
| Get the number of calls. | |
| template<typename C > | |
| void | queueOperationCall (unsigned int state_function, void(C::*m)()) |
| DtAgent () | |
| Support up to 9 args, if more needed simply add, as they are template functions that will be dynamically generated. | |
| DtAgent (DtAgent &) | |
| Copy CTOR is used internally for last update values. | |
| DtAgentManagerInterface::OrderedCallList & | callList () |
| Get a pointer to the call list. | |
Protected Attributes | |
| DtAgentManagerInterface * | mySceneInterface |
| DtUniqueID | myUniqueId |
| std::string | myClassName |
| bool | myUpdateFlag |
| DtAgentManagerInterface::OrderedCallList | myCalls |
| bool | myDistributeObjectFlag |
Friends | |
| class | DtAgentManagerInterface |
| Allow the scene manager interface access the processed functions. | |
| class | DtAgentManager |
A distributed object agent base class.
| virtual makVrv::DtAgent::~DtAgent | ( | ) | [virtual] |
DTOR.
| makVrv::DtAgent::DtAgent | ( | ) | [protected] |
Support up to 9 args, if more needed simply add, as they are template functions that will be dynamically generated.
CTOR
| makVrv::DtAgent::DtAgent | ( | DtAgent & | ) | [protected] |
Copy CTOR is used internally for last update values.
| DtAgentManagerInterface& makVrv::DtAgent::sceneInterface | ( | ) | [inline] |
Get the scene interface, the scene interface may not be NULL (so a reference is safe.
| void makVrv::DtAgent::setSceneInterface | ( | DtAgentManagerInterface * | iface | ) | [inline] |
Set the internal scene interface pointer.
| void makVrv::DtAgent::init | ( | DtAgentManagerInterface & | sceneInterface, |
| bool | bDistribute | ||
| ) |
Initialize the object proxy this must be called once before using the object.
It will be called automatically during proxy creation
| const std::string& makVrv::DtAgent::className | ( | ) | const [inline] |
Get the class name.
| void makVrv::DtAgent::clean | ( | ) | [inline] |
| void makVrv::DtAgent::dirty | ( | ) | [inline] |
| DtUniqueID makVrv::DtAgent::uniqueId | ( | ) | const [inline] |
inline accessor
| bool makVrv::DtAgent::distributeMessages | ( | ) | const [inline] |
Accessor for myDistributeMessageFlag.
Returns true if messages are going to be distributed to each slave in addition to the master.
| DtMessage& makVrv::DtAgent::startNewCall | ( | unsigned int | function | ) | [inline, protected] |
Inline get arguments for a operation call operation.
| void makVrv::DtAgent::addCreateObjectCall | ( | ) | [protected] |
Add a call which will create the actual object.
| void makVrv::DtAgent::addDeleteObjectCall | ( | ) | [protected] |
Add a call to delete an object.
| unsigned int makVrv::DtAgent::callCount | ( | ) | const [inline, protected] |
Get the number of calls.
| void makVrv::DtAgent::queueOperationCall | ( | unsigned int | state_function, |
| void(C::*)() | m | ||
| ) | [inline, protected] |
| DtAgentManagerInterface::OrderedCallList& makVrv::DtAgent::callList | ( | ) | [inline, protected] |
Get a pointer to the call list.
friend class DtAgentManagerInterface [friend] |
Allow the scene manager interface access the processed functions.
friend class DtAgentManager [friend] |
DtAgentManagerInterface* makVrv::DtAgent::mySceneInterface [protected] |
DtUniqueID makVrv::DtAgent::myUniqueId [protected] |
std::string makVrv::DtAgent::myClassName [protected] |
bool makVrv::DtAgent::myUpdateFlag [protected] |
bool makVrv::DtAgent::myDistributeObjectFlag [protected] |