VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtReflectedSensorFieldOfView Class Reference

Instances of DtReflectedSensorFieldOfView are used to represent a simulated HLAobjectRoot.EmbeddedSystem.AimableSystem.SensorFieldOfView object reflected across a network.

Inheritance diagram for DtReflectedSensorFieldOfView:
Inheritance graph
[legend]

Public Types

typedef
DtSensorFieldOfViewStateRepository *(* 
DtStateRepCreator )()
 
typedef
DtSensorFieldOfViewStateRepository *(* 
DtStateRepCreator )()
 

Public Member Functions

 DtReflectedSensorFieldOfView (DtExerciseConn *conn, const DtEntityIdentifier &id)
 
virtual ~DtReflectedSensorFieldOfView () override
 
virtual
DtSensorFieldOfViewStateRepository * 
sensorFieldOfViewStateRep () const
 
virtual
DtSensorFieldOfViewStateRepository * 
sfovsr () const
 
virtual DtStateRepository * stateRep () const override
 
virtual
DtSensorFieldOfViewDecoder * 
decoder ()
 
virtual const DtObjectId & id () const
 
virtual const
DtGlobalObjectDesignator & 
globalId () const override
 
virtual
DtReflectedSensorFieldOfView * 
next () const
 
virtual
DtReflectedSensorFieldOfView * 
prev () const
 
virtual
DtReflectedSensorFieldOfView * 
wrapNext () const
 
virtual
DtReflectedSensorFieldOfView * 
wrapPrev () const
 
virtual void addPostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
 
virtual void removePostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
 
virtual void setHashKey (const DtString &uniqueVal)
 
virtual const DtBaseHashKey & hashKey () const override
 
virtual DtString idString () const override
 
virtual void processStateMessage (const DtStateMsg &msg) override
 
virtual void processSensorFieldOfViewState (const DtAimableSystemPdu &pdu)
 
 DtReflectedSensorFieldOfView (DtHlaObject *obj, DtExerciseConn *exConn)
 
virtual ~DtReflectedSensorFieldOfView () override
 
virtual
DtSensorFieldOfViewStateRepository * 
sensorFieldOfViewStateRep () const
 
virtual
DtSensorFieldOfViewStateRepository * 
sfovsr () const
 
virtual
DtReflectedSensorFieldOfView * 
next () const
 
virtual
DtReflectedSensorFieldOfView * 
prev () const
 
virtual
DtReflectedSensorFieldOfView * 
wrapNext () const
 
virtual
DtReflectedSensorFieldOfView * 
wrapPrev () const
 
virtual void addPostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
 
virtual void removePostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
 

Static Public Member Functions

static void setStateRepCreator (DtStateRepCreator creator)
 
static DtStateRepCreator stateRepCreator (void)
 
static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 

Protected Member Functions

 DtReflectedSensorFieldOfView (const DtReflectedSensorFieldOfView &orig)
 
DtReflectedSensorFieldOfView & operator= (const DtReflectedSensorFieldOfView &orig)
 

Protected Attributes

DtStringHashKey myHashKey
 
DtEntityIdentifier myId
 
DtSensorFieldOfViewStateRepository * myStateRep
 
DtSensorFieldOfViewDecoder * myDecoder
 

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 

Private Member Functions

 DtReflectedSensorFieldOfView (const DtReflectedSensorFieldOfView &orig)
 
DtReflectedSensorFieldOfView & operator= (const DtReflectedSensorFieldOfView &orig)
 

Member Typedef Documentation

typedef DtSensorFieldOfViewStateRepository*(* DtReflectedSensorFieldOfView::DtStateRepCreator)()

Function prototype for functions that create DtSensorFieldOfViewStateRepository.

typedef DtSensorFieldOfViewStateRepository*(* DtReflectedSensorFieldOfView::DtStateRepCreator)()

Function prototype for functions that create a DtSensorFieldOfViewStateRepository.

Constructor & Destructor Documentation

DtReflectedSensorFieldOfView::DtReflectedSensorFieldOfView ( DtExerciseConn *  conn,
const DtEntityIdentifier &  id 
)

Constructor.

virtual DtReflectedSensorFieldOfView::~DtReflectedSensorFieldOfView ( )
overridevirtual

Destructor.

DtReflectedSensorFieldOfView::DtReflectedSensorFieldOfView ( const DtReflectedSensorFieldOfView &  orig)
private

copy constructor – not implemented

DtReflectedSensorFieldOfView::DtReflectedSensorFieldOfView ( DtHlaObject *  obj,
DtExerciseConn *  exConn 
)

Constructor.

virtual DtReflectedSensorFieldOfView::~DtReflectedSensorFieldOfView ( )
overridevirtual

Destructor.

DtReflectedSensorFieldOfView::DtReflectedSensorFieldOfView ( const DtReflectedSensorFieldOfView &  orig)
protected

Copy Constructor not implemented.

Member Function Documentation

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

assignment operator – not implemented

DtSensorFieldOfViewStateRepository * DtReflectedSensorFieldOfView::sensorFieldOfViewStateRep ( ) const
inlinevirtual

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

References myStateRep.

Referenced by sfovsr().

DtSensorFieldOfViewStateRepository * DtReflectedSensorFieldOfView::sfovsr ( ) const
inlinevirtual
virtual DtStateRepository* DtReflectedSensorFieldOfView::stateRep ( ) const
overridevirtual

Returns a pointer to the StateRepository - through which you can inspect current state information. Implementation for abstract base class. Calls asr().

virtual DtSensorFieldOfViewDecoder* DtReflectedSensorFieldOfView::decoder ( )
virtual

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

virtual const DtObjectId& DtReflectedSensorFieldOfView::id ( ) const
virtual

Get the objects's id. (For DIS, DtObjectId is DtEntityIdentifier).

virtual const DtGlobalObjectDesignator& DtReflectedSensorFieldOfView::globalId ( ) const
overridevirtual

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

virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::next ( ) const
virtual

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

virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::prev ( ) const
virtual
virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::wrapNext ( ) const
virtual

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

virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::wrapPrev ( ) const
virtual
virtual void DtReflectedSensorFieldOfView::addPostUpdateCallback ( DtSensorFieldOfViewCallbackFunction  cb,
void *  userData 
)
virtual

Entity state callback registration/deregistration.

virtual void DtReflectedSensorFieldOfView::removePostUpdateCallback ( DtSensorFieldOfViewCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedSensorFieldOfView::setHashKey ( const DtString &  uniqueVal)
virtual

Sets the hash key from a unique string value.

virtual const DtBaseHashKey& DtReflectedSensorFieldOfView::hashKey ( ) const
overridevirtual

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

virtual DtString DtReflectedSensorFieldOfView::idString ( ) const
overridevirtual

Get a string identification of this object.

virtual void DtReflectedSensorFieldOfView::processStateMessage ( const DtStateMsg &  msg)
overridevirtual

Implementation for abstract base class.

virtual void DtReflectedSensorFieldOfView::processSensorFieldOfViewState ( const DtAimableSystemPdu &  pdu)
virtual

Process an state PDU. Also calls down to base class processStateMessage().

static void DtReflectedSensorFieldOfView::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

static DtStateRepCreator DtReflectedSensorFieldOfView::stateRepCreator ( void  )
static
virtual DtSensorFieldOfViewStateRepository* DtReflectedSensorFieldOfView::sensorFieldOfViewStateRep ( ) const
virtual

Returns the SensorFieldOfView's state repository.

virtual DtSensorFieldOfViewStateRepository* DtReflectedSensorFieldOfView::sfovsr ( ) const
virtual

Shorter version of sensorFieldOfViewStateRep.

virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::next ( ) const
virtual

Returns the next reflected SensorFieldOfView in the DtReflectedSensorFieldOfViewList.

virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::prev ( ) const
virtual

Returns the previous reflected SensorFieldOfView in the DtReflectedSensorFieldOfViewList.

virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::wrapNext ( ) const
virtual

Returns the next reflected SensorFieldOfView. Will cycle back to the first remote SensorFieldOfView in the DtReflectedSensorFieldOfViewList.

virtual DtReflectedSensorFieldOfView* DtReflectedSensorFieldOfView::wrapPrev ( ) const
virtual

Returns the previous reflected SensorFieldOfView. Will cycle back to the first remote SensorFieldOfView in the DtReflectedSensorFieldOfViewList.

virtual void DtReflectedSensorFieldOfView::addPostUpdateCallback ( DtSensorFieldOfViewCallbackFunction  cb,
void *  userData 
)
virtual

Add a callback that is called when the DtReflectedSensorFieldOfView is updated.

virtual void DtReflectedSensorFieldOfView::removePostUpdateCallback ( DtSensorFieldOfViewCallbackFunction  cb,
void *  userData 
)
virtual

Remove the callback that is called when the DtReflectedSensorFieldOfView is updated.

static DtStateRepCreator DtReflectedSensorFieldOfView::setStateRepCreator ( DtStateRepCreator  creator)
static

Set the function to be called for creating state repositories.

DtReflectedSensorFieldOfView& DtReflectedSensorFieldOfView::operator= ( const DtReflectedSensorFieldOfView &  orig)
protected

Assignment operator not implemented.

Member Data Documentation

static DtStateRepCreator DtReflectedSensorFieldOfView::theStateRepCreator
staticprotected

The function called to create state repositories.

DtStringHashKey DtReflectedSensorFieldOfView::myHashKey
protected
DtEntityIdentifier DtReflectedSensorFieldOfView::myId
protected
DtSensorFieldOfViewStateRepository* DtReflectedSensorFieldOfView::myStateRep
protected
DtSensorFieldOfViewDecoder* DtReflectedSensorFieldOfView::myDecoder
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)