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

Contains the HLA DtPointObjectDecoder class declaration. More...

Go to the source code of this file.

Classes

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

Macros

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

Detailed Description

Contains the HLA DtPointObjectDecoder class declaration.

Macro Definition Documentation

#define DtDECLARE_POINT_OBJ_ATTR_DECODER (   attrName)    DtDECLARE_ATTR_DECODER(DtPointObjectRepository, attrName)

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

#define DtDEFINE_SIMPLE_POINT_OBJ_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
#define DtDEFINE_SIMPLE_POINT_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 Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)