![]() |
VR-Link API Documentation for HLA Evolved
|
class DtReflectedIff: More...
Inheritance diagram for DtReflectedIff:
Collaboration diagram for DtReflectedIff:Public Types | |
| typedef DtIffStateRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtIffStateRepositories. | |
Public Member Functions | |
| DtReflectedIff (DtHlaObject *obj, DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedIff () |
| destructor | |
| virtual DtIffStateRepository * | iffStateRep () const |
| Returns a pointer to the IffStateRepository, through which you can inspect current state information. | |
| virtual DtIffStateRepository * | isr () const |
| Synonym for iffStateRep() | |
| virtual DtReflectedIff * | next () const |
| Functions to get the next and previous objects in the list. | |
| virtual DtReflectedIff * | prev () const |
| virtual DtReflectedIff * | 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 DtReflectedIff * | wrapPrev () const |
| virtual void | addPostUpdateCallback (DtIffCallbackFunction cb, void *userData) |
| Registration/deregistration of postUpdate callbacks. | |
| virtual void | removePostUpdateCallback (DtIffCallbackFunction cb, void *userData) |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
Protected Member Functions | |
| DtReflectedIff (const DtReflectedIff &orig) | |
| copy constructor -- not implemented | |
| DtReflectedIff & | operator= (const DtReflectedIff &orig) |
| assignment operator -- not implemented | |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
class DtReflectedIff:
Instances of DtReflectedIff are used to represent "IFF" objects simulated remotely, that we hear about through the RTI. Instances are created and deleted automatically by DtReflectedIffList in response to discover and remove RTI service invocations. This class is derived from DtReflectedObject, which does most of the work. The derived class mostly exists to provide type safety, and to configure the base class object.
| typedef DtIffStateRepository*(* DtReflectedIff::DtStateRepCreator)() |
Function prototype for functions that create DtIffStateRepositories.
| DtReflectedIff::DtReflectedIff | ( | DtHlaObject * | obj, |
| DtExerciseConn * | conn | ||
| ) |
constructor
| virtual DtReflectedIff::~DtReflectedIff | ( | ) | [virtual] |
destructor
| DtReflectedIff::DtReflectedIff | ( | const DtReflectedIff & | orig | ) | [protected] |
copy constructor -- not implemented
| virtual void DtReflectedIff::addPostUpdateCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Registration/deregistration of postUpdate callbacks.
| DtIffStateRepository * DtReflectedIff::iffStateRep | ( | ) | const [inline, virtual] |
Returns a pointer to the IffStateRepository, through which you can inspect current state information.
References DtReflectedObject::myStateRep.
| DtIffStateRepository * DtReflectedIff::isr | ( | ) | const [inline, virtual] |
Synonym for iffStateRep()
References DtReflectedObject::myStateRep.
| virtual DtReflectedIff* DtReflectedIff::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.
| DtReflectedIff& DtReflectedIff::operator= | ( | const DtReflectedIff & | orig | ) | [protected] |
assignment operator -- not implemented
| virtual DtReflectedIff* DtReflectedIff::prev | ( | ) | const [virtual] |
Reimplemented from DtListedObj.
| virtual void DtReflectedIff::removePostUpdateCallback | ( | DtIffCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| static DtStateRepCreator DtReflectedIff::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
| virtual DtReflectedIff* DtReflectedIff::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 DtReflectedIff* DtReflectedIff::wrapPrev | ( | ) | const [virtual] |
Reimplemented from DtListedObj.
DtStateRepCreator DtReflectedIff::theStateRepCreator [static, protected] |