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
DtReflectedWaterSurface Class Reference
+ Inheritance diagram for DtReflectedWaterSurface:
+ Collaboration diagram for DtReflectedWaterSurface:

Public Types

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

Public Member Functions

 DtReflectedWaterSurface (DtExerciseConn *conn)
 Constructor. More...
 
virtual ~DtReflectedWaterSurface ()
 Destructor. More...
 
virtual
DtWaterSurfaceStateRepository * 
waterSurfaceStateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information. More...
 
virtual
DtWaterSurfaceStateRepository * 
wsr () const
 Synonym for waterSurfaceStateRep(). More...
 
virtual DtStateRepository * stateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information. More...
 
virtual DtWaterSurfaceDecoder * decoder ()
 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 DtReflectedWaterSurface * next () const
 Get the next and previous elements in the reflected aggregate list. More...
 
virtual DtReflectedWaterSurface * prev () const
 
virtual DtReflectedWaterSurface * wrapNext () const
 Get the next and previous elements, wrap at the ends of the list. More...
 
virtual DtReflectedWaterSurface * wrapPrev () const
 
virtual void addPostUpdateCallback (DtWaterSurfaceCallbackFunction cb, void *userData)
 Entity state callback registration/deregistration. More...
 
virtual void removePostUpdateCallback (DtWaterSurfaceCallbackFunction cb, void *userData)
 
virtual void setHashKey (const DtEntityIdentifier &uniqueVal)
 Sets the hash key from a unique string value. More...
 
virtual const DtBaseHashKey & hashKey () 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 processWaterSurfaceState (const DtMetocPdu &pdu)
 Process an state PDU. 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 Attributes

DtEntityIdentifierHashKey myHashKey
 
DtWaterSurfaceStateRepository * myStateRep
 
DtWaterSurfaceDecoder * 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
 

Private Member Functions

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

Additional Inherited Members

- 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...
 

Member Typedef Documentation

typedef DtWaterSurfaceStateRepository*(* DtReflectedWaterSurface::DtStateRepCreator)()

Function prototype for functions that create DtWaterSurfaceStateRepository.

Constructor & Destructor Documentation

DtReflectedWaterSurface::DtReflectedWaterSurface ( DtExerciseConn *  conn)

Constructor.

virtual DtReflectedWaterSurface::~DtReflectedWaterSurface ( )
virtual

Destructor.

DtReflectedWaterSurface::DtReflectedWaterSurface ( const DtReflectedWaterSurface &  orig)
private

copy constructor – not implemented

Member Function Documentation

virtual void DtReflectedWaterSurface::addPostUpdateCallback ( DtWaterSurfaceCallbackFunction  cb,
void *  userData 
)
virtual

Entity state callback registration/deregistration.

virtual DtWaterSurfaceDecoder* DtReflectedWaterSurface::decoder ( )
virtual

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

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

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

Implements DtReflectedObject.

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

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

Implements DtReflectedObject.

virtual DtString DtReflectedWaterSurface::idString ( ) const
virtual

Get a string identification of this object.

Implements DtReflectedObject.

virtual DtReflectedWaterSurface* DtReflectedWaterSurface::next ( ) const
virtual

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

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

assignment operator – not implemented

virtual DtReflectedWaterSurface* DtReflectedWaterSurface::prev ( ) const
virtual
virtual void DtReflectedWaterSurface::processStateMessage ( const DtStateMsg &  msg)
virtual

Implementation for abstract base class.

Reimplemented from DtReflectedObject.

virtual void DtReflectedWaterSurface::processWaterSurfaceState ( const DtMetocPdu &  pdu)
virtual

Process an state PDU.

Also calls down to base class processStateMessage().

virtual void DtReflectedWaterSurface::removePostUpdateCallback ( DtWaterSurfaceCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedWaterSurface::setHashKey ( const DtEntityIdentifier &  uniqueVal)
virtual

Sets the hash key from a unique string value.

static void DtReflectedWaterSurface::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

virtual DtStateRepository* DtReflectedWaterSurface::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 DtReflectedWaterSurface::stateRepCreator ( void  )
static
virtual DtWaterSurfaceStateRepository* DtReflectedWaterSurface::waterSurfaceStateRep ( ) const
virtual

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

virtual DtReflectedWaterSurface* DtReflectedWaterSurface::wrapNext ( ) const
virtual

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

virtual DtReflectedWaterSurface* DtReflectedWaterSurface::wrapPrev ( ) const
virtual
virtual DtWaterSurfaceStateRepository* DtReflectedWaterSurface::wsr ( ) const
virtual

Synonym for waterSurfaceStateRep().

Member Data Documentation

DtWaterSurfaceDecoder* DtReflectedWaterSurface::myDecoder
protected
DtEntityIdentifierHashKey DtReflectedWaterSurface::myHashKey
protected
DtWaterSurfaceStateRepository* DtReflectedWaterSurface::myStateRep
protected
DtStateRepCreator DtReflectedWaterSurface::theStateRepCreator
staticprotected

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

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)