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.
 DtEntityStateDecoder (const DtEntityStateDecoder &orig)
 Copy CTOR.
virtual ~DtEntityStateDecoder ()
 Virtual DTOR.
DtEntityStateDecoderoperator= (const DtEntityStateDecoder &orig)
 Assignment operator.
virtual void decode (const DtEntityStatePdu &pdu, DtEntityStateRepository *stateRep)
 Decode a PDU into an EntityStateRepository.
virtual void decodeEntityStateUpdate (const DtEntityStateUpdatePdu &pdu, DtEntityStateRepository *stateRep)
 Decode an Entity State Update PDU into an EntityStateRepository.
virtual void decodeSees (const DtSuppEmisEntStatePdu &pdu, DtEntityStateRepository *stateRep)
 Decode a SEES PDU into an EntityStateRepository.
virtual void decodeAttributeRecords (const DtPduWithAttributeRecordSets &pdu, DtStateRepository *stateRep)
 Decode the Attribute Records portion of a PDU into an EntityStateRepository in DIS 7.
 DtCLONE_DECODER (DtEntityStateDecoder)
virtual void setDecodeDiGuyAttributes (bool enableDecode)
 Set/Get whether DI-Guy attributes are decoded.
virtual bool isDecodeDiGuyAttributes () const
 Set/Get whether DI-Guy attributes are decoded.
- Public Member Functions inherited from DtStateDecoder
 DtStateDecoder (DtExerciseConn *exConn)
 Constructor.
virtual ~DtStateDecoder ()
 Destructor.
 DtStateDecoder (const DtStateDecoder &orig)
 Copy constructor.
DtStateDecoderoperator= (const DtStateDecoder &orig)
 Assignment operator.
virtual DtPduDecoderclone () const =0
 clone.
virtual void decode (DtPdu *pdu, DtPduFactory *pduFactory=0)
 This is a dummy method for backwards compatibility with DIS decoders.
- 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.

Protected Attributes

bool myDecodeDiGuyAttributes
- 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::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.

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

Assignment operator.

virtual void DtEntityStateDecoder::setDecodeDiGuyAttributes ( bool  enableDecode)
virtual

Set/Get whether DI-Guy attributes are decoded.

Member Data Documentation

bool DtEntityStateDecoder::myDecodeDiGuyAttributes
protected

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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)