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

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

Go to the source code of this file.

Classes

class  DtSovietIffDecoder
 
class  DtMAKRPR3_SovietIffTransponderDecoder
 
class  DtMAKRPR3_SovietIffInterrogatorDecoder
 

Macros

#define DtDECLARE_SOVIET_IFF_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER(DtIffStateRepository, attrName)
 
#define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_DECODER(attrName, netType, inspector)
 
#define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
 
#define DtDEFINE_SIMPLE_SOVIET_ATTR_DECODER_WITH_CAST_AND_PARAM(decClass, stateRepClass, attrName, netType, mutator, param, castExpr)
 
#define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_DECODER_WITH_CAST_AND_PARAM(attrName, netType, mutator, param, castExpr)
 
#define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_TRANSPONDER_ATTR_DECODER(attrName, netType, mutator)
 
#define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_INTERROGATOR_ATTR_DECODER(attrName, netType, mutator)
 

Detailed Description

This file provides a declaration of the class DtSovietIffDecoder.

Macro Definition Documentation

#define DtDECLARE_SOVIET_IFF_ATTR_DECODER (   attrName)    DtDECLARE_ATTR_DECODER(DtIffStateRepository, attrName)
#define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_INTERROGATOR_ATTR_DECODER (   attrName,
  netType,
  mutator 
)
Value:
attrName, netType, mutator)
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:39
#define DtDEFINE_SIMPLE_ATTR_DECODER(decClass, stateRepClass, attrName, netType, mutator)
Old name for DtDEFINE_SIMPLE_ATTR_DECODER_MUTATOR, kept for backwards compatibility.
Definition: hlaStateDecoder.h:405
Definition: sovietIffDecoder.h:150
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_MAKRPR3_SOVIET_IFF_TRANSPONDER_ATTR_DECODER (   attrName,
  netType,
  mutator 
)
Value:
attrName, netType, mutator, (netType))
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:39
static const xmlChar * attrName
Definition: xmlFedTags.h:117
Definition: sovietIffDecoder.h:117
#define DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST(decClass, stateRepClass, attrName, netType, mutator, castExpr)
Defines a "simple" attribute decoder.
Definition: hlaStateDecoder.h:291
#define DtDEFINE_SIMPLE_SOVIET_ATTR_DECODER_WITH_CAST_AND_PARAM (   decClass,
  stateRepClass,
  attrName,
  netType,
  mutator,
  param,
  castExpr 
)
Value:
void decClass::decode##attrName( \
stateRepClass* stateRep, \
const RTI::AttributeHandleValuePairSet& attrs, \
int index) \
{ \
RTI::ULong length = 0; \
netType* netValPtr = (netType*)attributeData(attrs, index, length, sizeof(netType), #attrName); \
if (netValPtr) \
{ \
if ( !stateRep->soviet() ) \
{ \
stateRep->setModeEnabled(DtSoviet, true); \
} \
stateRep->soviet()->mutator(param, castExpr *netValPtr); \
} \
}
Definition: disEnums.h:2098
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
attrName, netType, inspector, (netType))
#define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
Definition: sovietIffDecoder.h:24
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:
attrName, netType, mutator, castExpr)
Instances of DtSovietStateRepository are used to store state data for IFFData.Soviet objects...
Definition: iffSovietStateRepository.h:29
Definition: sovietIffDecoder.h:54
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
#define DtDEFINE_SIMPLE_SOVIET_IFF_ATTR_DECODER_WITH_CAST_AND_PARAM (   attrName,
  netType,
  mutator,
  param,
  castExpr 
)
Value:
DtSovietIffDecoder, DtIffStateRepository, attrName, netType, mutator, param, castExpr)
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:39
Definition: sovietIffDecoder.h:54
#define DtDEFINE_SIMPLE_SOVIET_ATTR_DECODER_WITH_CAST_AND_PARAM(decClass, stateRepClass, attrName, netType, mutator, param, castExpr)
Definition: sovietIffDecoder.h:30
static const xmlChar * attrName
Definition: xmlFedTags.h:117

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)