MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fedAmbPrinter1516e.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fedAmbPrinter1516e.h,v $ $Revision: 1.0 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtFedAmbPrinter1516e_h
13 #define DtFedAmbPrinter1516e_h
14 
15 #ifdef DtIFSPEC1516E
16 
17 #include "rtiMsConfig.h"
18 #include "fedAmbWrap1516e.h"
19 
20 class DtFederateMgr;
21 class DtFomClassMgr;
22 class DtObjectMgr;
23 
24 class DT_DLL_LRC DtFedAmbPrinter : public DtFedAmbWrapper
25 {
26 public:
27 
28  DtFedAmbPrinter(DtFederateMgr* fedMgr);
29  virtual ~DtFedAmbPrinter() throw ();
30 
34 
35  // 4.4
36  virtual void connectionLost (
37  std::wstring const & faultDescription)
38  throw (
39  FederateInternalError);
40 
41  // 4.8
42  virtual void reportFederationExecutions (
43  FederationExecutionInformationVector const &
44  theFederationExecutionInformationList)
45  throw (
46  FederateInternalError);
47 
49  virtual
50  void
51  synchronizationPointRegistrationSucceeded(std::wstring const & label)
52  throw (rti1516e::FederateInternalError);
53 
54  virtual
55  void
56  synchronizationPointRegistrationFailed(std::wstring const & label,
57  rti1516e::SynchronizationPointFailureReason reason)
58  throw (rti1516e::FederateInternalError);
59 
61  virtual
62  void
63  announceSynchronizationPoint(std::wstring const & label,
64  rti1516e::VariableLengthData const & theUserSuppliedTag)
65  throw (rti1516e::FederateInternalError);
66 
68  virtual
69  void
70  federationSynchronized(std::wstring const & label)
71  throw (rti1516e::FederateInternalError);
72 
74  virtual
75  void
76  initiateFederateSave(std::wstring const & label)
77  throw (rti1516e::FederateInternalError);
78 
79  virtual
80  void
81  initiateFederateSave(std::wstring const & label,
82  rti1516e::LogicalTime const & theTime)
83  throw (rti1516e::FederateInternalError);
84 
86  virtual
87  void
89  throw (rti1516e::FederateInternalError);
90 
91  virtual
92  void
93  federationNotSaved(rti1516e::SaveFailureReason theSaveFailureReason)
94  throw (rti1516e::FederateInternalError);
95 
96 
98  virtual
99  void
100  federationSaveStatusResponse(
101  rti1516e::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
102  throw (rti1516e::FederateInternalError);
103 
105  virtual
106  void
107  requestFederationRestoreSucceeded(std::wstring const & label)
108  throw (rti1516e::FederateInternalError);
109 
110  virtual
111  void
112  requestFederationRestoreFailed(std::wstring const & label)
113  throw (rti1516e::FederateInternalError);
114 
116  virtual
117  void
119  throw (rti1516e::FederateInternalError);
120 
122  virtual
123  void
124  initiateFederateRestore(std::wstring const & label,
125  rti1516e::FederateHandle handle)
126  throw (rti1516e::FederateInternalError);
127 
129  virtual
130  void
132  throw (rti1516e::FederateInternalError);
133 
134  virtual
135  void
136  federationNotRestored(rti1516e::RestoreFailureReason theRestoreFailureReason)
137  throw (rti1516e::FederateInternalError);
138 
140  virtual
141  void
142  federationRestoreStatusResponse(
143  rti1516e::FederateRestoreStatusVector const & theFederateStatusVector)
144  throw (rti1516e::FederateInternalError);
145 
149 
151  virtual
152  void
154  throw (rti1516e::FederateInternalError);
155 
157  virtual
158  void
160  throw (rti1516e::FederateInternalError);
161 
163  virtual
164  void
165  turnInteractionsOn(rti1516e::InteractionClassHandle theHandle)
166  throw (rti1516e::FederateInternalError);
167 
169  virtual
170  void
171  turnInteractionsOff(rti1516e::InteractionClassHandle theHandle)
172  throw (rti1516e::FederateInternalError);
173 
177 
179  virtual
180  void
181  objectInstanceNameReservationSucceeded(std::wstring const &
182  theObjectInstanceName)
183  throw (rti1516e::FederateInternalError);
184 
185  virtual
186  void
187  objectInstanceNameReservationFailed(std::wstring const &
188  theObjectInstanceName)
189  throw (rti1516e::FederateInternalError);
190 
191  // 6.6
192  virtual void multipleObjectInstanceNameReservationSucceeded (
193  std::set<std::wstring> const & theObjectInstanceNames)
194  throw (
195  FederateInternalError);
196 
197  virtual void multipleObjectInstanceNameReservationFailed (
198  std::set<std::wstring> const & theObjectInstanceNames)
199  throw (
200  FederateInternalError);
201 
202 
204  virtual
205  void
206  discoverObjectInstance(rti1516e::ObjectInstanceHandle theObject,
207  rti1516e::ObjectClassHandle theObjectClass,
208  std::wstring const & theObjectInstanceName)
209  throw (rti1516e::FederateInternalError);
210 
211  virtual void discoverObjectInstance (
212  ObjectInstanceHandle theObject,
213  ObjectClassHandle theObjectClass,
214  std::wstring const & theObjectInstanceName,
215  FederateHandle producingFederate)
216  throw (
217  FederateInternalError);
218 
219  virtual void reflectAttributeValues (
220  ObjectInstanceHandle theObject,
221  AttributeHandleValueMap const & theAttributeValues,
222  VariableLengthData const & theUserSuppliedTag,
223  OrderType sentOrder,
224  TransportationType theType,
225  SupplementalReflectInfo theReflectInfo)
226  throw (
227  FederateInternalError);
228 
229  virtual void reflectAttributeValues (
230  ObjectInstanceHandle theObject,
231  AttributeHandleValueMap const & theAttributeValues,
232  VariableLengthData const & theUserSuppliedTag,
233  OrderType sentOrder,
234  TransportationType theType,
235  LogicalTime const & theTime,
236  OrderType receivedOrder,
237  SupplementalReflectInfo theReflectInfo)
238  throw (
239  FederateInternalError);
240 
241  virtual void reflectAttributeValues (
242  ObjectInstanceHandle theObject,
243  AttributeHandleValueMap const & theAttributeValues,
244  VariableLengthData const & theUserSuppliedTag,
245  OrderType sentOrder,
246  TransportationType theType,
247  LogicalTime const & theTime,
248  OrderType receivedOrder,
249  MessageRetractionHandle theHandle,
250  SupplementalReflectInfo theReflectInfo)
251  throw (
252  FederateInternalError);
253 
254  // 6.13
255  virtual void receiveInteraction (
256  InteractionClassHandle theInteraction,
257  ParameterHandleValueMap const & theParameterValues,
258  VariableLengthData const & theUserSuppliedTag,
259  OrderType sentOrder,
260  TransportationType theType,
261  SupplementalReceiveInfo theReceiveInfo)
262  throw (
263  FederateInternalError);
264 
265  virtual void receiveInteraction (
266  InteractionClassHandle theInteraction,
267  ParameterHandleValueMap const & theParameterValues,
268  VariableLengthData const & theUserSuppliedTag,
269  OrderType sentOrder,
270  TransportationType theType,
271  LogicalTime const & theTime,
272  OrderType receivedOrder,
273  SupplementalReceiveInfo theReceiveInfo)
274  throw (
275  FederateInternalError);
276 
277  virtual void receiveInteraction (
278  InteractionClassHandle theInteraction,
279  ParameterHandleValueMap const & theParameterValues,
280  VariableLengthData const & theUserSuppliedTag,
281  OrderType sentOrder,
282  TransportationType theType,
283  LogicalTime const & theTime,
284  OrderType receivedOrder,
285  MessageRetractionHandle theHandle,
286  SupplementalReceiveInfo theReceiveInfo)
287  throw (
288  FederateInternalError);
289 
290  // 6.15
291  virtual void removeObjectInstance (
292  ObjectInstanceHandle theObject,
293  VariableLengthData const & theUserSuppliedTag,
294  OrderType sentOrder,
295  SupplementalRemoveInfo theRemoveInfo)
296  throw (
297  FederateInternalError);
298 
299  virtual void removeObjectInstance (
300  ObjectInstanceHandle theObject,
301  VariableLengthData const & theUserSuppliedTag,
302  OrderType sentOrder,
303  LogicalTime const & theTime,
304  OrderType receivedOrder,
305  SupplementalRemoveInfo theRemoveInfo)
306  throw (
307  FederateInternalError);
308 
309  virtual void removeObjectInstance (
310  ObjectInstanceHandle theObject,
311  VariableLengthData const & theUserSuppliedTag,
312  OrderType sentOrder,
313  LogicalTime const & theTime,
314  OrderType receivedOrder,
315  MessageRetractionHandle theHandle,
316  SupplementalRemoveInfo theRemoveInfo)
317  throw (
318  FederateInternalError);
319 
321  virtual
322  void
324  (rti1516e::ObjectInstanceHandle theObject,
325  rti1516e::AttributeHandleSet const & theAttributes)
326  throw (rti1516e::FederateInternalError);
327 
329  virtual
330  void
332  (rti1516e::ObjectInstanceHandle theObject,
333  rti1516e::AttributeHandleSet const & theAttributes)
334  throw (rti1516e::FederateInternalError);
335 
337  virtual
338  void
340  (rti1516e::ObjectInstanceHandle theObject,
341  rti1516e::AttributeHandleSet const & theAttributes,
342  rti1516e::VariableLengthData const & theUserSuppliedTag)
343  throw (rti1516e::FederateInternalError);
344 
346  virtual
347  void
349  (rti1516e::ObjectInstanceHandle theObject,
350  rti1516e::AttributeHandleSet const & theAttributes)
351  throw (rti1516e::FederateInternalError);
352 
353  virtual void turnUpdatesOnForObjectInstance (
354  ObjectInstanceHandle theObject,
355  AttributeHandleSet const & theAttributes,
356  std::wstring const & updateRateDesignator)
357  throw (
358  FederateInternalError);
359 
361  virtual
362  void
364  (rti1516e::ObjectInstanceHandle theObject,
365  rti1516e::AttributeHandleSet const & theAttributes)
366  throw (rti1516e::FederateInternalError);
367 
368  // 6.24
369  virtual void confirmAttributeTransportationTypeChange (
370  ObjectInstanceHandle theObject,
371  AttributeHandleSet theAttributes,
372  TransportationType theTransportation)
373  throw (
374  FederateInternalError);
375 
376  // 6.26
377  virtual void reportAttributeTransportationType (
378  ObjectInstanceHandle theObject,
379  AttributeHandle theAttribute,
380  TransportationType theTransportation)
381  throw (
382  FederateInternalError);
383 
384  // 6.28
385  virtual void confirmInteractionTransportationTypeChange (
386  InteractionClassHandle theInteraction,
387  TransportationType theTransportation)
388  throw (
389  FederateInternalError);
390 
391  // 6.30
392  virtual void reportInteractionTransportationType (
393  FederateHandle federateHandle,
394  InteractionClassHandle theInteraction,
395  TransportationType theTransportation)
396  throw (
397  FederateInternalError);
398 
402 
404  virtual
405  void
407  (rti1516e::ObjectInstanceHandle theObject,
408  rti1516e::AttributeHandleSet const & offeredAttributes,
409  rti1516e::VariableLengthData const & theUserSuppliedTag)
410  throw (rti1516e::FederateInternalError);
411 
413  virtual
414  void
415  requestDivestitureConfirmation
416  (rti1516e::ObjectInstanceHandle theObject,
417  rti1516e::AttributeHandleSet const & releasedAttributes)
418  throw (rti1516e::FederateInternalError);
419 
421  virtual
422  void
424  (rti1516e::ObjectInstanceHandle theObject,
425  rti1516e::AttributeHandleSet const & securedAttributes,
426  rti1516e::VariableLengthData const & theUserSuppliedTag)
427  throw (rti1516e::FederateInternalError);
428 
430  virtual
431  void
433  (rti1516e::ObjectInstanceHandle theObject,
434  rti1516e::AttributeHandleSet const & theAttributes)
435  throw (rti1516e::FederateInternalError);
436 
438  virtual
439  void
441  (rti1516e::ObjectInstanceHandle theObject,
442  rti1516e::AttributeHandleSet const & candidateAttributes,
443  rti1516e::VariableLengthData const & theUserSuppliedTag)
444  throw (rti1516e::FederateInternalError);
445 
447  virtual
448  void
450  (rti1516e::ObjectInstanceHandle theObject,
451  rti1516e::AttributeHandleSet const & theAttributes)
452  throw (rti1516e::FederateInternalError);
453 
455  virtual
456  void
457  informAttributeOwnership(rti1516e::ObjectInstanceHandle theObject,
458  rti1516e::AttributeHandle theAttribute,
459  rti1516e::FederateHandle theOwner)
460  throw (rti1516e::FederateInternalError);
461 
462  virtual
463  void
464  attributeIsNotOwned(rti1516e::ObjectInstanceHandle theObject,
465  rti1516e::AttributeHandle theAttribute)
466  throw (rti1516e::FederateInternalError);
467 
468  virtual
469  void
470  attributeIsOwnedByRTI(rti1516e::ObjectInstanceHandle theObject,
471  rti1516e::AttributeHandle theAttribute)
472  throw (rti1516e::FederateInternalError);
473 
477 
479  virtual
480  void
481  timeRegulationEnabled(rti1516e::LogicalTime const & theFederateTime)
482  throw (rti1516e::FederateInternalError);
483 
485  virtual
486  void
487  timeConstrainedEnabled(rti1516e::LogicalTime const & theFederateTime)
488  throw (rti1516e::FederateInternalError);
489 
491  virtual
492  void
493  timeAdvanceGrant(rti1516e::LogicalTime const & theTime)
494  throw (rti1516e::FederateInternalError);
495 
497  virtual
498  void
499  requestRetraction(rti1516e::MessageRetractionHandle theHandle)
500  throw (rti1516e::FederateInternalError);
501 
502 protected:
503 
505  virtual DtFomClassMgr* fom();
506  virtual DtObjectMgr* objMgr();
507 
508 protected:
509  DtFederateMgr* myFedMgr;
510 };
511 
512 #endif
513 #endif

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)