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

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

Go to the source code of this file.

Classes

class  DtRRBIffEncoder
 

Macros

#define DtDECLARE_RRB_IFF_ATTR_ENCODER(attrName)   DtDECLARE_ATTR_ENCODER(DtIffStateRepository, attrName)
 This one can be used to declare the attribute decoding functions, which are static members of DtNatoIffEncoder. More...
 
#define DtDECLARE_RRB_IFF_ATTR_CHECKER(attrName)   DtDECLARE_ATTR_CHECKER(DtIffStateRepository, attrName)
 
#define DtDEFINE_SIMPLE_RRB_IFF_ATTR_CHECKER(attrName, inspector)
 This macro is used to define simple attribute checking functions (members of a derived DtHlaStateEncoder that check whether a particular attribute's update condition has been met. More...
 
#define DtDEFINE_SIMPLE_RRB_IFF_ATTR_ENCODER(attrName, netType, mutator)
 This one can be used to define a slightly-less-simple attribute decoder that requires an explicit cast to convert from the FOM representation to the native representation expected by the mutator. More...
 

Detailed Description

This file provides a declaration of the class DtRRBIffEncoder.

Macro Definition Documentation

#define DtDECLARE_RRB_IFF_ATTR_CHECKER (   attrName)    DtDECLARE_ATTR_CHECKER(DtIffStateRepository, attrName)
#define DtDECLARE_RRB_IFF_ATTR_ENCODER (   attrName)    DtDECLARE_ATTR_ENCODER(DtIffStateRepository, attrName)

This one can be used to declare the attribute decoding functions, which are static members of DtNatoIffEncoder.

This uses a more general macro defined in hStateEncoder.h.

#define DtDEFINE_SIMPLE_RRB_IFF_ATTR_CHECKER (   attrName,
  inspector 
)
Value:
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
static const xmlChar * attrName
Definition: xmlFedTags.h:117
#define DtDEFINE_SIMPLE_ATTR_CHECKER(encClass, stateRepClass, attrName, inspector)
This macro is used to define simple attribute checker functions (members of a derived DtHlaStateEncod...
Definition: hlaStateEncoder.h:255
Definition: rrbIffEncoder.h:45

This macro is used to define simple attribute checking functions (members of a derived DtHlaStateEncoder that check whether a particular attribute's update condition has been met.

The "simple" implementation is to just compare the values returned by the two StateReps' inspector functions to see if they differ.

#define DtDEFINE_SIMPLE_RRB_IFF_ATTR_ENCODER (   attrName,
  netType,
  mutator 
)
Value:
attrName, netType, mutator)
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
#define DtDEFINE_SIMPLE_ATTR_ENCODER(encClass, stateRepClass, attrName, netType, inspector)
These macros are used to define simple attribute encoder functions (members of a derived DtHlaStateEn...
Definition: hlaStateEncoder.h:229
static const xmlChar * attrName
Definition: xmlFedTags.h:117
Definition: rrbIffEncoder.h:45

This one can be used to define a slightly-less-simple attribute decoder that requires an explicit cast to convert from the FOM representation to the native representation expected by the mutator.

Arguments are the same as the macro above, with a fourth argument which is a cast expression to be used to cast the "net" type to the type expected by the mutator.


Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)