![]() |
VR-Link API Documentation for DIS
|
Instances of DtReflectedLinearObject represent Linear Object simulated by remote applications. More...
Inheritance diagram for DtReflectedLinearObject:
Collaboration diagram for DtReflectedLinearObject:Public Types | |
| typedef DtLinearObjectRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtLinearObjectRepositories. | |
Public Member Functions | |
| DtReflectedLinearObject (DtExerciseConn *conn, const DtEntityIdentifier &id) | |
| Constructor. | |
| virtual | ~DtReflectedLinearObject () |
| Destructor. | |
| virtual DtLinearObjectRepository * | linearObjectStateRep () const |
| Get the linear object's state repository. | |
| virtual DtLinearObjectRepository * | losr () const |
| Synonym for linearObjectStateRep(). | |
| virtual DtStateRepository * | stateRep () const |
| Returns a pointer to the StateRepository through which you can inspect current state information. | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Overrides the implementation of the base class. | |
| virtual DtReflectedLinearObject * | next () const |
| Get the next remote linear object. | |
| virtual DtReflectedLinearObject * | prev () const |
| Get the previous remote linear object. | |
| virtual DtReflectedLinearObject * | wrapNext () const |
| Get the next remote linear object. | |
| virtual DtReflectedLinearObject * | wrapPrev () const |
| Get the previous remote linear object. | |
| virtual void | addPostUpdateCallback (DtLinearObjectCallbackFunction cb, void *usr) |
| linear object state callback registration/deregistration. | |
| virtual void | removePostUpdateCallback (DtLinearObjectCallbackFunction cb, void *usr) |
| virtual const DtBaseHashKey & | hashKey () const |
| Get a hash key for this object. | |
| virtual DtString | idString () const |
| Get a string identification of this object. | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the linear object entityId. | |
Public Member Functions inherited from DtReflectedObject | |
| DtReflectedObject (DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedObject () |
| destructor | |
| virtual DtStateRepository * | sr () const |
| Synonym for stateRep(). | |
| virtual DtTime | lastTimeUpdated () const |
| Returns the value of wallclock time at the time an update was last received for the entity. | |
| virtual DtTime | lastSimTimeUpdated () const |
| Returns the value of sim time at the time an update was last received for the entity. | |
| virtual DtTime | lastReceivedTimeStamp () const |
| Returns the value in seconds past the hour of the timeStamp from the last received PDU. | |
| virtual void | baseAddPostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| Object state callback registration/deregistration. | |
| virtual void | baseRemovePostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData) |
| virtual DtReflectedObject * | nextObj () const |
| Get the next remote object. | |
| virtual DtReflectedObject * | prevObj () const |
| Get the previous remote object. | |
| virtual DtReflectedObject * | wrapNextObj () const |
| Get the next remote object. | |
| virtual DtReflectedObject * | wrapPrevObj () const |
| Get the previous remote object. | |
Public Member Functions inherited from DtListedObj | |
| DtListedObj () | |
| Constructor. | |
| virtual | ~DtListedObj () |
| Destructor. | |
Static Public Member Functions | |
| static void | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
| static DtStateRepCreator | stateRepCreator () |
Protected Member Functions | |
| DtReflectedLinearObject (const DtReflectedLinearObject &) | |
| Copy constructor - not implemented. | |
| DtReflectedLinearObject & | operator= (const DtReflectedLinearObject &) |
| Assignment operator - not implemented. | |
Protected Member Functions inherited from DtReflectedObject | |
| DtReflectedObject (const DtReflectedObject &orig) | |
| copy constructor – not implemented | |
| DtReflectedObject & | operator= (const DtReflectedObject &orig) |
| assignment operator – not implemented | |
| virtual void | processPostUpdateCallbacks () |
| Process the post update callbacks. | |
Protected Attributes | |
| DtEntityIdentifierHashKey | myHashKey |
| DtString | myIdString |
| DtLinearObjectRepository * | myStateRepository |
| DtLinearObjectDecoder * | 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 DtReflectedLinearObject represent Linear Object simulated by remote applications.
State data can be viewed through its state repository.
| typedef DtLinearObjectRepository*(* DtReflectedLinearObject::DtStateRepCreator)() |
Function prototype for functions that create DtLinearObjectRepositories.
| DtReflectedLinearObject::DtReflectedLinearObject | ( | DtExerciseConn * | conn, |
| const DtEntityIdentifier & | id | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Copy constructor - not implemented.
|
virtual |
linear object state callback registration/deregistration.
|
virtual |
Get the linear object 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.
|
inlinevirtual |
Get the linear object's state repository.
|
inlinevirtual |
Synonym for linearObjectStateRep().
|
virtual |
Get the next remote linear object.
Reimplemented from DtListedObj.
|
protected |
Assignment operator - not implemented.
|
virtual |
Get the previous remote linear object.
Reimplemented from DtListedObj.
|
virtual |
Overrides the implementation of the base class.
Processes a linear object 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 linear object.
If at the end, it will cycle back to the first remote linear object.
Reimplemented from DtListedObj.
|
virtual |
Get the previous remote linear object.
If at the beginning, it will cycle back to the last remote linear object.
Reimplemented from DtListedObj.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |