![]() |
VR-Forces Developer's Guide
|
Publisher for example embedded system objects. Manages HLA object publication and state repository updates for embedded systems.

Public Types | |
| typedef DtExampleEmbeddedSystemRepository *(* | DtStateRepCreator )() |
| typedef DtExampleEmbeddedSystemDecoder *(* | DtDecoderCreator )(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
| typedef DtExampleEmbeddedSystemEncoder *(* | DtEncoderCreator )(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Public Member Functions | |
| DtExampleEmbeddedSystemPublisher (DtExampleEmbeddedSystemRepository *stateRepToUse, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| DtExampleEmbeddedSystemPublisher (DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| DtExampleEmbeddedSystemPublisher (RTI::ObjectClassHandle h, DtExerciseConn *conn, const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| DtExampleEmbeddedSystemPublisher (DtHlaObjectWithStateRep *obj, DtExerciseConn *conn) | |
| virtual | ~DtExampleEmbeddedSystemPublisher () |
| virtual DtExampleEmbeddedSystemRepository * | exampleEmbeddedSystemRepository () |
| virtual DtExampleEmbeddedSystemRepository * | eesr () |
| virtual const char * | classToUse () const |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
Protected Member Functions | |
| DtExampleEmbeddedSystemPublisher (const char *name=0, const DtDDMRegionSet *regionSetToUse=0) | |
| DtExampleEmbeddedSystemPublisher (const DtExampleEmbeddedSystemPublisher &orig) | |
| DtExampleEmbeddedSystemPublisher & | operator= (const DtExampleEmbeddedSystemPublisher &orig) |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
| static DtEncoderCreator | theEncoderCreator |
| static DtDecoderCreator | theDecoderCreator |
| typedef DtExampleEmbeddedSystemRepository*(* DtExampleEmbeddedSystemPublisher::DtStateRepCreator)() |
Function prototype for creating DtExampleEmbeddedSystemRepository instances.
| typedef DtExampleEmbeddedSystemDecoder*(* DtExampleEmbeddedSystemPublisher::DtDecoderCreator)(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Function prototype for creating DtExampleEmbeddedSystemDecoder instances.
| typedef DtExampleEmbeddedSystemEncoder*(* DtExampleEmbeddedSystemPublisher::DtEncoderCreator)(DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
Function prototype for creating DtExampleEmbeddedSystemEncoder instances.
| DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher | ( | DtExampleEmbeddedSystemRepository * | stateRepToUse, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor with existing state repository.
| stateRepToUse | Existing state repository to use |
| conn | Exercise connection for HLA communication |
| name | Optional object name |
| regionSetToUse | Optional DDM region set |
| DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher | ( | DtExerciseConn * | conn, |
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor that creates a new state repository.
| conn | Exercise connection for HLA communication |
| name | Optional object name |
| regionSetToUse | Optional DDM region set |
| DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher | ( | RTI::ObjectClassHandle | h, |
| DtExerciseConn * | conn, | ||
| const char * | name = 0, |
||
| const DtDDMRegionSet * | regionSetToUse = 0 |
||
| ) |
Constructor with specific object class handle.
| h | Object class handle to use |
| conn | Exercise connection for HLA communication |
| name | Optional object name |
| regionSetToUse | Optional DDM region set |
| DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher | ( | DtHlaObjectWithStateRep * | obj, |
| DtExerciseConn * | conn | ||
| ) |
Constructor for existing HLA object with state repository. Typically used with ownership management for taking ownership of discovered objects.
| obj | Existing HLA object with state repository |
| conn | Exercise connection for HLA communication |
|
virtual |
Virtual destructor for proper cleanup.
|
protected |
Protected constructor without exercise connection. Does not register the HLA object - for derived classes that need custom control.
| name | Optional object name |
| regionSetToUse | Optional DDM region set |
|
protected |
Copy constructor - not implemented.
|
inlinevirtual |
Returns pointer to the embedded system state repository.
Inline implementation for exampleEmbeddedSystemRepository().
|
inlinevirtual |
Synonym for exampleEmbeddedSystemRepository().
Inline implementation for eesr().
|
virtual |
Returns the name of the FOM object class to use.
|
static |
Sets the function used for creating state repositories.
| creator | Function pointer for state repository creation |
|
protected |
Assignment operator - not implemented.
|
staticprotected |
Static creator function for state repositories.
|
staticprotected |
Static creator function for encoders.
|
staticprotected |
Static creator function for decoders.