VR-Link API Documentation for HLA 1516
Public Member Functions | Static Protected Member Functions
DtF18EntityDecoder Class Reference

An example subclass of DtPlatformDecoder for use with DtF18EntityStateRep. More...

+ Inheritance diagram for DtF18EntityDecoder:
+ Collaboration diagram for DtF18EntityDecoder:

List of all members.

Public Member Functions

 DtF18EntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 Ctor.
virtual ~DtF18EntityDecoder ()
 destructor

Static Protected Member Functions

static void decodeSpecialF18Attribute (DtF18EntityStateRep *stateRep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex)
 all Encoder/Decoder classes need to be static.

Detailed Description

An example subclass of DtPlatformDecoder for use with DtF18EntityStateRep.

This example shows how to add one more attribute to an existing state repository.


Constructor & Destructor Documentation

DtF18EntityDecoder::DtF18EntityDecoder ( DtExerciseConn exConn,
DtObjClassDesc classDesc 
) [inline]
virtual DtF18EntityDecoder::~DtF18EntityDecoder ( ) [inline, virtual]

destructor


Member Function Documentation

static void DtF18EntityDecoder::decodeSpecialF18Attribute ( DtF18EntityStateRep stateRep,
const RTI::AttributeHandleValuePairSet attrs,
int  pairSetIndex 
) [inline, static, protected]

all Encoder/Decoder classes need to be static.

All Decoder classes need to have this function signature. Since they are not virtual you can not overload them.

References DtDecodingBuffer(), rti1516::CompatibleHandleValuePairSet< HandleType, MapType >::getValue(), rti1516::CompatibleHandleValuePairSet< HandleType, MapType >::getValueLength(), and DtF18EntityStateRep::setF18Attribute().

Referenced by DtF18EntityDecoder().


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)