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