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

Contains the DtBreachObjectDecoder class declaration. More...

Go to the source code of this file.

Classes

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

Macros

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

Detailed Description

Contains the DtBreachObjectDecoder class declaration.

Macro Definition Documentation

#define DtDECLARE_BREACH_OBJ_ATTR_DECODER (   attrName)    DtDECLARE_ATTR_DECODER( DtLinearObjectRepository, attrName )

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

#define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
attrName, netType, inspector, (netType) )
#define DtDEFINE_SIMPLE_BREACH_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)