VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros
sensorFieldOfViewEncoderHLA.h File Reference

Go to the source code of this file.

Classes

class  DtSensorFieldOfViewEncoder
 

Macros

#define DtDECLARE_SENSOR_FOV_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER(DtSensorFieldOfViewStateRepository, attrName)
 
#define DtDECLARE_SENSOR_FOV_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER(DtSensorFieldOfViewStateRepository, attrName)
 
#define DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_ENCODER(attrName, netType, inspector)
 
#define DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_CHECKER(attrName, inspector)
 

Detailed Description

Contains the DtSensorFieldOfViewEncoder class declaration.

Macro Definition Documentation

#define DtDECLARE_SENSOR_FOV_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(DtSensorFieldOfViewStateRepository, attrName)

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

#define DtDECLARE_SENSOR_FOV_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(DtSensorFieldOfViewStateRepository, attrName)

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

#define DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_ENCODER (   attrName,
  netType,
  inspector 
)
Value:
DtDEFINE_SIMPLE_ATTR_ENCODER(DtSensorFieldOfViewEncoder, \
attrName, netType, inspector)
Instances of DtSensorFieldOfViewStateRepository are used to store state data for HLAobjectRoot.EmbeddedSystem.AimableSystem.SensorFieldOfView objects.
Definition: sensorFieldOfViewStateRepository.h:18
Instances of DtSensorFieldOfViewEncoder encode data from DtSensorFieldOfViewStateRepository objects t...
Definition: sensorFieldOfViewEncoderDIS.h:24

These macros are used to define simple attribute encoder functions (members of a derived DtHlaStateEncoder that encode individual attributes). The simple encoding is just toimplicitly convert the value returned by the inspector to a netType, and add it to the ahvps.

#define DtDEFINE_SIMPLE_SENSOR_FOV_ATTR_CHECKER (   attrName,
  inspector 
)
Value:
DtDEFINE_SIMPLE_ATTR_CHECKER(DtSensorFieldOfViewEncoder, \
attrName, inspector)
Instances of DtSensorFieldOfViewStateRepository are used to store state data for HLAobjectRoot.EmbeddedSystem.AimableSystem.SensorFieldOfView objects.
Definition: sensorFieldOfViewStateRepository.h:18
Instances of DtSensorFieldOfViewEncoder encode data from DtSensorFieldOfViewStateRepository objects t...
Definition: sensorFieldOfViewEncoderDIS.h:24

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.


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)