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
DtReflectedLaserLight Class Reference

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

Inheritance diagram for DtReflectedLaserLight:
Inheritance graph
[legend]

Public Types

typedef
DtLaserLightStateRepository *(* 
DtStateRepCreator )()
 
typedef
DtLaserLightStateRepository *(* 
DtStateRepCreator )()
 

Public Member Functions

 DtReflectedLaserLight (DtExerciseConn *conn, const DtEntityIdentifier &id)
 
virtual ~DtReflectedLaserLight () override
 
virtual
DtLaserLightStateRepository * 
laserLightStateRep () const
 
virtual
DtLaserLightStateRepository * 
llsr () const
 
virtual DtStateRepository * stateRep () const override
 
virtual DtLaserLightDecoder * decoder ()
 
virtual const DtObjectId & id () const
 
virtual const
DtGlobalObjectDesignator & 
globalId () const override
 
virtual DtReflectedLaserLight * next () const
 
virtual DtReflectedLaserLight * prev () const
 
virtual DtReflectedLaserLight * wrapNext () const
 
virtual DtReflectedLaserLight * wrapPrev () const
 
virtual void addPostUpdateCallback (DtLaserLightCallbackFunction cb, void *userData)
 
virtual void removePostUpdateCallback (DtLaserLightCallbackFunction 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 processLaserLightState (const DtAimableSystemPdu &pdu)
 
 DtReflectedLaserLight (DtHlaObject *obj, DtExerciseConn *exConn)
 
virtual ~DtReflectedLaserLight () override
 
virtual
DtLaserLightStateRepository * 
laserLightStateRep () const
 
virtual
DtLaserLightStateRepository * 
llsr () const
 
virtual DtReflectedLaserLight * next () const
 
virtual DtReflectedLaserLight * prev () const
 
virtual DtReflectedLaserLight * wrapNext () const
 
virtual DtReflectedLaserLight * wrapPrev () const
 
virtual void addPostUpdateCallback (DtLaserLightCallbackFunction cb, void *userData)
 
virtual void removePostUpdateCallback (DtLaserLightCallbackFunction cb, void *userData)
 

Static Public Member Functions

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

Protected Member Functions

 DtReflectedLaserLight (const DtReflectedLaserLight &orig)
 
DtReflectedLaserLight & operator= (const DtReflectedLaserLight &orig)
 

Protected Attributes

DtStringHashKey myHashKey
 
DtEntityIdentifier myId
 
DtLaserLightStateRepository * myStateRep
 
DtLaserLightDecoder * myDecoder
 

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 

Private Member Functions

 DtReflectedLaserLight (const DtReflectedLaserLight &orig)
 
DtReflectedLaserLight & operator= (const DtReflectedLaserLight &orig)
 

Member Typedef Documentation

typedef DtLaserLightStateRepository*(* DtReflectedLaserLight::DtStateRepCreator)()

Function prototype for functions that create DtLaserLightStateRepository.

typedef DtLaserLightStateRepository*(* DtReflectedLaserLight::DtStateRepCreator)()

Function prototype for functions that create a DtLaserLightStateRepository.

Constructor & Destructor Documentation

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

Constructor.

virtual DtReflectedLaserLight::~DtReflectedLaserLight ( )
overridevirtual

Destructor.

DtReflectedLaserLight::DtReflectedLaserLight ( const DtReflectedLaserLight &  orig)
private

copy constructor – not implemented

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

Constructor.

virtual DtReflectedLaserLight::~DtReflectedLaserLight ( )
overridevirtual

Destructor.

DtReflectedLaserLight::DtReflectedLaserLight ( const DtReflectedLaserLight &  orig)
protected

Copy Constructor not implemented.

Member Function Documentation

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

assignment operator – not implemented

DtLaserLightStateRepository * DtReflectedLaserLight::laserLightStateRep ( ) const
inlinevirtual

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

References myStateRep.

Referenced by llsr().

DtLaserLightStateRepository * DtReflectedLaserLight::llsr ( ) const
inlinevirtual

Synonym for laserLightStateRep().

References laserLightStateRep().

virtual DtStateRepository* DtReflectedLaserLight::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 DtLaserLightDecoder* DtReflectedLaserLight::decoder ( )
virtual

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

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

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

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

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

virtual DtReflectedLaserLight* DtReflectedLaserLight::next ( ) const
virtual

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

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

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

virtual DtReflectedLaserLight* DtReflectedLaserLight::wrapPrev ( ) const
virtual
virtual void DtReflectedLaserLight::addPostUpdateCallback ( DtLaserLightCallbackFunction  cb,
void *  userData 
)
virtual

Entity state callback registration/deregistration.

virtual void DtReflectedLaserLight::removePostUpdateCallback ( DtLaserLightCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedLaserLight::setHashKey ( const DtString &  uniqueVal)
virtual

Sets the hash key from a unique string value.

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

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

virtual DtString DtReflectedLaserLight::idString ( ) const
overridevirtual

Get a string identification of this object.

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

Implementation for abstract base class.

virtual void DtReflectedLaserLight::processLaserLightState ( const DtAimableSystemPdu &  pdu)
virtual

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

static void DtReflectedLaserLight::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

static DtStateRepCreator DtReflectedLaserLight::stateRepCreator ( void  )
static
virtual DtLaserLightStateRepository* DtReflectedLaserLight::laserLightStateRep ( ) const
virtual

Returns the LaserLight's state repository.

virtual DtLaserLightStateRepository* DtReflectedLaserLight::llsr ( ) const
virtual

Shorter version of laserLightStateRep.

virtual DtReflectedLaserLight* DtReflectedLaserLight::next ( ) const
virtual

Returns the next reflected LaserLight in the DtReflectedLaserLightList.

virtual DtReflectedLaserLight* DtReflectedLaserLight::prev ( ) const
virtual

Returns the previous reflected LaserLight in the DtReflectedLaserLightList.

virtual DtReflectedLaserLight* DtReflectedLaserLight::wrapNext ( ) const
virtual

Returns the next reflected LaserLight. Will cycle back to the first remote LaserLight in the DtReflectedLaserLightList.

virtual DtReflectedLaserLight* DtReflectedLaserLight::wrapPrev ( ) const
virtual

Returns the previous reflected LaserLight. Will cycle back to the first remote LaserLight in the DtReflectedLaserLightList.

virtual void DtReflectedLaserLight::addPostUpdateCallback ( DtLaserLightCallbackFunction  cb,
void *  userData 
)
virtual

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

virtual void DtReflectedLaserLight::removePostUpdateCallback ( DtLaserLightCallbackFunction  cb,
void *  userData 
)
virtual

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

static DtStateRepCreator DtReflectedLaserLight::setStateRepCreator ( DtStateRepCreator  creator)
static

Set the function to be called for creating state repositories.

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

Assignment operator not implemented.

Member Data Documentation

static DtStateRepCreator DtReflectedLaserLight::theStateRepCreator
staticprotected

The function called to create state repositories.

DtStringHashKey DtReflectedLaserLight::myHashKey
protected
DtEntityIdentifier DtReflectedLaserLight::myId
protected
DtLaserLightStateRepository* DtReflectedLaserLight::myStateRep
protected

Referenced by laserLightStateRep().

DtLaserLightDecoder* DtReflectedLaserLight::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)