VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Static Protected Attributes
DtReflectedExampleEmbeddedSystem Class Reference

Reflected object representing a remote embedded system received over HLA/DIS. Manages state repository, callbacks, and lifecycle for remote embedded system objects.

Inheritance diagram for DtReflectedExampleEmbeddedSystem:
Inheritance graph
[legend]

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
 

Member Typedef Documentation

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.

Constructor & Destructor Documentation

DtReflectedExampleEmbeddedSystem::DtReflectedExampleEmbeddedSystem ( DtHlaObject *  obj,
DtExerciseConn *  conn 
)

Constructor for reflected embedded system object.

Parameters
objHLA object wrapper containing network object data
connExercise connection for network communication
virtual DtReflectedExampleEmbeddedSystem::~DtReflectedExampleEmbeddedSystem ( )
virtual

Virtual destructor for proper cleanup.

DtReflectedExampleEmbeddedSystem::DtReflectedExampleEmbeddedSystem ( const DtReflectedExampleEmbeddedSystem &  orig)
protected

Copy constructor - not implemented.

Member Function Documentation

DtExampleEmbeddedSystemRepository * DtReflectedExampleEmbeddedSystem::exampleEmbeddedSystemRepository ( ) const
inlinevirtual

Gets the embedded system's state repository.

Inline implementation of state repository accessor.

Returns
Pointer to the state repository containing embedded system data
Pointer to embedded system state repository
DtExampleEmbeddedSystemRepository * DtReflectedExampleEmbeddedSystem::eesr ( ) const
inlinevirtual

Synonym for exampleEmbeddedSystemRepository() - shorter name for convenience.

Inline implementation of the convenience state repository accessor.

Returns
Pointer to the embedded system state repository
Pointer to embedded system state repository
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystem::next ( ) const
virtual

Gets the next embedded system in the list.

Returns
Pointer to next reflected embedded system, or nullptr if at end
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystem::prev ( ) const
virtual

Gets the previous embedded system in the list.

Returns
Pointer to previous reflected embedded system, or nullptr if at beginning
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystem::wrapNext ( ) const
virtual

Gets the next embedded system with wraparound.

Returns
Pointer to next embedded system, wrapping to first if at end
virtual DtReflectedExampleEmbeddedSystem* DtReflectedExampleEmbeddedSystem::wrapPrev ( ) const
virtual

Gets the previous embedded system with wraparound.

Returns
Pointer to previous embedded system, wrapping to last if at beginning
virtual void DtReflectedExampleEmbeddedSystem::addPostUpdateCallback ( DtExampleEmbeddedSystemCallbackFunction  cb,
void *  userData 
)
virtual

Registers a callback for post-update events.

Parameters
cbCallback function to register
userDataUser data to pass to the callback
virtual void DtReflectedExampleEmbeddedSystem::removePostUpdateCallback ( DtExampleEmbeddedSystemCallbackFunction  cb,
void *  userData 
)
virtual

Unregisters a previously registered callback.

Parameters
cbCallback function to unregister
userDataUser data that was associated with the callback
static DtStateRepCreator DtReflectedExampleEmbeddedSystem::setStateRepCreator ( DtStateRepCreator  creator)
static

Sets the factory function for creating state repositories.

Parameters
creatorFactory function for creating state repositories
Returns
Previous factory function
static DtDecoderCreator DtReflectedExampleEmbeddedSystem::setDecoderCreator ( DtDecoderCreator  creator)
static

Sets the factory function for creating network decoders.

Parameters
creatorFactory function for creating decoders
Returns
Previous factory function
DtReflectedExampleEmbeddedSystem& DtReflectedExampleEmbeddedSystem::operator= ( const DtReflectedExampleEmbeddedSystem &  orig)
protected

Assignment operator - not implemented.

Member Data Documentation

DtStateRepCreator DtReflectedExampleEmbeddedSystem::theStateRepCreator
staticprotected

Static factory function for creating state repositories.

DtDecoderCreator DtReflectedExampleEmbeddedSystem::theDecoderCreator
staticprotected

Static factory function for creating network decoders.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)