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

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

Go to the source code of this file.

Classes

class  DtPhysicalEntityDecoder
 class DtPhysicalEntityDecoder: More...
 

Macros

#define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
 These macros are used to define simple attribute decoder functions (members of a derived DtHlaStateDecoder that decode individual attributes). More...
 
#define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER(attrName, netType, mutator)
 
#define DtDEFINE_LIGHT_ATTR_DECODER(decClass, attrName, arg1)
 

Detailed Description

This file provides a declaration of the class DtPhysicalEntityDecoder.

Macro Definition Documentation

#define DtDEFINE_LIGHT_ATTR_DECODER (   decClass,
  attrName,
  arg1 
)
Value:
decClass, DtEntityStateRepository, attrName, DtNetBoolean, setLightState, arg1, (bool) (DtU32))
#define DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST_AND_PARAM(decClass, stateRepClass, attrName, netType, mutator, param, castExpr)
Defines a "simple" attribute decoder.
Definition: hlaStateDecoder.h:358
DtNetU8 DtNetBoolean
Unsigned network-order 8-bit value for storage of boolean data.
Definition: vlNetTypes.h:39
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41
static const xmlChar * attrName
Definition: xmlFedTags.h:117
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
#define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER (   attrName,
  netType,
  mutator 
)
Value:
attrName, netType, mutator)
class DtPhysicalEntityDecoder:
Definition: physicalEntityDecoder.h:32
#define DtDEFINE_SIMPLE_ATTR_DECODER_MUTATOR(decClass, stateRepClass, attrName, netType, mutator)
Defines a "simple" attribute decoder.
Definition: hlaStateDecoder.h:324
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_PHYS_ENTITY_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:
attrName, netType, mutator, castExpr)
class DtPhysicalEntityDecoder:
Definition: physicalEntityDecoder.h:32
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41
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:291

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.


Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)