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

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

Go to the source code of this file.

Classes

class  DtEnvironmentProcessDecoder
 class DtEnvironmentProcessDecoder: More...
 

Macros

#define DtDECLARE_ENVPROC_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER(DtEnvironmentProcessRepository, attrName)
 Macro for declaring attribute decoding fns which are members of the class. More...
 
#define DtDEFINE_SIMPLE_ENVPROC_ATTR_DECODER(attrName, netType, mutator)
 This macro is used to define a simple attribute decoder function (members of a derived DtHlaStateDecoder that decode individual attributes). More...
 
#define DtDEFINE_SIMPLE_ENVPROC_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
 

Detailed Description

This file provides a declaration of the class DtEnvironmentProcessDecoder.

Macro Definition Documentation

#define DtDECLARE_ENVPROC_ATTR_DECODER (   attrName)    DtDECLARE_ATTR_DECODER(DtEnvironmentProcessRepository, attrName)

Macro for declaring attribute decoding fns which are members of the class.

#define DtDEFINE_SIMPLE_ENVPROC_ATTR_DECODER (   attrName,
  netType,
  mutator 
)
Value:
attrName, netType, mutator, (netType))
Instances of DtEnvironmentProcessRepository are used to store state information for environmental pro...
Definition: environmentProcessRepository.h:27
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST(decClass, stateRepClass, attrName, netType, mutator, castExpr)
Defines a "simple" attribute decoder.
Definition: hlaStateDecoder.h:279
class DtEnvironmentProcessDecoder:
Definition: environmentProcessDecoderHLA.h:36

This macro is used to define a simple attribute decoder function (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 a cast to netType, and pass it to the mutator function.

#define DtDEFINE_SIMPLE_ENVPROC_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:
attrName, netType, mutator, castExpr)
Instances of DtEnvironmentProcessRepository are used to store state information for environmental pro...
Definition: environmentProcessRepository.h:27
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST(decClass, stateRepClass, attrName, netType, mutator, castExpr)
Defines a "simple" attribute decoder.
Definition: hlaStateDecoder.h:279
class DtEnvironmentProcessDecoder:
Definition: environmentProcessDecoderHLA.h:36

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)