VR-Link API Documentation for HLA 1.3
hBreachObjEnc.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef hBreachObjEnc_H_
10 #define hBreachObjEnc_H_
11 
12 
13 #include "hEnvObjEnc.h"
14 
18 
20 
23 #define DtDECLARE_BREACH_OBJ_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtLinearObjectRepository, attrName)
25 
28 #define DtDECLARE_BREACH_OBJ_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtLinearObjectRepository, attrName)
30 
38 {
39 public:
40 
43  DtExerciseConn* exConn,
44  DtObjClassDesc* classDesc);
45 
47  virtual ~DtBreachObjectEncoder();
48 
51 
54 
55 public:
56 
58  static DtHlaStateEncoder* create(
59  DtExerciseConn* exConn,
60  DtObjClassDesc* classDesc);
61 
62 protected:
63 
64  DtDECLARE_BREACH_OBJ_ATTR_CHECKER(SegmentRecords);
65 
66  DtDECLARE_BREACH_OBJ_ATTR_ENCODER(SegmentRecords);
67 };
68 
74 #define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_ENCODER( \
75  attrName, netType, inspector) \
76  DtDEFINE_SIMPLE_ATTR_ENCODER(DtLinearObjectEncoder, \
77  DtLinearObjectRepository, \
78  attrName, netType, inspector)
79 
85 #define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_CHECKER( \
86  attrName, inspector) \
87  DtDEFINE_SIMPLE_ATTR_CHECKER(DtLinearObjectEncoder, \
88  DtLinearObjectRepository, \
89  attrName, inspector)
90 
91 #endif //hBreachObjEnc_H_
92 
93 #endif //DtHLA
94 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)