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. More...
 
#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). More...
 
#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)
These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDe...
Definition: breachObjectDecoder.h:61
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:
attrName, netType, mutator, castExpr )
Instances of DtBreachObjectDecoder are used to decode breach object state messages for a state reposi...
Definition: breachObjectDecoder.h:27
static const xmlChar * attrName
Definition: xmlFedTags.h:117
Instances of DtLinearObjectRepository are used to maintain state information needed by linear object ...
Definition: linearObjectRepository.h:49
#define DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST(decClass, stateRepClass, attrName, netType, mutator, castExpr)
Defines a "simple" attribute decoder.
Definition: hlaStateDecoder.h:291

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 Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)