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

Instances of DtSearchLightDecoder encode data from DtSearchLightStateRepository objects to the net structures to be sent to the network.

Instances of DtSearchLightDecoder are used to decode data from the network into DtSearchLightStateRepository objects.

Inheritance diagram for DtSearchLightDecoder:
Inheritance graph
[legend]

Public Member Functions

 DtSearchLightDecoder (DtExerciseConn *conn)
 
 DtSearchLightDecoder (const DtSearchLightDecoder &orig)
 
virtual ~DtSearchLightDecoder () override
 
DtSearchLightDecoder & operator= (const DtSearchLightDecoder &orig)
 
 DtCLONE_DECODER (DtSearchLightDecoder)
 
virtual void decode (const DtAimableSystemPdu &pdu, DtSearchLightStateRepository *stateRep)
 
 DtSearchLightDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
virtual ~DtSearchLightDecoder () override
 
 DtSearchLightDecoder (const DtSearchLightDecoder &orig)
 
DtSearchLightDecoder & operator= (const DtSearchLightDecoder &orig)
 
- Public Member Functions inherited from DtAimableSystemDecoder
 DtAimableSystemDecoder (DtExerciseConn *conn)
 
 DtAimableSystemDecoder (const DtAimableSystemDecoder &orig)
 
virtual ~DtAimableSystemDecoder () override
 
DtAimableSystemDecoder & operator= (const DtAimableSystemDecoder &orig)
 
 DtCLONE_DECODER (DtAimableSystemDecoder)
 
virtual void decode (const DtAimableSystemPdu &pdu, DtAimableSystemRepository *stateRep)
 
 DtAimableSystemDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
virtual ~DtAimableSystemDecoder () override
 
 DtAimableSystemDecoder (const DtAimableSystemDecoder &orig)
 
DtAimableSystemDecoder & operator= (const DtAimableSystemDecoder &orig)
 

Static Public Member Functions

static DtSearchLightDecoder * create (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
- Static Public Member Functions inherited from DtAimableSystemDecoder
static DtHlaStateDecoder * create (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 

Protected Member Functions

void addMyDecoders ()
 
 DtDECLARE_SEARCH_LIGHT_ATTR_DECODER (Intensity)
 
 DtDECLARE_SEARCH_LIGHT_ATTR_DECODER (LightType)
 
 DtDECLARE_SEARCH_LIGHT_ATTR_DECODER (Range)
 
 DtDECLARE_SEARCH_LIGHT_ATTR_DECODER (ConeAngle)
 
 DtDECLARE_SEARCH_LIGHT_ATTR_DECODER (Color)
 
- Protected Member Functions inherited from DtAimableSystemDecoder
void addMyDecoders ()
 
 DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER (TrackingMode)
 
 DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER (TargetRelativePosition)
 
 DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER (TargetedLocation)
 
 DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER (TargetedEntity)
 
 DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER (RelativeOrientation)
 
 DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER (Id)
 
 DtDECLARE_AIMABLE_SYSTEM_ATTR_DECODER (PowerOn)
 

Constructor & Destructor Documentation

DtSearchLightDecoder::DtSearchLightDecoder ( DtExerciseConn *  conn)

Default constructor.

DtSearchLightDecoder::DtSearchLightDecoder ( const DtSearchLightDecoder &  orig)

Copy constructor.

virtual DtSearchLightDecoder::~DtSearchLightDecoder ( )
overridevirtual

Destructor.

DtSearchLightDecoder::DtSearchLightDecoder ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)

default constructor

virtual DtSearchLightDecoder::~DtSearchLightDecoder ( )
overridevirtual

destructor.

DtSearchLightDecoder::DtSearchLightDecoder ( const DtSearchLightDecoder &  orig)

copy constructor.

Member Function Documentation

DtSearchLightDecoder& DtSearchLightDecoder::operator= ( const DtSearchLightDecoder &  orig)

Assignment operator.

DtSearchLightDecoder::DtCLONE_DECODER ( DtSearchLightDecoder  )
virtual void DtSearchLightDecoder::decode ( const DtAimableSystemPdu &  pdu,
DtSearchLightStateRepository *  stateRep 
)
virtual

Decode an SearchLight state PDU and update a state repository.

DtSearchLightDecoder& DtSearchLightDecoder::operator= ( const DtSearchLightDecoder &  orig)

assignment operator.

static DtSearchLightDecoder* DtSearchLightDecoder::create ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)
static

Creates an instance of DtSearchLightDecoder.

void DtSearchLightDecoder::addMyDecoders ( )
protected

Add decoding functions for the attributes. Note: Non-virtual since meant to be called from constructors to add decoders.

DtSearchLightDecoder::DtDECLARE_SEARCH_LIGHT_ATTR_DECODER ( Intensity  )
protected

Static decode<AttributeName> member functions.

DtSearchLightDecoder::DtDECLARE_SEARCH_LIGHT_ATTR_DECODER ( LightType  )
protected
DtSearchLightDecoder::DtDECLARE_SEARCH_LIGHT_ATTR_DECODER ( Range  )
protected
DtSearchLightDecoder::DtDECLARE_SEARCH_LIGHT_ATTR_DECODER ( ConeAngle  )
protected
DtSearchLightDecoder::DtDECLARE_SEARCH_LIGHT_ATTR_DECODER ( Color  )
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)