VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
examples
testObj
testObj/testEnc.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
#pragma once
6
7
#if DtHLA
8
9
10
11
#include <
vl/hlaStateEncoder.h
>
12
14
class
DT_DLL_VL
TestStateRepository
;
15
18
21
#define DtDECLARE_TEST_ATTR_CHECKER(attrName) \
22
DtDECLARE_ATTR_CHECKER(TestStateRepository, attrName)
23
26
#define DtDECLARE_TEST_ATTR_ENCODER(attrName) \
27
DtDECLARE_ATTR_ENCODER(TestStateRepository, attrName)
28
33
#define DtDEFINE_SIMPLE_TEST_ATTR_ENCODER( \
34
attrName, netType, inspector) \
35
DtDEFINE_SIMPLE_ATTR_ENCODER(TestEncoder, \
36
TestStateRepository, attrName, netType, inspector)
37
43
#define DtDEFINE_SIMPLE_TEST_ATTR_CHECKER( \
44
attrName, inspector) \
45
DtDEFINE_SIMPLE_ATTR_CHECKER(TestEncoder, \
46
TestStateRepository, \
47
attrName, inspector)
48
50
class
TestEncoder
:
public
DtHlaStateEncoder
51
{
52
public
:
53
55
TestEncoder
(
56
DtExerciseConn
* exConn,
57
DtObjClassDesc
* classDesc);
58
60
virtual
~TestEncoder
();
61
62
protected
:
63
69
DtDECLARE_TEST_ATTR_ENCODER
(
Number
);
70
DtDECLARE_TEST_ATTR_ENCODER
(Vector);
71
76
77
DtDECLARE_TEST_ATTR_CHECKER
(
Number
);
78
DtDECLARE_TEST_ATTR_CHECKER
(Vector);
79
};
80
81
#endif
82
Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)