VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
linearObjectTransaction.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 
7 #ifndef hLinObjTrans_H
8 #define hLinObjTrans_H
9 
10 #if DtHLA
11 
13 
16 #include "exhaustSmokeRecord.h"
18 
22 
25 
27 typedef void (*DtLinearObjectTransactionCb)
28  (DtLinearObjectTransaction* inter, void* usr);
29 
48 {
49 public:
50 
51  //default constructor
53 
54  //destructor
55  virtual ~DtLinearObjectTransaction();
56 
57  //copy constructor
59 
60  //assignment operator
62 
64  virtual void printData() const;
65 
67  virtual void printDataToStream(std::ostream& stream) const;
68 
72  virtual bool setNumOfBreachLinearSegments(int newNumber);
73  virtual int numOfBreachLinearSegments() const;
74 
75  virtual bool setBreachLinearSegment(
76  int index, const DtBreachableSegmentRecord& record);
77  virtual bool breachLinearSegment(
78  int index, DtBreachableSegmentRecord& record) const;
79 
83  virtual bool setNumOfBreachObjectSegments(int newNumber);
84  virtual int numOfBreachObjectSegments() const;
85 
86  virtual bool setBreachObjectSegment(
87  int index, const DtLinearSegmentRecord& record);
88  virtual bool breachObjectSegment(
89  int index, DtLinearSegmentRecord& record) const;
90 
91 
95  virtual bool setNumOfExhaustSmokeSegments(int newNumber);
96  virtual int numOfExhaustSmokeSegments() const;
97 
98  virtual bool setExhaustSmokeSegment(
99  int index, const DtExhaustSmokeRecord& record);
100  virtual bool exhaustSmokeSegment(
101  int index, DtExhaustSmokeRecord& record) const;
102 
103 
107  virtual bool setNumOfMinefldLaneMarkSegments(int newNumber);
108  virtual int numOfMinefldLaneMarkSegments() const;
109 
110  virtual bool setMinefldLaneMarkSegment(
111  int index, const DtMinefieldLaneMarkerRecord& record);
112  virtual bool minefldLaneMarkSegment(
113  int index, DtMinefieldLaneMarkerRecord& record) const;
114 
116  virtual const char* name() const;
117 
118 public:
119 
122  static DtInteraction* create();
123 
126  static void addCallback(DtExerciseConn* conn,
127  DtLinearObjectTransactionCb cb, void* usr,
128  DtDDMRegionSP region = DtDDMRegionSP());
129  static void removeCallback(DtExerciseConn* conn,
130  DtLinearObjectTransactionCb cb, void* usr,
131  DtDDMRegionSP region = DtDDMRegionSP());
132 
133 protected:
136 
139 
142 
145 
146 };
147 
148 #endif
149 #endif
150 

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)