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

Go to the source code of this file.

Classes

class  TestEncoder
 This class encodes a Test interaction from a TestInteraction object. More...
 

Macros

#define DtDECLARE_TEST_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER(TestStateRepository, attrName)
 We define several macros that can be helpful in defining the class, and the individual encoding and checking functions. More...
 
#define DtDECLARE_TEST_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER(TestStateRepository, attrName)
 This is used to declare static member functions that perform attribute encoding. More...
 
#define DtDEFINE_SIMPLE_TEST_ATTR_ENCODER(attrName, netType, inspector)
 This macro is used to define simple attribute encoding functions (members of a derived DtHlaStateEncoder that encode individual attributes). More...
 
#define DtDEFINE_SIMPLE_TEST_ATTR_CHECKER(attrName, inspector)
 This macro is used to define simple attribute checking functions (members of a derived DtHlaStateEncoder that check whether a particular attribute's update condition has been met. More...
 

Macro Definition Documentation

#define DtDECLARE_TEST_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(TestStateRepository, attrName)

We define several macros that can be helpful in defining the class, and the individual encoding and checking functions.

This one is used to declare static member functions for determining whether or not an attribute's update condition has been met.

#define DtDECLARE_TEST_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(TestStateRepository, attrName)

This is used to declare static member functions that perform attribute encoding.

#define DtDEFINE_SIMPLE_TEST_ATTR_CHECKER (   attrName,
  inspector 
)
Value:
attrName, inspector)
This class encodes a Test interaction from a TestInteraction object.
Definition: testInter/testEnc.h:43
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
Define the TestStateRepository class.
Definition: testSR.h:16

This macro is used to define simple attribute checking functions (members of a derived DtHlaStateEncoder that check whether a particular attribute's update condition has been met.

The "simple" implementation is to just compare the values returned by the two StateReps' inspector functions to see if they differ.

#define DtDEFINE_SIMPLE_TEST_ATTR_ENCODER (   attrName,
  netType,
  inspector 
)
Value:
TestStateRepository, attrName, netType, inspector)
This class encodes a Test interaction from a TestInteraction object.
Definition: testInter/testEnc.h:43
#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:116
Define the TestStateRepository class.
Definition: testSR.h:16

This macro is used to define simple attribute encoding 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)