VR-Link API Documentation for HLA 1.3
Classes | Macros
baseEntityEncoder.h File Reference

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

Go to the source code of this file.

Classes

class  DtBaseEntityEncoder
 class DtBaseEntityEncoder: More...

Macros

#define DtDECLARE_ENTITY_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER(DtEntityStateRepository, attrName)
 This is used to declare static member functions for determining whether or not an attribute needs to be encoded.
#define DtDECLARE_ENTITY_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER(DtEntityStateRepository, attrName)
 This is used to declare attribute encoding functions which are members of the class.
#define DtDECLARE_AGGREGATE_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER(DtAggregateStateRepository, attrName)
 This is used to declare static member functions for determining whether or not an attribute needs to be encoded.
#define DtDECLARE_AGGREGATE_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER(DtAggregateStateRepository, attrName)
 This is used to declare attribute encoding functions which are members of the class.
#define DtDECLARE_BASE_ENTITY_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER(DtBaseEntityStateRepository, attrName)
 This is used to declare static member functions for determining whether or not an attribute needs to be encoded.
#define DtDECLARE_BASE_ENTITY_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER(DtBaseEntityStateRepository, attrName)
 This is used to declare attribute encoding functions which are members of the class.
#define DtDEFINE_SIMPLE_BASE_ENTITY_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_BASE_ENTITY_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

This file provides a declaration of the class DtBaseEntityEncoder.

Macro Definition Documentation

#define DtDECLARE_AGGREGATE_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(DtAggregateStateRepository, attrName)

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

#define DtDECLARE_AGGREGATE_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(DtAggregateStateRepository, attrName)

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

#define DtDECLARE_BASE_ENTITY_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(DtBaseEntityStateRepository, attrName)

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

#define DtDECLARE_BASE_ENTITY_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(DtBaseEntityStateRepository, attrName)

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

#define DtDECLARE_ENTITY_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(DtEntityStateRepository, attrName)

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

#define DtDECLARE_ENTITY_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(DtEntityStateRepository, attrName)

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

#define DtDEFINE_SIMPLE_BASE_ENTITY_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_BASE_ENTITY_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 Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)