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 #if defined(DtIFSPEC13)
18 #include "fedAmbWrap.h"
19 #elif defined(DtIFSPEC1516)
20 #include "fedAmbWrap1516.h"
21 #elif defined(DtIFSPEC1516E)
22 #include "fedAmbWrap1516e.h"
23 #else
24 #include "fedAmbWrap1516_2025.h"
25 #endif
26 #include "timeMgr.h"
27 
28 class DtTimeMgr;
29 
32 
33 #if defined(DtIFSPEC13)
34 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper
35 {
36 public:
37  DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr);
38 
39  virtual ~DtTsoEventFedAmb() throw (RTI::FederateInternalError);
40 
41 protected:
42 
43  DtTimeMgr* myTimeMgr;
44 
45 public:
46 
47  virtual void reflectAttributeValues (
48  RTI::ObjectHandle theObject,
49  const RTI::AttributeHandleValuePairSet& theAttributes,
50  const RTI::FedTime& theTime,
51  const char *theTag,
52  RTI::EventRetractionHandle theHandle)
53  throw (
54  RTI::ObjectNotKnown,
55  RTI::AttributeNotKnown,
56  RTI::FederateOwnsAttributes,
57  RTI::InvalidFederationTime,
58  RTI::FederateInternalError);
59 
61  virtual void receiveInteraction (
62  RTI::InteractionClassHandle theInteraction,
63  const RTI::ParameterHandleValuePairSet& theParameters,
64  const RTI::FedTime& theTime,
65  const char *theTag,
66  RTI::EventRetractionHandle theHandle)
67  throw (
68  RTI::InteractionClassNotKnown,
69  RTI::InteractionParameterNotKnown,
70  RTI::InvalidFederationTime,
71  RTI::FederateInternalError);
72 
73  virtual void removeObjectInstance (
74  RTI::ObjectHandle theObject,
75  const RTI::FedTime& theTime,
76  const char *theTag,
77  RTI::EventRetractionHandle theHandle)
78  throw (
79  RTI::ObjectNotKnown,
80  RTI::InvalidFederationTime,
81  RTI::FederateInternalError);
82 
83 };
84 
85 #elif defined(DtIFSPEC1516)
86 
87 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper
88 {
89 public:
90  DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr);
91 
92  virtual ~DtTsoEventFedAmb() throw ( );
93 
94 protected:
95 
96  DtTimeMgr* myTimeMgr;
97 
98 public:
99 
101 
102  virtual void reflectAttributeValues
103  (rti1516::ObjectInstanceHandle theObject,
104  rti1516::AttributeHandleValueMap const & theAttributeValues,
105  rti1516::VariableLengthData const & theUserSuppliedTag,
106  rti1516::OrderType sentOrder,
107  rti1516::TransportationType theType,
108  rti1516::LogicalTime const & theTime,
109  rti1516::OrderType receivedOrder,
110  rti1516::MessageRetractionHandle theHandle)
111  throw (rti1516::ObjectInstanceNotKnown,
112  rti1516::AttributeNotRecognized,
113  rti1516::AttributeNotSubscribed,
114  rti1516::InvalidLogicalTime,
115  rti1516::FederateInternalError);
116 
117  virtual void reflectAttributeValues
118  (rti1516::ObjectInstanceHandle theObject,
119  rti1516::AttributeHandleValueMap const & theAttributeValues,
120  rti1516::VariableLengthData const & theUserSuppliedTag,
121  rti1516::OrderType sentOrder,
122  rti1516::TransportationType theType,
123  rti1516::LogicalTime const & theTime,
124  rti1516::OrderType receivedOrder,
125  rti1516::MessageRetractionHandle theHandle,
126  rti1516::RegionHandleSet const & theSentRegionHandleSet)
127  throw (rti1516::ObjectInstanceNotKnown,
128  rti1516::AttributeNotRecognized,
129  rti1516::AttributeNotSubscribed,
130  rti1516::InvalidLogicalTime,
131  rti1516::FederateInternalError);
132 
134 
135  virtual void receiveInteraction
136  (rti1516::InteractionClassHandle theInteraction,
137  rti1516::ParameterHandleValueMap const & theParameterValues,
138  rti1516::VariableLengthData const & theUserSuppliedTag,
139  rti1516::OrderType sentOrder,
140  rti1516::TransportationType theType,
141  rti1516::LogicalTime const & theTime,
142  rti1516::OrderType receivedOrder,
143  rti1516::MessageRetractionHandle theHandle)
144  throw (rti1516::InteractionClassNotRecognized,
145  rti1516::InteractionParameterNotRecognized,
146  rti1516::InteractionClassNotSubscribed,
147  rti1516::InvalidLogicalTime,
148  rti1516::FederateInternalError);
149 
150  virtual void receiveInteraction
151  (rti1516::InteractionClassHandle theInteraction,
152  rti1516::ParameterHandleValueMap const & theParameterValues,
153  rti1516::VariableLengthData const & theUserSuppliedTag,
154  rti1516::OrderType sentOrder,
155  rti1516::TransportationType theType,
156  rti1516::LogicalTime const & theTime,
157  rti1516::OrderType receivedOrder,
158  rti1516::MessageRetractionHandle theHandle,
159  rti1516::RegionHandleSet const & theSentRegionHandleSet)
160  throw (rti1516::InteractionClassNotRecognized,
161  rti1516::InteractionParameterNotRecognized,
162  rti1516::InteractionClassNotSubscribed,
163  rti1516::InvalidLogicalTime,
164  rti1516::FederateInternalError);
165 
167 
168  virtual void removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
169  rti1516::VariableLengthData const & theUserSuppliedTag,
170  rti1516::OrderType sentOrder,
171  rti1516::LogicalTime const & theTime,
172  rti1516::OrderType receivedOrder,
173  rti1516::MessageRetractionHandle theHandle)
174  throw (rti1516::ObjectInstanceNotKnown,
175  rti1516::InvalidLogicalTime,
176  rti1516::FederateInternalError);
177 
178 
179 };
180 
181 #elif defined (DtIFSPEC1516E)
182 
183 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper
184 {
185 public:
186  DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr);
187 
188  virtual ~DtTsoEventFedAmb() throw ();
189 
190  virtual void reflectAttributeValues(
191  RTI_API::ObjectInstanceHandle theObject,
192  RTI_API::AttributeHandleValueMap const& theAttributeValues,
193  RTI_API::VariableLengthData const& theUserSuppliedTag,
194  RTI_API::OrderType sentOrder,
195 #if defined (DtIFSPEC1516E)
197 #else
198  RTI_API::TransportationTypeHandle const& theType,
199 #endif
200  RTI_API::LogicalTime const& theTime,
201  RTI_API::OrderType receivedOrder,
202  RTI_API::SupplementalReflectInfo theReflectInfo)
203  throw (RTI_API::FederateInternalError);
204 
205  virtual void reflectAttributeValues(
206  RTI_API::ObjectInstanceHandle theObject,
207  RTI_API::AttributeHandleValueMap const& theAttributeValues,
208  RTI_API::VariableLengthData const& theUserSuppliedTag,
209  RTI_API::OrderType sentOrder,
210 #if defined (DtIFSPEC1516E)
212 #else
213  RTI_API::TransportationTypeHandle const& theType,
214 #endif
215  RTI_API::LogicalTime const& theTime,
216  RTI_API::OrderType receivedOrder,
217  RTI_API::MessageRetractionHandle theHandle,
218  RTI_API::SupplementalReflectInfo theReflectInfo)
219  throw (RTI_API::FederateInternalError);
220 
221  virtual void receiveInteraction(
222  RTI_API::InteractionClassHandle theInteraction,
223  RTI_API::ParameterHandleValueMap const& theParameterValues,
224  RTI_API::VariableLengthData const& theUserSuppliedTag,
225  RTI_API::OrderType sentOrder,
226 #if defined (DtIFSPEC1516E)
228 #else
229  RTI_API::TransportationTypeHandle const& theType,
230 #endif
231  RTI_API::LogicalTime const& theTime,
232  RTI_API::OrderType receivedOrder,
233  RTI_API::SupplementalReceiveInfo theReceiveInfo)
234  throw (RTI_API::FederateInternalError);
235 
236  virtual void receiveInteraction(
237  RTI_API::InteractionClassHandle theInteraction,
238  RTI_API::ParameterHandleValueMap const& theParameterValues,
239  RTI_API::VariableLengthData const& theUserSuppliedTag,
240  RTI_API::OrderType sentOrder,
241 #if defined (DtIFSPEC1516E)
243 #else
244  RTI_API::TransportationTypeHandle const& theType,
245 #endif
246  RTI_API::LogicalTime const& theTime,
247  RTI_API::OrderType receivedOrder,
248  RTI_API::MessageRetractionHandle theHandle,
249  RTI_API::SupplementalReceiveInfo theReceiveInfo)
250  throw (RTI_API::FederateInternalError);
251 
252  virtual void removeObjectInstance(
253  RTI_API::ObjectInstanceHandle theObject,
254  RTI_API::VariableLengthData const& theUserSuppliedTag,
255  RTI_API::OrderType sentOrder,
256  RTI_API::LogicalTime const& theTime,
257  RTI_API::OrderType receivedOrder,
258 #if defined(DtIFSPEC1516E)
259  RTI_API::SupplementalRemoveInfo theRemoveInfo)
260 #else
261  RTI_API::FederateHandle const& producingFederate)
262 #endif
263  throw (RTI_API::FederateInternalError);
264 
265  virtual void removeObjectInstance(
266  RTI_API::ObjectInstanceHandle theObject,
267  RTI_API::VariableLengthData const& theUserSuppliedTag,
268  RTI_API::OrderType sentOrder,
269  RTI_API::LogicalTime const& theTime,
270  RTI_API::OrderType receivedOrder,
271  RTI_API::MessageRetractionHandle theHandle,
272 #if defined(DtIFSPEC1516E)
273  RTI_API::SupplementalRemoveInfo theRemoveInfo)
274 #else
275  RTI_API::FederateHandle const& producingFederate)
276 #endif
277  throw (RTI_API::FederateInternalError);
278 
279 protected:
280 
281  DtTimeMgr* myTimeMgr;
282 };
283 
284 #else
285 
286 class DT_DLL_LRC DtTsoEventFedAmb : public DtFedAmbWrapper
287 {
288  public:
289  DtTsoEventFedAmb(DtTimeMgr* timeMgrPtr);
290 
291  virtual ~DtTsoEventFedAmb() throw ( );
292 
293  virtual void reflectAttributeValues (
294  rti1516_2025::ObjectInstanceHandle const& theObject,
295  rti1516_2025::AttributeHandleValueMap const& theAttributeValues,
296  rti1516_2025::VariableLengthData const& theUserSuppliedTag,
297  rti1516_2025::TransportationTypeHandle const& theType,
298  rti1516_2025::FederateHandle const& theProducingFederate,
299  rti1516_2025::RegionHandleSet const* theOptionalSentRegions,
300  rti1516_2025::LogicalTime const& theTime,
301  rti1516_2025::OrderType theSentOrder,
302  rti1516_2025::OrderType theReceivedOrder,
303  rti1516_2025::MessageRetractionHandle const* theOptionalRetraction) override;
304 
305  // 6.13
306  virtual void receiveInteraction(
307  rti1516_2025::InteractionClassHandle const& theInteraction,
308  rti1516_2025::ParameterHandleValueMap const& theParameterValues,
309  rti1516_2025::VariableLengthData const& theUserSuppliedTag,
310  rti1516_2025::TransportationTypeHandle const& theType,
311  rti1516_2025::FederateHandle const& theProducingFederate,
312  rti1516_2025::RegionHandleSet const* theOptionalSentRegions,
313  rti1516_2025::LogicalTime const& theTime,
314  rti1516_2025::OrderType theSentOrder,
315  rti1516_2025::OrderType theReceivedOrder,
316  rti1516_2025::MessageRetractionHandle const* theOptionalRetraction) override;
317 
318  // 6.13
319 
320  virtual void receiveDirectedInteraction(
321  rti1516_2025::InteractionClassHandle const& theInteraction,
322  rti1516_2025::ObjectInstanceHandle const& theObject,
323  rti1516_2025::ParameterHandleValueMap const& theParameterValues,
324  rti1516_2025::VariableLengthData const& theUserSuppliedTag,
325  rti1516_2025::TransportationTypeHandle const& theType,
326  rti1516_2025::FederateHandle const& theProducingFederate,
327  rti1516_2025::LogicalTime const& theTime,
328  rti1516_2025::OrderType theSentOrder,
329  rti1516_2025::OrderType theReceivedOrder,
330  rti1516_2025::MessageRetractionHandle const* theOptionalRetraction) override;
331 
332  // 6.15
333  virtual void removeObjectInstance(
334  rti1516_2025::ObjectInstanceHandle const& theObject,
335  rti1516_2025::VariableLengthData const& theUserSuppliedTag,
336  rti1516_2025::FederateHandle const& theProducingFederate,
337  rti1516_2025::LogicalTime const& theTime,
338  rti1516_2025::OrderType theSentOrder,
339  rti1516_2025::OrderType theReceivedOrder,
340  rti1516_2025::MessageRetractionHandle const* theOptionalRetraction) override;
341 
342 
343  protected:
344 
345  DtTimeMgr* myTimeMgr;
346 };
347 
348 
349 #endif
350 #endif
351 #endif
Handle ObjectHandle
Definition: RTItypes13.h:116
OrderType
Definition: datatypes.pb.h:472
ULong InteractionClassHandle
Definition: RTItypes13.h:106
TransportationType
Definition: rtiAmbassadorFedProBase.h:43
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
ULong FederateHandle
Definition: RTItypes13.h:120
virtual Boolean throw(SpecifiedSaveLabelDoesNotExist, ConcurrentAccessAttempted, RTIinternalError)
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)