VR-Link API Documentation for HLA 1.3
 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.
#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.
#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.

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:

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:

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 Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)