VR-Link API Documentation for DIS
Public Member Functions | Protected Member Functions | Protected Attributes
DtReflectedObject Class Reference

Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (i.e. More...

+ Inheritance diagram for DtReflectedObject:
+ Collaboration diagram for DtReflectedObject:

List of all members.

Public Member Functions

 DtReflectedObject (DtExerciseConn *conn)
 constructor
virtual ~DtReflectedObject ()
 destructor
virtual DtStateRepositorystateRep () const =0
 Returns a pointer to the StateRepository - through which you can inspect current state information.
virtual DtStateRepositorysr () 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 processStateMessage (const DtStateMsg &msg)
 Process an entity state PDU.
virtual void baseAddPostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData)
 Object state callback registration/deregistration.
virtual void baseRemovePostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData)
virtual DtReflectedObjectnextObj () const
 Get the next remote object.
virtual DtReflectedObjectprevObj () const
 Get the previous remote object.
virtual DtReflectedObjectwrapNextObj () const
 Get the next remote object.
virtual DtReflectedObjectwrapPrevObj () const
 Get the previous remote object.
virtual const DtBaseHashKeyhashKey () const =0
 Get a hash key for this object.
virtual DtString idString () const =0
 Get a string identification of this object.
virtual const
DtGlobalObjectDesignator
globalId () const =0
 Get the Global ID for this object.

Protected Member Functions

 DtReflectedObject (const DtReflectedObject &orig)
 copy constructor -- not implemented
DtReflectedObjectoperator= (const DtReflectedObject &orig)
 assignment operator -- not implemented
virtual void processPostUpdateCallbacks ()
 Process the post update callbacks.

Protected Attributes

DtExerciseConnmyExConn
DtIntrusiveList myStateUpdateCallbacks
DtTime myLastTimeUpdated
DtTime myLastSimTimeUpdated
DtTime myLastReceivedTimeStamp

Detailed Description

Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (i.e.

this is not a full simulation running on this machine).


Constructor & Destructor Documentation

constructor

destructor

copy constructor -- not implemented


Member Function Documentation

virtual void DtReflectedObject::baseAddPostUpdateCallback ( DtReflectedObjectCallbackFunction  cb,
void *  userData 
) [virtual]

Object state callback registration/deregistration.

virtual void DtReflectedObject::baseRemovePostUpdateCallback ( DtReflectedObjectCallbackFunction  cb,
void *  userData 
) [virtual]
virtual const DtGlobalObjectDesignator& DtReflectedObject::globalId ( ) const [pure virtual]
virtual const DtBaseHashKey& DtReflectedObject::hashKey ( ) const [pure virtual]
virtual DtString DtReflectedObject::idString ( ) const [pure virtual]
virtual DtTime DtReflectedObject::lastReceivedTimeStamp ( ) const [virtual]

Returns the value in seconds past the hour of the timeStamp from the last received PDU.

virtual DtTime DtReflectedObject::lastSimTimeUpdated ( ) const [virtual]

Returns the value of sim time at the time an update was last received for the entity.

virtual DtTime DtReflectedObject::lastTimeUpdated ( ) const [virtual]

Returns the value of wallclock time at the time an update was last received for the entity.

virtual DtReflectedObject* DtReflectedObject::nextObj ( ) const [virtual]

Get the next remote object.

DtReflectedObject& DtReflectedObject::operator= ( const DtReflectedObject orig) [protected]

assignment operator -- not implemented

virtual DtReflectedObject* DtReflectedObject::prevObj ( ) const [virtual]

Get the previous remote object.

virtual void DtReflectedObject::processPostUpdateCallbacks ( ) [protected, virtual]

Process the post update callbacks.

virtual void DtReflectedObject::processStateMessage ( const DtStateMsg msg) [virtual]
virtual DtStateRepository* DtReflectedObject::sr ( ) const [virtual]

Synonym for stateRep().

virtual DtStateRepository* DtReflectedObject::stateRep ( ) const [pure virtual]

Returns a pointer to the StateRepository - through which you can inspect current state information.

Implemented in DtReflectedEntity, DtReflectedAggregate, DtReflectedGriddedData, DtReflectedEnvironmentProcess, DtReflectedRadioReceiver, DtReflectedRadioTransmitter, DtReflectedEmitterSystem, DtReflectedIff, and DtReflectedDesignator.

virtual DtReflectedObject* DtReflectedObject::wrapNextObj ( ) const [virtual]

Get the next remote object.

Will cycle back to the first remote object.

virtual DtReflectedObject* DtReflectedObject::wrapPrevObj ( ) const [virtual]

Get the previous remote object.

Will cycle back to the last remote object.


Member Data Documentation


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)