VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtReflectedSubsurfaceLayer Class Reference
+ Inheritance diagram for DtReflectedSubsurfaceLayer:
+ Collaboration diagram for DtReflectedSubsurfaceLayer:

Public Types

typedef
DtSubsurfaceLayerStateRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create DtSubsurfaceLayerStateRepository. More...
 

Public Member Functions

 DtReflectedSubsurfaceLayer (DtExerciseConn *conn)
 Constructor. More...
 
virtual ~DtReflectedSubsurfaceLayer ()
 Destructor. More...
 
virtual
DtSubsurfaceLayerStateRepository
subsurfaceLayerStateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information. More...
 
virtual
DtSubsurfaceLayerStateRepository
ssr () const
 Synonym for subsurfaceLayerStateRep(). More...
 
virtual DtStateRepositorystateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information. More...
 
virtual DtSubsurfaceLayerDecoderdecoder ()
 Returns a pointer to the Decoder being used to decode state messages into our SR. More...
 
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the objects's global object designator - for DIS, it's the same as its DtEntityIdentifier. More...
 
virtual
DtReflectedSubsurfaceLayer
next () const
 Get the next and previous elements in the reflected aggregate list. More...
 
virtual
DtReflectedSubsurfaceLayer
prev () const
 
virtual
DtReflectedSubsurfaceLayer
wrapNext () const
 Get the next and previous elements, wrap at the ends of the list. More...
 
virtual
DtReflectedSubsurfaceLayer
wrapPrev () const
 
virtual void addPostUpdateCallback (DtSubsurfaceLayerCallbackFunction cb, void *userData)
 Entity state callback registration/deregistration. More...
 
virtual void removePostUpdateCallback (DtSubsurfaceLayerCallbackFunction cb, void *userData)
 
virtual void setHashKey (const DtEntityIdentifier &uniqueVal)
 Sets the hash key from a unique string value. More...
 
virtual const DtBaseHashKeyhashKey () const
 Get a hash key for this object - Key must be set before use. More...
 
virtual DtString idString () const
 Get a string identification of this object. More...
 
virtual void processStateMessage (const DtStateMsg &msg)
 Implementation for abstract base class. More...
 
virtual void processSubsurfaceLayerState (const DtMetocPdu &pdu)
 Process an state PDU. More...
 
- Public Member Functions inherited from DtReflectedObject
 DtReflectedObject (DtExerciseConn *conn)
 constructor More...
 
virtual ~DtReflectedObject ()
 destructor More...
 
virtual DtStateRepositorysr () 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 DtReflectedObjectnextObj () const
 Get the next remote object. More...
 
virtual DtReflectedObjectprevObj () const
 Get the previous remote object. More...
 
virtual DtReflectedObjectwrapNextObj () const
 Get the next remote object. More...
 
virtual DtReflectedObjectwrapPrevObj () 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 Attributes

DtEntityIdentifierHashKey myHashKey
 
DtSubsurfaceLayerStateRepositorymyStateRep
 
DtSubsurfaceLayerDecodermyDecoder
 
- Protected Attributes inherited from DtReflectedObject
DtExerciseConnmyExConn
 
DtIntrusiveList myStateUpdateCallbacks
 
DtTime myLastTimeUpdated
 
DtTime myLastSimTimeUpdated
 
DtTime myLastReceivedTimeStamp
 
- Protected Attributes inherited from DtListedObj
DtListmyList
 
DtListItemmyItem
 

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 

Private Member Functions

 DtReflectedSubsurfaceLayer (const DtReflectedSubsurfaceLayer &orig)
 copy constructor – not implemented More...
 
DtReflectedSubsurfaceLayeroperator= (const DtReflectedSubsurfaceLayer &orig)
 assignment operator – not implemented More...
 

Additional Inherited Members

- Protected Member Functions inherited from DtReflectedObject
 DtReflectedObject (const DtReflectedObject &orig)
 copy constructor – not implemented More...
 
DtReflectedObjectoperator= (const DtReflectedObject &orig)
 assignment operator – not implemented More...
 
virtual void processPostUpdateCallbacks ()
 Process the post update callbacks. More...
 

Member Typedef Documentation

typedef DtSubsurfaceLayerStateRepository*(* DtReflectedSubsurfaceLayer::DtStateRepCreator)()

Function prototype for functions that create DtSubsurfaceLayerStateRepository.

Constructor & Destructor Documentation

DtReflectedSubsurfaceLayer::DtReflectedSubsurfaceLayer ( DtExerciseConn conn)

Constructor.

virtual DtReflectedSubsurfaceLayer::~DtReflectedSubsurfaceLayer ( )
virtual

Destructor.

DtReflectedSubsurfaceLayer::DtReflectedSubsurfaceLayer ( const DtReflectedSubsurfaceLayer orig)
private

copy constructor – not implemented

Member Function Documentation

virtual void DtReflectedSubsurfaceLayer::addPostUpdateCallback ( DtSubsurfaceLayerCallbackFunction  cb,
void *  userData 
)
virtual

Entity state callback registration/deregistration.

virtual DtSubsurfaceLayerDecoder* DtReflectedSubsurfaceLayer::decoder ( )
virtual

Returns a pointer to the Decoder being used to decode state messages into our SR.

virtual const DtGlobalObjectDesignator& DtReflectedSubsurfaceLayer::globalId ( ) const
virtual

Get the objects's global object designator - for DIS, it's the same as its DtEntityIdentifier.

Implements DtReflectedObject.

virtual const DtBaseHashKey& DtReflectedSubsurfaceLayer::hashKey ( ) const
virtual

Get a hash key for this object - Key must be set before use.

Implements DtReflectedObject.

virtual DtString DtReflectedSubsurfaceLayer::idString ( ) const
virtual

Get a string identification of this object.

Implements DtReflectedObject.

virtual DtReflectedSubsurfaceLayer* DtReflectedSubsurfaceLayer::next ( ) const
virtual

Get the next and previous elements in the reflected aggregate list.

DtReflectedSubsurfaceLayer& DtReflectedSubsurfaceLayer::operator= ( const DtReflectedSubsurfaceLayer orig)
private

assignment operator – not implemented

virtual DtReflectedSubsurfaceLayer* DtReflectedSubsurfaceLayer::prev ( ) const
virtual
virtual void DtReflectedSubsurfaceLayer::processStateMessage ( const DtStateMsg msg)
virtual

Implementation for abstract base class.

Reimplemented from DtReflectedObject.

virtual void DtReflectedSubsurfaceLayer::processSubsurfaceLayerState ( const DtMetocPdu pdu)
virtual

Process an state PDU.

Also calls down to base class processStateMessage().

virtual void DtReflectedSubsurfaceLayer::removePostUpdateCallback ( DtSubsurfaceLayerCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedSubsurfaceLayer::setHashKey ( const DtEntityIdentifier uniqueVal)
virtual

Sets the hash key from a unique string value.

static void DtReflectedSubsurfaceLayer::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

virtual DtSubsurfaceLayerStateRepository* DtReflectedSubsurfaceLayer::ssr ( ) const
virtual
virtual DtStateRepository* DtReflectedSubsurfaceLayer::stateRep ( ) const
virtual

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

Implementation for abstract base class. Calls asr().

Implements DtReflectedObject.

static DtStateRepCreator DtReflectedSubsurfaceLayer::stateRepCreator ( void  )
static
virtual DtSubsurfaceLayerStateRepository* DtReflectedSubsurfaceLayer::subsurfaceLayerStateRep ( ) const
virtual

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

virtual DtReflectedSubsurfaceLayer* DtReflectedSubsurfaceLayer::wrapNext ( ) const
virtual

Get the next and previous elements, wrap at the ends of the list.

virtual DtReflectedSubsurfaceLayer* DtReflectedSubsurfaceLayer::wrapPrev ( ) const
virtual

Member Data Documentation

DtSubsurfaceLayerDecoder* DtReflectedSubsurfaceLayer::myDecoder
protected
DtEntityIdentifierHashKey DtReflectedSubsurfaceLayer::myHashKey
protected
DtSubsurfaceLayerStateRepository* DtReflectedSubsurfaceLayer::myStateRep
protected
DtStateRepCreator DtReflectedSubsurfaceLayer::theStateRepCreator
staticprotected

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

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)