MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros | Variables
matrexTspiPlatformObjDecoder.h File Reference

Class PlatformObjDecoder The decoder for the MATREX Platform object class TSPI attributes. More...

Go to the source code of this file.

Classes

class  M_TSPI_FM::PlatformObjDecoder
 The decoder for the MATREX Platform object class TSPI attributes. More...

Namespaces

namespace  M_TSPI_FM

Macros

#define DtDECLARE_PlatformObjDecoder_ATTR_DECODER(attrName)   DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName)
 We define several macros that can be helpful in defining the class, and the individual decoding functions.
#define DEFINE_SIMPLE_PlatformObjDecoder_ATTR_DECODER_WITH_CAST(attrName, netType, mutator, castExpr)
 Macros used to define simple attribute decoder functions (members of a derived DtHlaStateDecoder that decode individual attributes).
#define DEFINE_SIMPLE_PlatformObjDecoder_ATTR_DECODER(attrName, netType, inspector)

Variables

class DT_DLL_MATREX_TSPI_FOM_MAP DtEntityStateRepository

Detailed Description

Class PlatformObjDecoder The decoder for the MATREX Platform object class TSPI attributes.

Macro Definition Documentation

#define DEFINE_SIMPLE_PlatformObjDecoder_ATTR_DECODER (   attrName,
  netType,
  inspector 
)
Value:
attrName, netType, inspector, (netType))
#define DEFINE_SIMPLE_PlatformObjDecoder_ATTR_DECODER_WITH_CAST (   attrName,
  netType,
  mutator,
  castExpr 
)
Value:
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
PlatformObjDecoder, DtEntityStateRepository, \
attrName, netType, mutator, castExpr)

Macros 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.

#define DtDECLARE_PlatformObjDecoder_ATTR_DECODER (   attrName)    DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName)

We define several macros that can be helpful in defining the class, and the individual decoding functions.

Macro used to declare the attribute decoding functions, that are static members of PlatformObjDecoder. Just pass the name of the attribute. It uses a more general macro defined in hStateDecoder.h.

Variable Documentation


Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (www.mak.com)