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

Contains the DtBreachableLinearObjectEncoder class declaration. More...

Go to the source code of this file.

Classes

class  DtBreachableLinearObjectEncoder
 Instances of DtBreachableLinearObjectEncoder are used to encode breachable linear object state messages from a state repository in an HLA environment. More...
 

Macros

#define DtDECLARE_BREACH_LINEAR_OBJ_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER( DtLinearObjectRepository, attrName )
 This is used to declare static member functions for determining whether or not an attribute needs to be encoded. More...
 
#define DtDECLARE_BREACH_LINEAR_OBJ_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER( DtLinearObjectRepository, attrName )
 This is used to declare attribute encoding functions which are members of the class. More...
 
#define DtDEFINE_SIMPLE_BREACH_LINEAR_OBJ_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_BREACH_LINEAR_OBJ_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...
 

Detailed Description

Contains the DtBreachableLinearObjectEncoder class declaration.

Macro Definition Documentation

#define DtDECLARE_BREACH_LINEAR_OBJ_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER( DtLinearObjectRepository, attrName )

This is used to declare static member functions for determining whether or not an attribute needs to be encoded.

#define DtDECLARE_BREACH_LINEAR_OBJ_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER( DtLinearObjectRepository, attrName )

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

#define DtDEFINE_SIMPLE_BREACH_LINEAR_OBJ_ATTR_CHECKER (   attrName,
  inspector 
)
Value:
DtDEFINE_SIMPLE_ATTR_CHECKER( DtLinearObjectEncoder, \
attrName, inspector )
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:255
Instances of DtLinearObjectRepository are used to maintain state information needed by linear object ...
Definition: linearObjectRepository.h:49

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_BREACH_LINEAR_OBJ_ATTR_ENCODER (   attrName,
  netType,
  inspector 
)
Value:
DtDEFINE_SIMPLE_ATTR_ENCODER( DtLinearObjectEncoder, \
attrName, netType, inspector )
#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:229
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

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 Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)