VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
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 
56  DtExerciseConn* exConn,
57  DtObjClassDesc* classDesc);
58 
60  virtual ~TestEncoder();
61 
62 protected:
63 
71 
76 
79 };
80 
81 #endif
82 
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This class encodes a Test interaction from a TestInteraction object.
Definition: testInter/testEnc.h:43
This file contains the declaration of DtHlaStateEncoder.
DtDECLARE_TEST_ATTR_CHECKER(Number)
Individual attribute checking functions - one for each attribute.
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
TestEncoder(DtExerciseConn *exConn, DtInterClassDesc *classDesc)
Constructor.
An instance of DtObjClassDesc is a &quot;class descriptor&quot; for an HLA Object class.
Definition: objClassDesc13.h:41
DtDECLARE_TEST_ATTR_ENCODER(Number)
Individual attribute encoding functions - one for each attribute.
virtual ~TestEncoder()
Destructor.
Define the TestStateRepository class.
Definition: testSR.h:16
Definition: envEnum.h:23

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)