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

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

Go to the source code of this file.

Classes

class  DtSensorEncoder
 class DtSensorEncoder: More...

Macros

#define DtDEFINE_SIMPLE_SENSOR_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_SENSOR_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.
#define DtDEFINE_SENSOR_LIGHT_ATTR_CHECKER(attrName, arg1)   DtDEFINE_LIGHT_ATTR_CHECKER(DtSensorEncoder, attrName, arg1);
#define DtDEFINE_SENSOR_LIGHT_ATTR_ENCODER(attrName, arg1)   DtDEFINE_LIGHT_ATTR_ENCODER(DtSensorEncoder, attrName, arg1);

Detailed Description

This file provides a declaration of the class DtSensorEncoder.

Macro Definition Documentation

#define DtDEFINE_SENSOR_LIGHT_ATTR_CHECKER (   attrName,
  arg1 
)    DtDEFINE_LIGHT_ATTR_CHECKER(DtSensorEncoder, attrName, arg1);
#define DtDEFINE_SENSOR_LIGHT_ATTR_ENCODER (   attrName,
  arg1 
)    DtDEFINE_LIGHT_ATTR_ENCODER(DtSensorEncoder, attrName, arg1);
#define DtDEFINE_SIMPLE_SENSOR_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_SENSOR_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)