![]() |
VR-Link API Documentation for HLA 1516
|
Instances of ReflectedTest are used to represent "Test" objects simulated remotely, that we hear about through the RTI. More...
Inheritance diagram for ReflectedTest:
Collaboration diagram for ReflectedTest:Public Member Functions | |
| ReflectedTest (DtHlaObject *obj, DtExerciseConn *conn) | |
| constructor | |
| virtual | ~ReflectedTest () |
| destructor | |
| virtual TestStateRepository * | testStateRep () const |
| Returns a pointer to the TestStateRepository, through which you can inspect current state information. | |
| virtual TestStateRepository * | tsr () const |
| Synonym for testStateRep() | |
| virtual ReflectedTest * | next () const |
| Functions to get the next and previous objects in the list. | |
| virtual ReflectedTest * | prev () const |
| virtual ReflectedTest * | 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 ReflectedTest * | wrapPrev () const |
| virtual void | addPostUpdateCallback (TestCallbackFunction cb, void *userData) |
| Registration/deregistration of postUpdate callbacks. | |
| virtual void | removePostUpdateCallback (TestCallbackFunction cb, void *userData) |
Instances of ReflectedTest are used to represent "Test" objects simulated remotely, that we hear about through the RTI.
Instances are created and deleted automatically by ReflectedTestList 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.
| ReflectedTest::ReflectedTest | ( | DtHlaObject * | obj, |
| DtExerciseConn * | conn | ||
| ) |
constructor
| virtual ReflectedTest::~ReflectedTest | ( | ) | [virtual] |
destructor
| virtual void ReflectedTest::addPostUpdateCallback | ( | TestCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Registration/deregistration of postUpdate callbacks.
| virtual ReflectedTest* ReflectedTest::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.
| virtual ReflectedTest* ReflectedTest::prev | ( | ) | const [virtual] |
Reimplemented from DtListedObj.
| virtual void ReflectedTest::removePostUpdateCallback | ( | TestCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual TestStateRepository* ReflectedTest::testStateRep | ( | ) | const [virtual] |
Returns a pointer to the TestStateRepository, through which you can inspect current state information.
| virtual TestStateRepository* ReflectedTest::tsr | ( | ) | const [virtual] |
Synonym for testStateRep()
| virtual ReflectedTest* ReflectedTest::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 ReflectedTest* ReflectedTest::wrapPrev | ( | ) | const [virtual] |
Reimplemented from DtListedObj.