![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtReflectedGenericObject are used to represent "GenericObject" objects simulated remotely, that we hear about through the RTI. More...
Inheritance diagram for DtReflectedGenericObject:
Collaboration diagram for DtReflectedGenericObject:Public Member Functions | |
| DtReflectedGenericObject (DtHlaObject *obj, DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedGenericObject () |
| destructor | |
| virtual DtGenericStateRepository * | genericStateRep () const |
| Returns a pointer to the DtGenericStateRepository, through which you can inspect current state information. | |
| virtual DtGenericStateRepository * | gsr () const |
| Synonym for genericStateRep(). | |
| virtual DtReflectedGenericObject * | next () const |
| Functions to get the next and previous objects in the list. | |
| virtual DtReflectedGenericObject * | prev () const |
| virtual DtReflectedGenericObject * | wrapNext () const |
| Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning). | |
| virtual DtReflectedGenericObject * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtGenericObjectCallbackFunction cb, void *userData) |
| Registration/deregistration of postUpdate callbacks. | |
| virtual void | removePostUpdateCallback (DtGenericObjectCallbackFunction cb, void *userData) |
Protected Member Functions | |
| DtReflectedGenericObject (const DtReflectedGenericObject &other) | |
| Copy Ctor -- Not Implemented. | |
| DtReflectedGenericObject & | operator= (const DtReflectedGenericObject &other) |
| Assignment Operator -- Not Implemented. | |
Instances of DtReflectedGenericObject are used to represent "GenericObject" objects simulated remotely, that we hear about through the RTI.
Instances are created and deleted automatically by DtReflectedGenericObjectList in response to discover and remove RTI service invocations. This class is derived from DtDtReflectedObject, which does most of the work. The derived class mostly exists to provide type safety, and to configure the base class object.
| DtReflectedGenericObject::DtReflectedGenericObject | ( | DtHlaObject * | obj, |
| DtExerciseConn * | conn | ||
| ) |
constructor
| virtual DtReflectedGenericObject::~DtReflectedGenericObject | ( | ) | [virtual] |
destructor
| DtReflectedGenericObject::DtReflectedGenericObject | ( | const DtReflectedGenericObject & | other | ) | [protected] |
Copy Ctor -- Not Implemented.
| virtual void DtReflectedGenericObject::addPostUpdateCallback | ( | DtGenericObjectCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Registration/deregistration of postUpdate callbacks.
| virtual DtGenericStateRepository* DtReflectedGenericObject::genericStateRep | ( | ) | const [virtual] |
Returns a pointer to the DtGenericStateRepository, through which you can inspect current state information.
| virtual DtGenericStateRepository* DtReflectedGenericObject::gsr | ( | ) | const [virtual] |
Synonym for genericStateRep().
| virtual DtReflectedGenericObject* DtReflectedGenericObject::next | ( | ) | const [virtual] |
Functions to get the next and previous objects in the list.
The "wrap" functions cycle to the beginning/end of the list.
Reimplemented from DtListedObj.
| DtReflectedGenericObject& DtReflectedGenericObject::operator= | ( | const DtReflectedGenericObject & | other | ) | [protected] |
Assignment Operator -- Not Implemented.
| virtual DtReflectedGenericObject* DtReflectedGenericObject::prev | ( | ) | const [virtual] |
Reimplemented from DtListedObj.
| virtual void DtReflectedGenericObject::removePostUpdateCallback | ( | DtGenericObjectCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual DtReflectedGenericObject* DtReflectedGenericObject::wrapNext | ( | ) | const [virtual] |
Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning).
Only returns NULL when the list is totally empty.
Reimplemented from DtListedObj.
| virtual DtReflectedGenericObject* DtReflectedGenericObject::wrapPrev | ( | ) | const [virtual] |
Reimplemented from DtListedObj.