VR-Forces 4.7 Class Documentation
 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.SensorFieldOfView object reflected across a network. More...

Inheritance diagram for DtReflectedSensorFieldOfView:
Inheritance graph
[legend]

Public Types

typedef
DtSensorFieldOfViewStateRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create DtSensorFieldOfViewStateRepository.
typedef
DtSensorFieldOfViewStateRepository *(* 
DtStateRepCreator )()
 Function prototype for functions that create a DtSensorFieldOfViewStateRepository.

Public Member Functions

 DtReflectedSensorFieldOfView (DtExerciseConn *conn, const DtEntityIdentifier &id)
 Constructor.
virtual ~DtReflectedSensorFieldOfView ()
 Destructor.
virtual
DtSensorFieldOfViewStateRepository
sensorFieldOfViewStateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information.
virtual
DtSensorFieldOfViewStateRepository
ssr () const
 Synonym for sensorFieldOfViewStateRep().
virtual DtStateRepositorystateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information.
virtual
DtSensorFieldOfViewDecoder
decoder ()
 Returns a pointer to the Decoder being used to decode state messages into our SR.
virtual const DtObjectId & id () const
 Get the objects's id. (For DIS, DtObjectId is DtEntityIdentifier).
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the objects's global object designator - for DIS, it's the same as its DtEntityIdentifier.
virtual
DtReflectedSensorFieldOfView
next () const
 Get the next and previous elements in the reflected aggregate list.
virtual
DtReflectedSensorFieldOfView
prev () const
virtual
DtReflectedSensorFieldOfView
wrapNext () const
 Get the next and previous elements, wrap at the ends of the list.
virtual
DtReflectedSensorFieldOfView
wrapPrev () const
virtual void addPostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
 Entity state callback registration/deregistration.
virtual void removePostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
virtual void setHashKey (const DtString &uniqueVal)
 Sets the hash key from a unique string value.
virtual const DtBaseHashKeyhashKey () const
 Get a hash key for this object - Key must be set before use.
virtual DtString idString () const
 Get a string identification of this object.
virtual void processStateMessage (const DtStateMsg &msg)
 Implementation for abstract base class.
virtual void processSensorFieldOfViewState (const DtSensorFieldOfViewPdu &pdu)
 Process an state PDU.
 DtReflectedSensorFieldOfView (DtHlaObject *obj, DtExerciseConn *exConn)
 Constructor.
virtual ~DtReflectedSensorFieldOfView ()
 Destructor.
virtual
DtSensorFieldOfViewStateRepository
sensorFieldOfViewStateRep () const
 Returns the SensorFieldOfView's state repository.
virtual
DtSensorFieldOfViewStateRepository
ssr () const
 Shorter version of lifeformRep.
virtual
DtReflectedSensorFieldOfView
next () const
 Returns the next reflected SensorFieldOfView in the DtReflectedSensorFieldOfViewList.
virtual
DtReflectedSensorFieldOfView
prev () const
 Returns the previous reflected SensorFieldOfView in the DtReflectedSensorFieldOfViewList.
virtual
DtReflectedSensorFieldOfView
wrapNext () const
 Returns the next reflected SensorFieldOfView.
virtual
DtReflectedSensorFieldOfView
wrapPrev () const
 Returns the previous reflected SensorFieldOfView.
virtual void addPostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
 Add a callback that is called when the DtReflectedSensorFieldOfView is updated.
virtual void removePostUpdateCallback (DtSensorFieldOfViewCallbackFunction cb, void *userData)
 Remove the callback that is called when the DtReflectedSensorFieldOfView is updated.

Static Public Member Functions

static void setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs.
static DtStateRepCreator stateRepCreator (void)
static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Set the function to be called for creating state repositories.

Protected Member Functions

 DtReflectedSensorFieldOfView (const DtReflectedSensorFieldOfView &orig)
 Copy Constructor not implemented.
DtReflectedSensorFieldOfViewoperator= (const DtReflectedSensorFieldOfView &orig)
 Assignment operator not implemented.

Protected Attributes

DtStringHashKey myHashKey
DtEntityIdentifier myId
DtSensorFieldOfViewStateRepositorymyStateRep
DtSensorFieldOfViewDecodermyDecoder

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 The function called to create state repositories.

Private Member Functions

 DtReflectedSensorFieldOfView (const DtReflectedSensorFieldOfView &orig)
 copy constructor – not implemented
DtReflectedSensorFieldOfViewoperator= (const DtReflectedSensorFieldOfView &orig)
 assignment operator – not implemented

Detailed Description

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

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 ( )
virtual

Destructor.

DtReflectedSensorFieldOfView::DtReflectedSensorFieldOfView ( const DtReflectedSensorFieldOfView orig)
private

copy constructor – not implemented

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

Constructor.

virtual DtReflectedSensorFieldOfView::~DtReflectedSensorFieldOfView ( )
virtual

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.

DtSensorFieldOfViewStateRepository * DtReflectedSensorFieldOfView::ssr ( ) const
inlinevirtual

Synonym for sensorFieldOfViewStateRep().

References myStateRep.

virtual DtStateRepository* DtReflectedSensorFieldOfView::stateRep ( ) const
virtual

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
virtual

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
virtual

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

virtual DtString DtReflectedSensorFieldOfView::idString ( ) const
virtual

Get a string identification of this object.

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

Implementation for abstract base class.

virtual void DtReflectedSensorFieldOfView::processSensorFieldOfViewState ( const DtSensorFieldOfViewPdu 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::ssr ( ) const
virtual

Shorter version of lifeformRep.

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

Referenced by sensorFieldOfViewStateRep(), and ssr().

DtSensorFieldOfViewDecoder* DtReflectedSensorFieldOfView::myDecoder
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)