VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtEntityStateDecoder Class Reference

Instances of DtEntityStateDecoder are objects capable of decoding EntityState PDUs into a DtEntityStateRepository. More...

+ Inheritance diagram for DtEntityStateDecoder:
+ Collaboration diagram for DtEntityStateDecoder:

Public Member Functions

 DtEntityStateDecoder (DtExerciseConn *exConn)
 CTOR. More...
 
 DtEntityStateDecoder (const DtEntityStateDecoder &orig)
 Copy CTOR. More...
 
virtual ~DtEntityStateDecoder ()
 Virtual DTOR. More...
 
DtEntityStateDecoderoperator= (const DtEntityStateDecoder &orig)
 Assignment operator. More...
 
virtual void decode (const DtEntityStatePdu &pdu, DtEntityStateRepository *stateRep)
 Decode a PDU into an EntityStateRepository. More...
 
virtual void decodeEntityStateUpdate (const DtEntityStateUpdatePdu &pdu, DtEntityStateRepository *stateRep)
 Decode an Entity State Update PDU into an EntityStateRepository. More...
 
virtual void decodeSees (const DtSuppEmisEntStatePdu &pdu, DtEntityStateRepository *stateRep)
 Decode a SEES PDU into an EntityStateRepository. More...
 
virtual void decodeAttributeRecords (const DtPduWithAttributeRecordSets &pdu, DtStateRepository *stateRep)
 Decode the Attribute Records portion of a PDU into an EntityStateRepository in DIS 7. More...
 
virtual void decodeMakAttributeRecords (const DtAttributeRecordSet &recordSet, DtEntityStateRepository *stateRep)
 Decodes known attribute records into DtEntityStateRepository for easier access to data. More...
 
virtual void decodeNetnAttributeRecords (const DtPduWithAttributeRecordSets &pdu, const DtAttributeRecordSet &recordSet, DtEntityStateRepository *stateRep)
 Decodes known Net nattribute records into DtEntityStateRepository for easier access to data. More...
 
 DtCLONE_DECODER (DtEntityStateDecoder)
 
virtual void setDecodeDiGuyAttributes (bool enableDecode)
 Set/Get whether DI-Guy attributes are decoded. More...
 
virtual bool isDecodeDiGuyAttributes () const
 Set/Get whether DI-Guy attributes are decoded. More...
 
virtual void setDecodeNetnAttributes (bool enableDecode)
 Set/Get whether NETN attributes are decoded. More...
 
virtual bool isDecodeNetnAttributes () const
 Set/Get whether NETN attributes are decoded. More...
 
- Public Member Functions inherited from DtStateDecoder
 DtStateDecoder (DtExerciseConn *exConn)
 Constructor. More...
 
virtual ~DtStateDecoder ()
 Destructor. More...
 
 DtStateDecoder (const DtStateDecoder &orig)
 Copy constructor. More...
 
DtStateDecoderoperator= (const DtStateDecoder &orig)
 Assignment operator. More...
 
virtual DtPduDecoderclone () const =0
 clone. More...
 
virtual void decode (DtPdu *pdu, DtPduFactory *pduFactory=0)
 This is a dummy method for backwards compatibility with DIS decoders. More...
 
- Public Member Functions inherited from DtPduDecoder
virtual ~DtPduDecoder ()
 

Protected Member Functions

virtual void decodeAttachedParts (const DtEntityStatePdu &pdu, DtEntityStateRepository *stateRep)
 Decode the attached parts portion of a PDU into an EntityStateRepository. More...
 

Protected Attributes

bool myDecodeDiGuyAttributes
 
bool myDecodeNetnAttributes
 
- Protected Attributes inherited from DtStateDecoder
DtExerciseConnmyExConn
 

Detailed Description

Instances of DtEntityStateDecoder are objects capable of decoding EntityState PDUs into a DtEntityStateRepository.

Constructor & Destructor Documentation

DtEntityStateDecoder::DtEntityStateDecoder ( DtExerciseConn exConn)

CTOR.

DtEntityStateDecoder::DtEntityStateDecoder ( const DtEntityStateDecoder orig)

Copy CTOR.

virtual DtEntityStateDecoder::~DtEntityStateDecoder ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void DtEntityStateDecoder::decode ( const DtEntityStatePdu pdu,
DtEntityStateRepository stateRep 
)
virtual

Decode a PDU into an EntityStateRepository.

virtual void DtEntityStateDecoder::decodeAttachedParts ( const DtEntityStatePdu pdu,
DtEntityStateRepository stateRep 
)
protectedvirtual

Decode the attached parts portion of a PDU into an EntityStateRepository.

in DIS 7, this function also decodes the other types of Variable Parameters

virtual void DtEntityStateDecoder::decodeAttributeRecords ( const DtPduWithAttributeRecordSets pdu,
DtStateRepository stateRep 
)
virtual

Decode the Attribute Records portion of a PDU into an EntityStateRepository in DIS 7.

Reimplemented from DtStateDecoder.

virtual void DtEntityStateDecoder::decodeEntityStateUpdate ( const DtEntityStateUpdatePdu pdu,
DtEntityStateRepository stateRep 
)
virtual

Decode an Entity State Update PDU into an EntityStateRepository.

virtual void DtEntityStateDecoder::decodeMakAttributeRecords ( const DtAttributeRecordSet recordSet,
DtEntityStateRepository stateRep 
)
virtual

Decodes known attribute records into DtEntityStateRepository for easier access to data.

virtual void DtEntityStateDecoder::decodeNetnAttributeRecords ( const DtPduWithAttributeRecordSets pdu,
const DtAttributeRecordSet recordSet,
DtEntityStateRepository stateRep 
)
virtual

Decodes known Net nattribute records into DtEntityStateRepository for easier access to data.

virtual void DtEntityStateDecoder::decodeSees ( const DtSuppEmisEntStatePdu pdu,
DtEntityStateRepository stateRep 
)
virtual

Decode a SEES PDU into an EntityStateRepository.

DtEntityStateDecoder::DtCLONE_DECODER ( DtEntityStateDecoder  )
virtual bool DtEntityStateDecoder::isDecodeDiGuyAttributes ( ) const
virtual

Set/Get whether DI-Guy attributes are decoded.

virtual bool DtEntityStateDecoder::isDecodeNetnAttributes ( ) const
virtual

Set/Get whether NETN attributes are decoded.

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

Assignment operator.

virtual void DtEntityStateDecoder::setDecodeDiGuyAttributes ( bool  enableDecode)
virtual

Set/Get whether DI-Guy attributes are decoded.

virtual void DtEntityStateDecoder::setDecodeNetnAttributes ( bool  enableDecode)
virtual

Set/Get whether NETN attributes are decoded.

Member Data Documentation

bool DtEntityStateDecoder::myDecodeDiGuyAttributes
protected
bool DtEntityStateDecoder::myDecodeNetnAttributes
protected

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

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)