VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
examples
testObj
testObj/testDec.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
#if DtHLA
6
7
#pragma once
8
9
#include <
vl/hlaStateDecoder.h
>
10
12
class
DT_DLL_VL
TestStateRepository
;
13
16
20
#define DtDECLARE_TEST_ATTR_DECODER(attrName) \
21
DtDECLARE_ATTR_DECODER(TestStateRepository, attrName)
22
30
#define DtDEFINE_SIMPLE_TEST_ATTR_DECODER( \
31
attrName, netType, inspector) \
32
DtDEFINE_SIMPLE_TEST_ATTR_DECODER_WITH_CAST( \
33
attrName, netType, inspector, (netType))
34
40
#define DtDEFINE_SIMPLE_TEST_ATTR_DECODER_WITH_CAST( \
41
attrName, netType, mutator, castExpr) \
42
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
43
TestDecoder, TestStateRepository, \
44
attrName, netType, mutator, castExpr)
45
47
class
TestDecoder
:
public
DtHlaStateDecoder
48
{
49
public
:
50
52
TestDecoder
(
53
DtExerciseConn
* exConn,
54
DtObjClassDesc
* classDesc);
55
57
virtual
~TestDecoder
();
58
59
protected
:
60
65
66
DtDECLARE_TEST_ATTR_DECODER
(
Number
);
67
DtDECLARE_TEST_ATTR_DECODER
(Vector);
68
};
69
70
#endif
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)