![]() |
VR-Link API Documentation for DIS
|
Instances of DtReflectedDesignator represent designator object simulated by remote applications. More...
Inheritance diagram for DtReflectedDesignator:
Collaboration diagram for DtReflectedDesignator:Public Types | |
| typedef DtDesignatorRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtDesignatorRepositories. More... | |
Public Member Functions | |
| DtReflectedDesignator (DtExerciseConn *conn, const DtGlobalObjectDesignator &designatingEntity, int designatorCode) | |
| Constructor. More... | |
| virtual | ~DtReflectedDesignator () |
| Destructor. More... | |
| virtual DtDesignatorRepository * | designatorRep () const |
| Get the designator's state repository. More... | |
| virtual DtDesignatorRepository * | dsr () const |
| Synonym for designatorRep(). More... | |
| virtual DtStateRepository * | stateRep () const |
| Returns a pointer to the StateRepository through which you can inspect current state information. More... | |
| virtual DtDesignatorDecoder * | decoder () |
| Returns a pointer to the Decoder being used to decode state messages. More... | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Overrides the implementation of the base class. More... | |
| virtual DtReflectedDesignator * | next () const |
| Get the next remote designator. More... | |
| virtual DtReflectedDesignator * | prev () const |
| Get the previous remote designator. More... | |
| virtual DtReflectedDesignator * | wrapNext () const |
| Get the next remote designator. More... | |
| virtual DtReflectedDesignator * | wrapPrev () const |
| Get the previous remote designator. More... | |
| virtual void | addPostUpdateCallback (DtDesignatorCallbackFunction cb, void *userData) |
| Designator state callback registration/deregistration. More... | |
| virtual void | removePostUpdateCallback (DtDesignatorCallbackFunction cb, void *userData) |
| virtual const DtBaseHashKey & | hashKey () const |
| Get a hash key for this object. More... | |
| virtual DtString | idString () const |
| Get a string identification of this object. More... | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the designator entityId - for DIS, it's the same as its DtEntityIdentifier. More... | |
Public Member Functions inherited from DtReflectedObject | |
| DtReflectedObject (DtExerciseConn *conn) | |
| constructor More... | |
| virtual | ~DtReflectedObject () |
| destructor More... | |
| virtual DtStateRepository * | sr () const |
| Synonym for stateRep(). More... | |
| virtual DtTime | lastTimeUpdated () const |
| Returns the value of wallclock time at the time an update was last received for the entity. More... | |
| virtual DtTime | lastSimTimeUpdated () const |
| Returns the value of sim time at the time an update was last received for the entity. More... | |
| virtual DtTime | lastReceivedTimeStamp () const |
| Returns the value in seconds past the hour of the timeStamp from the last received PDU. More... | |
| virtual void | baseAddPostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| Object state callback registration/deregistration. More... | |
| virtual void | baseRemovePostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| virtual DtReflectedObject * | nextObj () const |
| Get the next remote object. More... | |
| virtual DtReflectedObject * | prevObj () const |
| Get the previous remote object. More... | |
| virtual DtReflectedObject * | wrapNextObj () const |
| Get the next remote object. More... | |
| virtual DtReflectedObject * | wrapPrevObj () const |
| Get the previous remote object. More... | |
Public Member Functions inherited from DtListedObj | |
| DtListedObj () | |
| Constructor. More... | |
| virtual | ~DtListedObj () |
| Destructor. More... | |
| void * | next () const |
| Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list. More... | |
| void * | prev () const |
| void * | wrapNext () const |
| Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit the end (beginning). More... | |
| void * | wrapPrev () const |
Static Public Member Functions | |
| static void | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. More... | |
| static DtStateRepCreator | stateRepCreator (void) |
Protected Member Functions | |
| DtReflectedDesignator (const DtReflectedDesignator &) | |
| Copy constructor - not implemented. More... | |
| DtReflectedDesignator & | operator= (const DtReflectedDesignator &) |
| Assignment operator - not implemented. More... | |
Protected Member Functions inherited from DtReflectedObject | |
| DtReflectedObject (const DtReflectedObject &orig) | |
| copy constructor – not implemented More... | |
| DtReflectedObject & | operator= (const DtReflectedObject &orig) |
| assignment operator – not implemented More... | |
| virtual void | processPostUpdateCallbacks () |
| Process the post update callbacks. More... | |
Protected Attributes | |
| DtSystemHashKey | myHashKey |
| DtString | myIdString |
| DtDesignatorRepository * | myStateRepository |
| DtDesignatorDecoder * | myDecoder |
Protected Attributes inherited from DtReflectedObject | |
| DtExerciseConn * | myExConn |
| DtIntrusiveList | myStateUpdateCallbacks |
| DtTime | myLastTimeUpdated |
| DtTime | myLastSimTimeUpdated |
| DtTime | myLastReceivedTimeStamp |
Protected Attributes inherited from DtListedObj | |
| DtList * | myList |
| DtListItem * | myItem |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
Instances of DtReflectedDesignator represent designator object simulated by remote applications.
State data can be viewed through its state repository.
| typedef DtDesignatorRepository*(* DtReflectedDesignator::DtStateRepCreator)() |
Function prototype for functions that create DtDesignatorRepositories.
| DtReflectedDesignator::DtReflectedDesignator | ( | DtExerciseConn * | conn, |
| const DtGlobalObjectDesignator & | designatingEntity, | ||
| int | designatorCode | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Copy constructor - not implemented.
|
virtual |
Designator state callback registration/deregistration.
|
inlinevirtual |
Returns a pointer to the Decoder being used to decode state messages.
|
inlinevirtual |
Get the designator's state repository.
|
inlinevirtual |
Synonym for designatorRep().
|
virtual |
Get the designator entityId - for DIS, it's the same as its DtEntityIdentifier.
Implements DtReflectedObject.
|
inlinevirtual |
Get a hash key for this object.
Implements DtReflectedObject.
|
inlinevirtual |
Get a string identification of this object.
Implements DtReflectedObject.
|
virtual |
Get the next remote designator.
|
protected |
Assignment operator - not implemented.
|
virtual |
Get the previous remote designator.
|
virtual |
Overrides the implementation of the base class.
Processes a Designator PDU.
Reimplemented from DtReflectedObject.
|
virtual |
|
static |
Give us a function to be used for creating SRs.
|
inlinevirtual |
Returns a pointer to the StateRepository through which you can inspect current state information.
Implementation for abstract base class.
Implements DtReflectedObject.
|
static |
|
virtual |
Get the next remote designator.
If at the end, it will cycle back to the first remote designator.
|
virtual |
Get the previous remote designator.
If at the beginning, it will cycle back to the last remote designator.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |