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

Go to the source code of this file.

Classes

class  DtSearchLightDecoder
 

Macros

#define DtDECLARE_SEARCH_LIGHT_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER(DtSearchLightStateRepository, attrName)
 
#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
 
#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER(attrName, netType, inspector)
 

Detailed Description

Contains the DtSearchLightDecoder class declaration.

Macro Definition Documentation

#define DtDECLARE_SEARCH_LIGHT_ATTR_DECODER (   attrName)    DtDECLARE_ATTR_DECODER(DtSearchLightStateRepository, attrName)

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

#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
attrName, netType, mutator, castExpr)
Instances of DtSearchLightDecoder encode data from DtSearchLightStateRepository objects to the net st...
Definition: searchLightDecoderDIS.h:24
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 decoder functions (members of a derived DtHlaStateDecoder that decode individual attributes). The simple decoding is just to convert the value pulled out of the ahvps to a host type using the cast expression castExpr, and pass it to the mutator function.

#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
attrName, netType, inspector, (netType))
#define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDe...
Definition: searchLightDecoderHLA.h:73

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)