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 | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtExampleEmbeddedSystemPublisher Class Reference

Publisher for example embedded system objects. Manages HLA object publication and state repository updates for embedded systems.

Inheritance diagram for DtExampleEmbeddedSystemPublisher:
Inheritance graph
[legend]

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
 

Member Typedef Documentation

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.

Constructor & Destructor Documentation

DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher ( DtExampleEmbeddedSystemRepository *  stateRepToUse,
DtExerciseConn *  conn,
const char *  name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor with existing state repository.

Parameters
stateRepToUseExisting state repository to use
connExercise connection for HLA communication
nameOptional object name
regionSetToUseOptional DDM region set
DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher ( DtExerciseConn *  conn,
const char *  name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor that creates a new state repository.

Parameters
connExercise connection for HLA communication
nameOptional object name
regionSetToUseOptional DDM region set
DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher ( RTI::ObjectClassHandle  h,
DtExerciseConn *  conn,
const char *  name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor with specific object class handle.

Parameters
hObject class handle to use
connExercise connection for HLA communication
nameOptional object name
regionSetToUseOptional 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.

Parameters
objExisting HLA object with state repository
connExercise connection for HLA communication
virtual DtExampleEmbeddedSystemPublisher::~DtExampleEmbeddedSystemPublisher ( )
virtual

Virtual destructor for proper cleanup.

DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher ( const char *  name = 0,
const DtDDMRegionSet *  regionSetToUse = 0 
)
protected

Protected constructor without exercise connection. Does not register the HLA object - for derived classes that need custom control.

Parameters
nameOptional object name
regionSetToUseOptional DDM region set
DtExampleEmbeddedSystemPublisher::DtExampleEmbeddedSystemPublisher ( const DtExampleEmbeddedSystemPublisher &  orig)
protected

Copy constructor - not implemented.

Member Function Documentation

DtExampleEmbeddedSystemRepository * DtExampleEmbeddedSystemPublisher::exampleEmbeddedSystemRepository ( )
inlinevirtual

Returns pointer to the embedded system state repository.

Inline implementation for exampleEmbeddedSystemRepository().

Returns
Pointer to state repository for setting/inspecting state information
Pointer to embedded system state repository
DtExampleEmbeddedSystemRepository * DtExampleEmbeddedSystemPublisher::eesr ( )
inlinevirtual

Synonym for exampleEmbeddedSystemRepository().

Inline implementation for eesr().

Returns
Pointer to embedded system state repository
virtual const char* DtExampleEmbeddedSystemPublisher::classToUse ( ) const
virtual

Returns the name of the FOM object class to use.

Returns
FOM object class name (asks FOM Mapper by default)
static DtStateRepCreator DtExampleEmbeddedSystemPublisher::setStateRepCreator ( DtStateRepCreator  creator)
static

Sets the function used for creating state repositories.

Parameters
creatorFunction pointer for state repository creation
Returns
Previous state repository creator function
DtExampleEmbeddedSystemPublisher& DtExampleEmbeddedSystemPublisher::operator= ( const DtExampleEmbeddedSystemPublisher &  orig)
protected

Assignment operator - not implemented.

Member Data Documentation

DtStateRepCreator DtExampleEmbeddedSystemPublisher::theStateRepCreator
staticprotected

Static creator function for state repositories.

DtEncoderCreator DtExampleEmbeddedSystemPublisher::theEncoderCreator
staticprotected

Static creator function for encoders.

DtDecoderCreator DtExampleEmbeddedSystemPublisher::theDecoderCreator
staticprotected

Static creator function for 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)