VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
breachPointObjectEncoder.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 breachPointObjectEncoder_H_
10 #define breachPointObjectEncoder_H_
11 
12 
13 #include "pointObjectEncoder.h"
14 
18 
20 
23 #define DtDECLARE_BREACH_POINT_OBJ_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtPointObjectRepository, attrName)
25 
28 #define DtDECLARE_BREACH_POINT_OBJ_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtPointObjectRepository, attrName)
30 
31 
35 class DT_DLL_VL DtBreachPointObjectEncoder : public DtPointObjectEncoder
36 {
37 public:
38 
40  DtBreachPointObjectEncoder(
41  DtExerciseConn* exConn,
42  DtObjClassDesc* classDesc);
43 
45  virtual ~DtBreachPointObjectEncoder();
46 
48  DtBreachPointObjectEncoder(const DtBreachPointObjectEncoder& orig);
49 
51  DtBreachPointObjectEncoder& operator=(const DtBreachPointObjectEncoder& orig);
52 
53 public:
54 
56  static DtHlaStateEncoder* create(
57  DtExerciseConn* exConn,
58  DtObjClassDesc* classDesc);
59 
60 protected:
61 
62  DtDECLARE_BREACH_POINT_OBJ_ATTR_CHECKER(BreachedStatus);
63 
64  DtDECLARE_BREACH_POINT_OBJ_ATTR_ENCODER(BreachedStatus);
65 };
66 
72 #define DtDEFINE_SIMPLE_BREACH_POINT_OBJ_ATTR_ENCODER( \
73  attrName, netType, inspector) \
74  DtDEFINE_SIMPLE_ATTR_ENCODER(DtBreachPointObjectEncoder, \
75  DtPointObjectRepository, \
76  attrName, netType, inspector)
77 
83 #define DtDEFINE_SIMPLE_BREACH_POINT_OBJ_ATTR_CHECKER( \
84  attrName, inspector) \
85  DtDEFINE_SIMPLE_ATTR_CHECKER(DtBreachPointObjectEncoder, \
86  DtPointObjectRepository, \
87  attrName, inspector)
88 
89 #endif //hBreachPtObjEnc_H_
90 
91 #endif //DtHLA
92 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides protocol independence for point object encoder includes.
DtPointObjectEncoder & operator=(const DtPointObjectEncoder &orig)
Assignment operator.
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
Provides encoding logic for the DtPointObjectStatePdu class.
Definition: pointObjectEncoderDIS.h:20

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)