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

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

Go to the source code of this file.

Classes

class  DtMunitionDecoder
 class DtMunitionDecoder: More...
 

Macros

#define DtDEFINE_SIMPLE_MUN_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_MUN_ATTR_DECODER(attrName, netType, inspector)
 

Detailed Description

This file provides a declaration of the class DtMunitionDecoder.

Macro Definition Documentation

#define DtDEFINE_SIMPLE_MUN_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
attrName, netType, inspector, (netType))
#define DtDEFINE_SIMPLE_MUN_ENTITY_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDe...
Definition: munitionEntityDecoder.h:68
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_MUN_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:
attrName, netType, mutator, castExpr)
class DtMunitionDecoder:
Definition: munitionDecoder.h:26
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:36
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST(decClass, stateRepClass, attrName, netType, mutator, castExpr)
Defines a "simple" attribute decoder.
Definition: hlaStateDecoder.h:279

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 Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)