MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
examples
matrexTspiFomMapper
matrexTspiPlatformObjEncoder.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1992-2012 VT MAK
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
11
12
#if DtHLA
13
14
#include "
matrexTspiFomMapperDefines.h
"
15
16
#include <vl/hlaStateEncoder.h>
17
18
// Forward declaration of DtEntityStateRepository class.
19
class
DT_DLL_MATREX_TSPI_FOM_MAP
DtEntityStateRepository
;
20
21
namespace
M_TSPI_FM
22
{
23
26
#define DtDECLARE_PlatformObjEncoder_ATTR_CHECKER(attrName) \
27
DtDECLARE_ATTR_CHECKER(DtEntityStateRepository, attrName)
28
30
#define DtDECLARE_PlatformObjEncoder_ATTR_ENCODER(attrName) \
31
DtDECLARE_ATTR_ENCODER(DtEntityStateRepository, attrName)
32
34
class
DT_DLL_MATREX_TSPI_FOM_MAP
PlatformObjEncoder
:
public
DtHlaStateEncoder
35
{
36
public
:
37
38
// Constructor
39
PlatformObjEncoder
(
DtExerciseConn
* exConn, DtObjClassDesc* classDesc);
40
41
// Destructor
42
virtual
~
PlatformObjEncoder
();
43
44
protected
:
45
53
54
DtDECLARE_PlatformObjEncoder_ATTR_ENCODER
(Timestamp);
55
DtDECLARE_PlatformObjEncoder_ATTR_CHECKER
(Timestamp);
56
DtDECLARE_PlatformObjEncoder_ATTR_ENCODER
(StateVector);
57
DtDECLARE_PlatformObjEncoder_ATTR_CHECKER
(StateVector);
58
DtDECLARE_PlatformObjEncoder_ATTR_ENCODER
(DRAlgorithm);
59
DtDECLARE_PlatformObjEncoder_ATTR_CHECKER
(DRAlgorithm);
61
63
static
time_t systemTime();
64
};
65
71
#define DEFINE_SIMPLE_PlatformObjEncoder_ATTR_ENCODER( \
72
attrName, netType, inspector) \
73
DtDEFINE_SIMPLE_ATTR_ENCODER(PlatformObjEncoder, \
74
DtEntityStateRepository, \
75
attrName, netType, inspector)
76
82
#define DEFINE_SIMPLE_PlatformObjEncoder_ATTR_CHECKER( \
83
attrName, inspector) \
84
DtDEFINE_SIMPLE_ATTR_CHECKER(PlatformObjEncoder, \
85
DtEntityStateRepository, \
86
attrName, inspector)
87
88
}
89
#endif
Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)