VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros
arealObjectDecoderHLA.h File Reference

Contains the HLA DtArealObjectDecoder class declaration. More...

Go to the source code of this file.

Classes

class  DtArealObjectDecoder
 Instances of DtArealObjectDecoder are used to decode areal object state messages for a state repository in and HLA environment. More...

Macros

#define DtDECLARE_AREAL_OBJ_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER( DtArealObjectRepository, attrName )
 This is used to declare attribute decoding functions which are members of the class.
#define DtDEFINE_SIMPLE_AREAL_OBJ_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_AREAL_OBJ_ATTR_DECODER(attrName, netType, inspector)

Detailed Description

Contains the HLA DtArealObjectDecoder class declaration.

Macro Definition Documentation

#define DtDECLARE_AREAL_OBJ_ATTR_DECODER (   attrName)    DtDECLARE_ATTR_DECODER( DtArealObjectRepository, attrName )

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

#define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
attrName, netType, inspector, (netType) )
#define DtDEFINE_SIMPLE_AREAL_OBJ_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 Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)