MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tsoFedAmb.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** RCSfile: objMgr.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtTsoEventFedAmb_H_
13 #define DtTsoEventFedAmb_H_
14 
15 #ifdef DtTIME
16 
17 #ifdef DtIFSPEC1516
18 #include "fedAmbWrap1516.h"
19 #elif defined(DtIFSPEC1516E)
20 #include "fedAmbWrap1516e.h"
21 #else
22 #include "fedAmbWrap.h"
23 #endif
24 #include "timeMgr.h"
25 
26 class DtTimeMgr;
27 
30 
31 #ifdef DtIFSPEC1516
32 
33 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper
34 {
35 public:
36  DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr);
37 
38  virtual ~DtTsoEventFedAmb() throw ( );
39 
40 protected:
41 
42  DtTimeMgr* myTimeMgr;
43 
44 public:
45 
47 
48  virtual
49  void
51  (rti1516::ObjectInstanceHandle theObject,
52  rti1516::AttributeHandleValueMap const & theAttributeValues,
53  rti1516::VariableLengthData const & theUserSuppliedTag,
54  rti1516::OrderType sentOrder,
55  rti1516::TransportationType theType,
56  rti1516::LogicalTime const & theTime,
57  rti1516::OrderType receivedOrder,
58  rti1516::MessageRetractionHandle theHandle)
59  throw (rti1516::ObjectInstanceNotKnown,
60  rti1516::AttributeNotRecognized,
61  rti1516::AttributeNotSubscribed,
62  rti1516::InvalidLogicalTime,
63  rti1516::FederateInternalError);
64 
65  virtual
66  void
68  (rti1516::ObjectInstanceHandle theObject,
69  rti1516::AttributeHandleValueMap const & theAttributeValues,
70  rti1516::VariableLengthData const & theUserSuppliedTag,
71  rti1516::OrderType sentOrder,
72  rti1516::TransportationType theType,
73  rti1516::LogicalTime const & theTime,
74  rti1516::OrderType receivedOrder,
75  rti1516::MessageRetractionHandle theHandle,
76  rti1516::RegionHandleSet const & theSentRegionHandleSet)
77  throw (rti1516::ObjectInstanceNotKnown,
78  rti1516::AttributeNotRecognized,
79  rti1516::AttributeNotSubscribed,
80  rti1516::InvalidLogicalTime,
81  rti1516::FederateInternalError);
82 
84 
85  virtual
86  void
88  (rti1516::InteractionClassHandle theInteraction,
89  rti1516::ParameterHandleValueMap const & theParameterValues,
90  rti1516::VariableLengthData const & theUserSuppliedTag,
91  rti1516::OrderType sentOrder,
92  rti1516::TransportationType theType,
93  rti1516::LogicalTime const & theTime,
94  rti1516::OrderType receivedOrder,
95  rti1516::MessageRetractionHandle theHandle)
96  throw (rti1516::InteractionClassNotRecognized,
97  rti1516::InteractionParameterNotRecognized,
98  rti1516::InteractionClassNotSubscribed,
99  rti1516::InvalidLogicalTime,
100  rti1516::FederateInternalError);
101 
102  virtual
103  void
105  (rti1516::InteractionClassHandle theInteraction,
106  rti1516::ParameterHandleValueMap const & theParameterValues,
107  rti1516::VariableLengthData const & theUserSuppliedTag,
108  rti1516::OrderType sentOrder,
109  rti1516::TransportationType theType,
110  rti1516::LogicalTime const & theTime,
111  rti1516::OrderType receivedOrder,
112  rti1516::MessageRetractionHandle theHandle,
113  rti1516::RegionHandleSet const & theSentRegionHandleSet)
114  throw (rti1516::InteractionClassNotRecognized,
115  rti1516::InteractionParameterNotRecognized,
116  rti1516::InteractionClassNotSubscribed,
117  rti1516::InvalidLogicalTime,
118  rti1516::FederateInternalError);
119 
121 
122  virtual
123  void
124  removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
125  rti1516::VariableLengthData const & theUserSuppliedTag,
126  rti1516::OrderType sentOrder,
127  rti1516::LogicalTime const & theTime,
128  rti1516::OrderType receivedOrder,
129  rti1516::MessageRetractionHandle theHandle)
130  throw (rti1516::ObjectInstanceNotKnown,
131  rti1516::InvalidLogicalTime,
132  rti1516::FederateInternalError);
133 
134 
135 };
136 
137 #elif defined(DtIFSPEC1516E)
138 
139 
140 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper
141 {
142 public:
143  DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr);
144 
145  virtual ~DtTsoEventFedAmb() throw ( );
146 
147  virtual void reflectAttributeValues (
148  ObjectInstanceHandle theObject,
149  AttributeHandleValueMap const & theAttributeValues,
150  VariableLengthData const & theUserSuppliedTag,
151  OrderType sentOrder,
152  TransportationType theType,
153  LogicalTime const & theTime,
154  OrderType receivedOrder,
155  SupplementalReflectInfo theReflectInfo)
156  throw (FederateInternalError);
157 
158  virtual void reflectAttributeValues (
159  ObjectInstanceHandle theObject,
160  AttributeHandleValueMap const & theAttributeValues,
161  VariableLengthData const & theUserSuppliedTag,
162  OrderType sentOrder,
163  TransportationType theType,
164  LogicalTime const & theTime,
165  OrderType receivedOrder,
166  MessageRetractionHandle theHandle,
167  SupplementalReflectInfo theReflectInfo)
168  throw (FederateInternalError);
169 
170  virtual void receiveInteraction (
171  InteractionClassHandle theInteraction,
172  ParameterHandleValueMap const & theParameterValues,
173  VariableLengthData const & theUserSuppliedTag,
174  OrderType sentOrder,
175  TransportationType theType,
176  LogicalTime const & theTime,
177  OrderType receivedOrder,
178  SupplementalReceiveInfo theReceiveInfo)
179  throw (FederateInternalError);
180 
181  virtual void receiveInteraction (
182  InteractionClassHandle theInteraction,
183  ParameterHandleValueMap const & theParameterValues,
184  VariableLengthData const & theUserSuppliedTag,
185  OrderType sentOrder,
186  TransportationType theType,
187  LogicalTime const & theTime,
188  OrderType receivedOrder,
189  MessageRetractionHandle theHandle,
190  SupplementalReceiveInfo theReceiveInfo)
191  throw (FederateInternalError);
192 
193  virtual void removeObjectInstance (
194  ObjectInstanceHandle theObject,
195  VariableLengthData const & theUserSuppliedTag,
196  OrderType sentOrder,
197  LogicalTime const & theTime,
198  OrderType receivedOrder,
199  SupplementalRemoveInfo theRemoveInfo)
200  throw (FederateInternalError);
201 
202  virtual void removeObjectInstance (
203  ObjectInstanceHandle theObject,
204  VariableLengthData const & theUserSuppliedTag,
205  OrderType sentOrder,
206  LogicalTime const & theTime,
207  OrderType receivedOrder,
208  MessageRetractionHandle theHandle,
209  SupplementalRemoveInfo theRemoveInfo)
210  throw (FederateInternalError);
211 
212 protected:
213 
214  DtTimeMgr* myTimeMgr;
215 
216 public:
217 
218 
219 
220 
221 };
222 
223 
224 #else
225 
226 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper
227 {
228 public:
229  DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr);
230 
231  virtual ~DtTsoEventFedAmb() throw (RTI::FederateInternalError);
232 
233 protected:
234 
235  DtTimeMgr* myTimeMgr;
236 
237 public:
238 
239  virtual void reflectAttributeValues (
240  RTI::ObjectHandle theObject,
241  const RTI::AttributeHandleValuePairSet& theAttributes,
242  const RTI::FedTime& theTime,
243  const char *theTag,
244  RTI::EventRetractionHandle theHandle)
245  throw (
246  RTI::ObjectNotKnown,
247  RTI::AttributeNotKnown,
248  RTI::FederateOwnsAttributes,
249  RTI::InvalidFederationTime,
250  RTI::FederateInternalError);
251 
253  virtual void receiveInteraction (
254  RTI::InteractionClassHandle theInteraction,
255  const RTI::ParameterHandleValuePairSet& theParameters,
256  const RTI::FedTime& theTime,
257  const char *theTag,
258  RTI::EventRetractionHandle theHandle)
259  throw (
260  RTI::InteractionClassNotKnown,
261  RTI::InteractionParameterNotKnown,
262  RTI::InvalidFederationTime,
263  RTI::FederateInternalError);
264 
265  virtual void removeObjectInstance (
266  RTI::ObjectHandle theObject,
267  const RTI::FedTime& theTime,
268  const char *theTag,
269  RTI::EventRetractionHandle theHandle)
270  throw (
271  RTI::ObjectNotKnown,
272  RTI::InvalidFederationTime,
273  RTI::FederateInternalError);
274 
275 };
276 
277 #endif
278 #endif
279 #endif
Handle ObjectHandle
Definition: RTItypes13.h:116
ULong InteractionClassHandle
Definition: RTItypes13.h:106
virtual void receiveInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.7
virtual void removeObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.9
struct EventRetractionHandle_s EventRetractionHandle
Definition: RTItypes13.h:525
virtual void reflectAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.5
virtual Boolean throw(SpecifiedSaveLabelDoesNotExist, ConcurrentAccessAttempted, RTIinternalError)
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
OrderingHandle OrderType
Definition: RTItypes13.h:128

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)