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

Go to the source code of this file.

Classes

class  DtSearchLightEncoder
 

Macros

#define DtDECLARE_SEARCH_LIGHT_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER(DtSearchLightStateRepository, attrName)
 
#define DtDECLARE_SEARCH_LIGHT_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER(DtSearchLightStateRepository, attrName)
 
#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_ENCODER(attrName, netType, inspector)
 
#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_CHECKER(attrName, inspector)
 

Detailed Description

Contains the DtSearchLightEncoder class declaration.

Macro Definition Documentation

#define DtDECLARE_SEARCH_LIGHT_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(DtSearchLightStateRepository, attrName)

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

#define DtDECLARE_SEARCH_LIGHT_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(DtSearchLightStateRepository, attrName)

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

#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_ENCODER (   attrName,
  netType,
  inspector 
)
Value:
DtDEFINE_SIMPLE_ATTR_ENCODER(DtSearchLightEncoder, \
attrName, netType, inspector)
Instances of DtSearchLightEncoder encode data from DtSearchLightStateRepository objects to the net st...
Definition: searchLightEncoderDIS.h:26
Instances of DtSearchLightStateRepository are used to store state data for HLAobjectRoot.EmbeddedSystem.AimableSystem.SearchLight objects.
Definition: searchLightStateRepository.h:18

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_SEARCH_LIGHT_ATTR_CHECKER (   attrName,
  inspector 
)
Value:
DtDEFINE_SIMPLE_ATTR_CHECKER(DtSearchLightEncoder, \
attrName, inspector)
Instances of DtSearchLightEncoder encode data from DtSearchLightStateRepository objects to the net st...
Definition: searchLightEncoderDIS.h:26
Instances of DtSearchLightStateRepository are used to store state data for HLAobjectRoot.EmbeddedSystem.AimableSystem.SearchLight objects.
Definition: searchLightStateRepository.h:18

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)