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

Go to the source code of this file.

Classes

class  DtAggregateEntityEncoder
 class DtAggregateEntityEncoder: More...

Macros

#define DtDEFINE_SIMPLE_AGG_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_AGG_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.

Detailed Description

Macro Definition Documentation

#define DtDEFINE_SIMPLE_AGG_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_AGG_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 Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)