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

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

Go to the source code of this file.

Classes

class  DtCulturalFeatureEncoder
 Instances of DtCulturalFeatureEncoder are used to encode a military entity's state repository into a state message in an HLA environment (for RPR FOM 1.0). More...
 

Macros

#define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_ENCODER(attrName, netType, inspector)
 This macro is used to define simple attribute encoder functions (members of a derived DtHlaStateEncoder that encode individual attributes). More...
 
#define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_CHECKER(attrName, inspector)
 This macro is used to define simple attribute checker functions (members of a derived DtHlaStateEncoder that check whether a particular attribute is out of date.) The simple implementation is to just compare the values returned by the two StateReps' inspector functions. More...
 
#define DtDEFINE_CULT_FEAT_LIGHT_ATTR_CHECKER(attrName, arg1)   DtDEFINE_LIGHT_ATTR_CHECKER(DtCulturalFeatureEncoder, attrName, arg1)
 
#define DtDEFINE_CULT_FEAT_LIGHT_ATTR_ENCODER(attrName, arg1)   DtDEFINE_LIGHT_ATTR_ENCODER(DtCulturalFeatureEncoder, attrName, arg1)
 

Detailed Description

This file provides a declaration of the class DtCulturalFeatureEncoder.

Macro Definition Documentation

#define DtDEFINE_CULT_FEAT_LIGHT_ATTR_CHECKER (   attrName,
  arg1 
)    DtDEFINE_LIGHT_ATTR_CHECKER(DtCulturalFeatureEncoder, attrName, arg1)
#define DtDEFINE_CULT_FEAT_LIGHT_ATTR_ENCODER (   attrName,
  arg1 
)    DtDEFINE_LIGHT_ATTR_ENCODER(DtCulturalFeatureEncoder, attrName, arg1)
#define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_CHECKER (   attrName,
  inspector 
)
Value:
attrName, inspector)
Instances of DtCulturalFeatureEncoder are used to encode a military entity's state repository into a ...
Definition: culturalFeatureEncoder.h:24
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_ATTR_CHECKER(encClass, stateRepClass, attrName, inspector)
This macro is used to define simple attribute checker functions (members of a derived DtHlaStateEncod...
Definition: hlaStateEncoder.h:261

This macro is used to define simple attribute checker functions (members of a derived DtHlaStateEncoder that check whether a particular attribute is out of date.) The simple implementation is to just compare the values returned by the two StateReps' inspector functions.

#define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_ENCODER (   attrName,
  netType,
  inspector 
)
Value:
attrName, netType, inspector)
Instances of DtCulturalFeatureEncoder are used to encode a military entity's state repository into a ...
Definition: culturalFeatureEncoder.h:24
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41
#define DtDEFINE_SIMPLE_ATTR_ENCODER(encClass, stateRepClass, attrName, netType, inspector)
These macros are used to define simple attribute encoder functions (members of a derived DtHlaStateEn...
Definition: hlaStateEncoder.h:235
static const xmlChar * attrName
Definition: xmlFedTags.h:117

This macro is used to define simple attribute encoder functions (members of a derived DtHlaStateEncoder that encode individual attributes).

The simple encoding is just to implicitly convert the value returned by the inspector to a netType, and add it to the ahvps.


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)