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

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

Go to the source code of this file.

Classes

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

Macros

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

This file provides a declaration of the class DtCraterObjectEncoder.

Macro Definition Documentation

#define DtDECLARE_CRATER_OBJ_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(DtPointObjectRepository, attrName)

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

#define DtDECLARE_CRATER_OBJ_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(DtPointObjectRepository, attrName)

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

#define DtDEFINE_SIMPLE_CRATER_OBJ_ATTR_CHECKER (   attrName,
  inspector 
)
Value:
attrName, inspector)
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
Instances of DtCraterObjectEncoder are used to encode crater object state messages from a state repos...
Definition: craterObjectEncoder.h:34
static const xmlChar * attrName
Definition: xmlFedTags.h:116
#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_CRATER_OBJ_ATTR_ENCODER (   attrName,
  netType,
  inspector 
)
Value:
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:235
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
Instances of DtCraterObjectEncoder are used to encode crater object state messages from a state repos...
Definition: craterObjectEncoder.h:34
static const xmlChar * attrName
Definition: xmlFedTags.h:116

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 Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)