VR-Link API Documentation for HLA 1.3
Classes | Defines
hBaseEntDec.h File Reference

This file provides a declaration of the class DtBaseEntityDecoder. More...

Go to the source code of this file.

Classes

class  DtBaseEntityDecoder
 Instances of DtBaseEntityDecoder are used to decode a base entity state message into a state repository in an HLA (as opposed to DIS) environment. More...

Defines

#define DtDECLARE_ENTITY_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName)
 This is used to declare attribute decoding functions which are members of the class.
#define DtDECLARE_AGGREGATE_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER(DtAggregateStateRepository, attrName)
 This is used to declare attribute decoding functions which are members of the class.
#define DtDECLARE_BASE_ENTITY_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER(DtBaseEntityStateRepository, attrName)
 This is used to declare attribute decoding functions which are members of the class.
#define DtDEFINE_SIMPLE_BASE_ENTITY_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
 These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDecoder that decode individual attributes).
#define DtDEFINE_SIMPLE_BASE_ENTITY_ATTR_DECODER(attrName, netType, inspector)

Detailed Description

This file provides a declaration of the class DtBaseEntityDecoder.


Define Documentation

This is used to declare attribute decoding functions which are members of the class.

This is used to declare attribute decoding functions which are members of the class.

This is used to declare attribute decoding functions which are members of the class.

#define DtDEFINE_SIMPLE_BASE_ENTITY_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
#define DtDEFINE_SIMPLE_BASE_ENTITY_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:

These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDecoder that decode individual attributes).

The simple decoding is just to convert the value pulled out of the ahvps to a host type using the cast expression castExpr, and pass it to the mutator function.


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)