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

Contains the HLA DtArealObjectEncoder class declaration. More...

Go to the source code of this file.

Classes

class  DtArealObjectEncoder
 Instances of DtArealObjectEncoder are used to encode areal object state messages from a state repository in an HLA environment. More...

Macros

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

Detailed Description

Contains the HLA DtArealObjectEncoder class declaration.

Macro Definition Documentation

#define DtDECLARE_AREAL_OBJ_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER( DtArealObjectRepository, attrName )

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

#define DtDECLARE_AREAL_OBJ_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER( DtArealObjectRepository, attrName )

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

#define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_CHECKER (   attrName,
  inspector 
)
Value:

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_AREAL_OBJ_ATTR_ENCODER (   attrName,
  netType,
  inspector 
)
Value:

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 Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)