![]() |
VR-Forces Developer's Guide
|
Reflected object representing a remote embedded system received over HLA/DIS. Manages state repository, callbacks, and lifecycle for remote embedded system objects.

Public Types | |
| typedef DtExampleEmbeddedSystemRepository *(* | DtStateRepCreator )() |
| typedef DtExampleEmbeddedSystemDecoder *(* | DtDecoderCreator )(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Public Member Functions | |
| DtReflectedExampleEmbeddedSystem (DtHlaObject *obj, DtExerciseConn *conn) | |
| virtual | ~DtReflectedExampleEmbeddedSystem () |
State Access | |
| virtual DtExampleEmbeddedSystemRepository * | exampleEmbeddedSystemRepository () const |
| virtual DtExampleEmbeddedSystemRepository * | eesr () const |
List Navigation | |
| virtual DtReflectedExampleEmbeddedSystem * | next () const |
| virtual DtReflectedExampleEmbeddedSystem * | prev () const |
| virtual DtReflectedExampleEmbeddedSystem * | wrapNext () const |
| virtual DtReflectedExampleEmbeddedSystem * | wrapPrev () const |
Callback Management | |
| virtual void | addPostUpdateCallback (DtExampleEmbeddedSystemCallbackFunction cb, void *userData) |
| virtual void | removePostUpdateCallback (DtExampleEmbeddedSystemCallbackFunction cb, void *userData) |
Static Public Member Functions | |
Factory Configuration | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| static DtDecoderCreator | setDecoderCreator (DtDecoderCreator creator) |
Protected Member Functions | |
| DtReflectedExampleEmbeddedSystem (const DtReflectedExampleEmbeddedSystem &orig) | |
| DtReflectedExampleEmbeddedSystem & | operator= (const DtReflectedExampleEmbeddedSystem &orig) |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
| static DtDecoderCreator | theDecoderCreator |
| typedef DtExampleEmbeddedSystemRepository*(* DtReflectedExampleEmbeddedSystem::DtStateRepCreator)() |
Function prototype for factory methods that create state repositories.
| typedef DtExampleEmbeddedSystemDecoder*(* DtReflectedExampleEmbeddedSystem::DtDecoderCreator)(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Function prototype for factory methods that create network decoders.
| DtReflectedExampleEmbeddedSystem::DtReflectedExampleEmbeddedSystem | ( | DtHlaObject * | obj, |
| DtExerciseConn * | conn | ||
| ) |
Constructor for reflected embedded system object.
| obj | HLA object wrapper containing network object data |
| conn | Exercise connection for network communication |
|
virtual |
Virtual destructor for proper cleanup.
|
protected |
Copy constructor - not implemented.
|
inlinevirtual |
Gets the embedded system's state repository.
Inline implementation of state repository accessor.
|
inlinevirtual |
Synonym for exampleEmbeddedSystemRepository() - shorter name for convenience.
Inline implementation of the convenience state repository accessor.
|
virtual |
Gets the next embedded system in the list.
|
virtual |
Gets the previous embedded system in the list.
|
virtual |
Gets the next embedded system with wraparound.
|
virtual |
Gets the previous embedded system with wraparound.
|
virtual |
Registers a callback for post-update events.
| cb | Callback function to register |
| userData | User data to pass to the callback |
|
virtual |
Unregisters a previously registered callback.
| cb | Callback function to unregister |
| userData | User data that was associated with the callback |
|
static |
Sets the factory function for creating state repositories.
| creator | Factory function for creating state repositories |
|
static |
Sets the factory function for creating network decoders.
| creator | Factory function for creating decoders |
|
protected |
Assignment operator - not implemented.
|
staticprotected |
Static factory function for creating state repositories.
|
staticprotected |
Static factory function for creating network decoders.