VR-Link API Documentation for HLA 1.3
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
DtJammerBeamDecoder Class Reference

class DtJammerBeamDecoder: More...

+ Inheritance diagram for DtJammerBeamDecoder:
+ Collaboration diagram for DtJammerBeamDecoder:

Public Member Functions

 DtJammerBeamDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 default constructor
virtual ~DtJammerBeamDecoder ()
 destructor
 DtJammerBeamDecoder (const DtJammerBeamDecoder &orig)
 copy constructor
DtJammerBeamDecoderoperator= (const DtJammerBeamDecoder &orig)
 assignment operator
- Public Member Functions inherited from DtBaseEmitterBeamDecoder
 DtBaseEmitterBeamDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 default constructor
virtual ~DtBaseEmitterBeamDecoder ()
 destructor
 DtBaseEmitterBeamDecoder (const DtBaseEmitterBeamDecoder &orig)
 copy constructor
DtBaseEmitterBeamDecoderoperator= (const DtBaseEmitterBeamDecoder &orig)
 assignment operator
- Public Member Functions inherited from DtHlaStateDecoder
 DtHlaStateDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 constructor
virtual ~DtHlaStateDecoder ()
 destructor
 DtHlaStateDecoder (const DtHlaStateDecoder &orig)
 copy constructor
DtHlaStateDecoderoperator= (const DtHlaStateDecoder &orig)
 assignment operator
DtAttributeDecoder addDecoder (RTI::AttributeHandle h, DtAttributeDecoder func)
 Add/Remove a decoding function for the attribute specified by handle.
DtAttributeDecoder removeDecoder (RTI::AttributeHandle h)
DtAttributeDecoder addDecoder (char *attrName, DtAttributeDecoder func, bool complain=true)
 Add/Remove a decoding function for the attribute specified by name.
DtAttributeDecoder removeDecoder (char *attrName, bool complain=true)
virtual DtAttributeDecoder decoder (const RTI::AttributeHandle &handle) const
 Get the attribute decoder for the specified handle.
virtual void decode (const DtStateMsg &msg, DtStateRepository *stateRep) const
 Decode the state message into the state repository.
virtual RTI::ObjectClassHandle objectClassHandle () const
 Get the object's class handle.
virtual DtHlaStateDecoderclone () const
 Returns a new-ed clone of this object.
virtual DtHlaStateDecoderclone (DtObjClassDesc *classDesc) const
 Returns a new-ed clone of this object which corresponds to the class description classDesc.

Static Public Member Functions

static DtHlaStateDecodercreate (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 Create a DtBaseEntityDecoder. Caller is responsible for deletion.

Protected Member Functions

void addMyDecoders ()
 Add decoding functions for the attributes.
 DtDECLARE_JAMMERBEAM_ATTR_DECODER (JammingModeSequence)
 Static decode<AttributeName> member functions.
 DtDECLARE_JAMMERBEAM_ATTR_DECODER (JammedObjectIDs)
 DtDECLARE_JAMMERBEAM_ATTR_DECODER (JammedObjectIdentifiers)
 DtDECLARE_JAMMERBEAM_ATTR_DECODER (HighDensityJam)
 DtDECLARE_JAMMERBEAM_ATTR_DECODER (JammedObjectIdentifiers_RPR20)
- Protected Member Functions inherited from DtBaseEmitterBeamDecoder
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamParameterIndex)
 Static decode<AttributeName> member functions.
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (FrequencyRange)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (PulseWidth)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (SweepSynch)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (AzimuthCenter)
 For versions <= 0.8.
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (AzimuthSweep)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamFunction)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamID)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (ElevationCenter)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (ElevationSweep)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (EmittingSystemID)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (ERP)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (EntityID)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (EventID)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (Frequency)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (PRF)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamAzimuthCenter)
 For versions > 0.8.
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamAzimuthSweep)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamFunctionCode)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamIdentifier)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamElevationCenter)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (BeamElevationSweep)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (EmitterSystemIdentifier)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (EffectiveRadiatedPower)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (EventIdentifier)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (EmissionFrequency)
 DtDECLARE_EMITTERBEAM_ATTR_DECODER (PulseRepetitionFrequency)
- Protected Member Functions inherited from DtHlaStateDecoder
virtual void decodeAttribute (DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &attrs, unsigned long pairSetIndex) const
 Decode the attribute at the specified index in the attribute handle pair set.
virtual void copyDecFuncs (const DtHlaStateDecoder &orig)

Additional Inherited Members

- Public Types inherited from DtHlaStateDecoder
typedef void(* DtAttributeDecoder )(DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &avlist, unsigned long pairSetIndex)
 Attribute decoding function declaration.
- Protected Types inherited from DtHlaStateDecoder
typedef std::map
< RTI::AttributeHandle,
DtAttributeDecoder
AttributeHandleDecoderMap
typedef std::map
< RTI::AttributeHandle, bool > 
AttributeHandleBoolMap
- Protected Attributes inherited from DtHlaStateDecoder
DtExerciseConnmyExConn
DtObjClassDescmyClassDesc
RTI::ObjectClassHandle myHandle
AttributeHandleDecoderMap myDecoderList
 myDecoderList is a map of decoders for each attribute registered to this state.

Detailed Description

class DtJammerBeamDecoder:

Instances of DtJammerBeamDecoder are are used to decode jammer beam state messages into a state repository when in an HLA environment.

Constructor & Destructor Documentation

DtJammerBeamDecoder::DtJammerBeamDecoder ( DtExerciseConn exConn,
DtObjClassDesc classDesc 
)

default constructor

virtual DtJammerBeamDecoder::~DtJammerBeamDecoder ( )
virtual

destructor

DtJammerBeamDecoder::DtJammerBeamDecoder ( const DtJammerBeamDecoder orig)

copy constructor

Member Function Documentation

void DtJammerBeamDecoder::addMyDecoders ( )
protected

Add decoding functions for the attributes.

Note: Non-virtual, since meant to be called from constructors to add decoders.

Reimplemented from DtBaseEmitterBeamDecoder.

static DtHlaStateDecoder* DtJammerBeamDecoder::create ( DtExerciseConn exConn,
DtObjClassDesc classDesc 
)
static

Create a DtBaseEntityDecoder. Caller is responsible for deletion.

Reimplemented from DtBaseEmitterBeamDecoder.

DtJammerBeamDecoder::DtDECLARE_JAMMERBEAM_ATTR_DECODER ( JammingModeSequence  )
protected

Static decode<AttributeName> member functions.

DtJammerBeamDecoder::DtDECLARE_JAMMERBEAM_ATTR_DECODER ( JammedObjectIDs  )
protected
DtJammerBeamDecoder::DtDECLARE_JAMMERBEAM_ATTR_DECODER ( JammedObjectIdentifiers  )
protected
DtJammerBeamDecoder::DtDECLARE_JAMMERBEAM_ATTR_DECODER ( HighDensityJam  )
protected
DtJammerBeamDecoder::DtDECLARE_JAMMERBEAM_ATTR_DECODER ( JammedObjectIdentifiers_RPR20  )
protected
DtJammerBeamDecoder& DtJammerBeamDecoder::operator= ( const DtJammerBeamDecoder orig)

assignment operator


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

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)