MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fedAmbPrinter1516.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fedAmbPrinter1516.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtFedAmbPrinter1516_h
13 #define DtFedAmbPrinter1516_h
14 
15 #ifdef DtIFSPEC1516
16 
17 #include "rtiMsConfig.h"
18 #include "fedAmbWrap1516.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 
36  virtual
37  void
38  synchronizationPointRegistrationSucceeded(std::wstring const & label)
39  throw (rti1516::FederateInternalError);
40 
41  virtual
42  void
43  synchronizationPointRegistrationFailed(std::wstring const & label,
44  rti1516::SynchronizationFailureReason reason)
45  throw (rti1516::FederateInternalError);
46 
48  virtual
49  void
50  announceSynchronizationPoint(std::wstring const & label,
51  rti1516::VariableLengthData const & theUserSuppliedTag)
52  throw (rti1516::FederateInternalError);
53 
55  virtual
56  void
57  federationSynchronized(std::wstring const & label)
58  throw (rti1516::FederateInternalError);
59 
61  virtual
62  void
63  initiateFederateSave(std::wstring const & label)
64  throw (rti1516::UnableToPerformSave,
65  rti1516::FederateInternalError);
66 
67  virtual
68  void
69  initiateFederateSave(std::wstring const & label,
70  rti1516::LogicalTime const & theTime)
71  throw (rti1516::UnableToPerformSave,
72  rti1516::InvalidLogicalTime,
73  rti1516::FederateInternalError);
74 
76  virtual
77  void
79  throw (rti1516::FederateInternalError);
80 
81  virtual
82  void
83  federationNotSaved(rti1516::SaveFailureReason theSaveFailureReason)
84  throw (rti1516::FederateInternalError);
85 
86 
88  virtual
89  void
90  federationSaveStatusResponse(
91  rti1516::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
92  throw (rti1516::FederateInternalError);
93 
95  virtual
96  void
97  requestFederationRestoreSucceeded(std::wstring const & label)
98  throw (rti1516::FederateInternalError);
99 
100  virtual
101  void
102  requestFederationRestoreFailed(std::wstring const & label)
103  throw (rti1516::FederateInternalError);
104 
106  virtual
107  void
109  throw (rti1516::FederateInternalError);
110 
112  virtual
113  void
114  initiateFederateRestore(std::wstring const & label,
115  rti1516::FederateHandle handle)
116  throw (rti1516::SpecifiedSaveLabelDoesNotExist,
117  rti1516::CouldNotInitiateRestore,
118  rti1516::FederateInternalError);
119 
121  virtual
122  void
124  throw (rti1516::FederateInternalError);
125 
126  virtual
127  void
128  federationNotRestored(rti1516::RestoreFailureReason theRestoreFailureReason)
129  throw (rti1516::FederateInternalError);
130 
132  virtual
133  void
134  federationRestoreStatusResponse(
135  rti1516::FederateHandleRestoreStatusPairVector const & theFederateStatusVector)
136  throw (rti1516::FederateInternalError);
137 
141 
143  virtual
144  void
146  throw (rti1516::ObjectClassNotPublished,
147  rti1516::FederateInternalError);
148 
150  virtual
151  void
153  throw (rti1516::ObjectClassNotPublished,
154  rti1516::FederateInternalError);
155 
157  virtual
158  void
159  turnInteractionsOn(rti1516::InteractionClassHandle theHandle)
160  throw (rti1516::InteractionClassNotPublished,
161  rti1516::FederateInternalError);
162 
164  virtual
165  void
166  turnInteractionsOff(rti1516::InteractionClassHandle theHandle)
167  throw (rti1516::InteractionClassNotPublished,
168  rti1516::FederateInternalError);
169 
173 
175  virtual
176  void
177  objectInstanceNameReservationSucceeded(std::wstring const &
178  theObjectInstanceName)
179  throw (rti1516::UnknownName,
180  rti1516::FederateInternalError);
181 
182  virtual
183  void
184  objectInstanceNameReservationFailed(std::wstring const &
185  theObjectInstanceName)
186  throw (rti1516::UnknownName,
187  rti1516::FederateInternalError);
188 
189 
191  virtual
192  void
193  discoverObjectInstance(rti1516::ObjectInstanceHandle theObject,
194  rti1516::ObjectClassHandle theObjectClass,
195  std::wstring const & theObjectInstanceName)
196  throw (rti1516::CouldNotDiscover,
197  rti1516::ObjectClassNotKnown,
198  rti1516::FederateInternalError);
199 
201  virtual
202  void
204  (rti1516::ObjectInstanceHandle theObject,
205  rti1516::AttributeHandleValueMap const & theAttributeValues,
206  rti1516::VariableLengthData const & theUserSuppliedTag,
207  rti1516::OrderType sentOrder,
208  rti1516::TransportationType theType)
209  throw (rti1516::ObjectInstanceNotKnown,
210  rti1516::AttributeNotRecognized,
211  rti1516::AttributeNotSubscribed,
212  rti1516::FederateInternalError);
213 
214  virtual
215  void
217  (rti1516::ObjectInstanceHandle theObject,
218  rti1516::AttributeHandleValueMap const & theAttributeValues,
219  rti1516::VariableLengthData const & theUserSuppliedTag,
220  rti1516::OrderType sentOrder,
221  rti1516::TransportationType theType,
222  rti1516::RegionHandleSet const & theSentRegionHandleSet)
223  throw (rti1516::ObjectInstanceNotKnown,
224  rti1516::AttributeNotRecognized,
225  rti1516::AttributeNotSubscribed,
226  rti1516::FederateInternalError);
227 
228  virtual
229  void
231  (rti1516::ObjectInstanceHandle theObject,
232  rti1516::AttributeHandleValueMap const & theAttributeValues,
233  rti1516::VariableLengthData const & theUserSuppliedTag,
234  rti1516::OrderType sentOrder,
235  rti1516::TransportationType theType,
236  rti1516::LogicalTime const & theTime,
237  rti1516::OrderType receivedOrder)
238  throw (rti1516::ObjectInstanceNotKnown,
239  rti1516::AttributeNotRecognized,
240  rti1516::AttributeNotSubscribed,
241  rti1516::FederateInternalError);
242 
243  virtual
244  void
246  (rti1516::ObjectInstanceHandle theObject,
247  rti1516::AttributeHandleValueMap const & theAttributeValues,
248  rti1516::VariableLengthData const & theUserSuppliedTag,
249  rti1516::OrderType sentOrder,
250  rti1516::TransportationType theType,
251  rti1516::LogicalTime const & theTime,
252  rti1516::OrderType receivedOrder,
253  rti1516::RegionHandleSet const & theSentRegionHandleSet)
254  throw (rti1516::ObjectInstanceNotKnown,
255  rti1516::AttributeNotRecognized,
256  rti1516::AttributeNotSubscribed,
257  rti1516::FederateInternalError);
258 
259  virtual
260  void
262  (rti1516::ObjectInstanceHandle theObject,
263  rti1516::AttributeHandleValueMap const & theAttributeValues,
264  rti1516::VariableLengthData const & theUserSuppliedTag,
265  rti1516::OrderType sentOrder,
266  rti1516::TransportationType theType,
267  rti1516::LogicalTime const & theTime,
268  rti1516::OrderType receivedOrder,
269  rti1516::MessageRetractionHandle theHandle)
270  throw (rti1516::ObjectInstanceNotKnown,
271  rti1516::AttributeNotRecognized,
272  rti1516::AttributeNotSubscribed,
273  rti1516::InvalidLogicalTime,
274  rti1516::FederateInternalError);
275 
276  virtual
277  void
279  (rti1516::ObjectInstanceHandle theObject,
280  rti1516::AttributeHandleValueMap const & theAttributeValues,
281  rti1516::VariableLengthData const & theUserSuppliedTag,
282  rti1516::OrderType sentOrder,
283  rti1516::TransportationType theType,
284  rti1516::LogicalTime const & theTime,
285  rti1516::OrderType receivedOrder,
286  rti1516::MessageRetractionHandle theHandle,
287  rti1516::RegionHandleSet const & theSentRegionHandleSet)
288  throw (rti1516::ObjectInstanceNotKnown,
289  rti1516::AttributeNotRecognized,
290  rti1516::AttributeNotSubscribed,
291  rti1516::InvalidLogicalTime,
292  rti1516::FederateInternalError);
293 
295  virtual
296  void
298  (rti1516::InteractionClassHandle theInteraction,
299  rti1516::ParameterHandleValueMap const & theParameterValues,
300  rti1516::VariableLengthData const & theUserSuppliedTag,
301  rti1516::OrderType sentOrder,
302  rti1516::TransportationType theType)
303  throw (rti1516::InteractionClassNotRecognized,
304  rti1516::InteractionParameterNotRecognized,
305  rti1516::InteractionClassNotSubscribed,
306  rti1516::FederateInternalError);
307 
308  virtual
309  void
311  (rti1516::InteractionClassHandle theInteraction,
312  rti1516::ParameterHandleValueMap const & theParameterValues,
313  rti1516::VariableLengthData const & theUserSuppliedTag,
314  rti1516::OrderType sentOrder,
315  rti1516::TransportationType theType,
316  rti1516::RegionHandleSet const & theSentRegionHandleSet)
317  throw (rti1516::InteractionClassNotRecognized,
318  rti1516::InteractionParameterNotRecognized,
319  rti1516::InteractionClassNotSubscribed,
320  rti1516::FederateInternalError);
321 
322  virtual
323  void
325  (rti1516::InteractionClassHandle theInteraction,
326  rti1516::ParameterHandleValueMap const & theParameterValues,
327  rti1516::VariableLengthData const & theUserSuppliedTag,
328  rti1516::OrderType sentOrder,
329  rti1516::TransportationType theType,
330  rti1516::LogicalTime const & theTime,
331  rti1516::OrderType receivedOrder)
332  throw (rti1516::InteractionClassNotRecognized,
333  rti1516::InteractionParameterNotRecognized,
334  rti1516::InteractionClassNotSubscribed,
335  rti1516::FederateInternalError);
336 
337  virtual
338  void
340  (rti1516::InteractionClassHandle theInteraction,
341  rti1516::ParameterHandleValueMap const & theParameterValues,
342  rti1516::VariableLengthData const & theUserSuppliedTag,
343  rti1516::OrderType sentOrder,
344  rti1516::TransportationType theType,
345  rti1516::LogicalTime const & theTime,
346  rti1516::OrderType receivedOrder,
347  rti1516::RegionHandleSet const & theSentRegionHandleSet)
348  throw (rti1516::InteractionClassNotRecognized,
349  rti1516::InteractionParameterNotRecognized,
350  rti1516::InteractionClassNotSubscribed,
351  rti1516::FederateInternalError);
352 
353  virtual
354  void
356  (rti1516::InteractionClassHandle theInteraction,
357  rti1516::ParameterHandleValueMap const & theParameterValues,
358  rti1516::VariableLengthData const & theUserSuppliedTag,
359  rti1516::OrderType sentOrder,
360  rti1516::TransportationType theType,
361  rti1516::LogicalTime const & theTime,
362  rti1516::OrderType receivedOrder,
363  rti1516::MessageRetractionHandle theHandle)
364  throw (rti1516::InteractionClassNotRecognized,
365  rti1516::InteractionParameterNotRecognized,
366  rti1516::InteractionClassNotSubscribed,
367  rti1516::InvalidLogicalTime,
368  rti1516::FederateInternalError);
369 
370  virtual
371  void
373  (rti1516::InteractionClassHandle theInteraction,
374  rti1516::ParameterHandleValueMap const & theParameterValues,
375  rti1516::VariableLengthData const & theUserSuppliedTag,
376  rti1516::OrderType sentOrder,
377  rti1516::TransportationType theType,
378  rti1516::LogicalTime const & theTime,
379  rti1516::OrderType receivedOrder,
380  rti1516::MessageRetractionHandle theHandle,
381  rti1516::RegionHandleSet const & theSentRegionHandleSet)
382  throw (rti1516::InteractionClassNotRecognized,
383  rti1516::InteractionParameterNotRecognized,
384  rti1516::InteractionClassNotSubscribed,
385  rti1516::InvalidLogicalTime,
386  rti1516::FederateInternalError);
387 
389  virtual
390  void
391  removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
392  rti1516::VariableLengthData const & theUserSuppliedTag,
393  rti1516::OrderType sentOrder)
394  throw (rti1516::ObjectInstanceNotKnown,
395  rti1516::FederateInternalError);
396 
397  virtual
398  void
399  removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
400  rti1516::VariableLengthData const & theUserSuppliedTag,
401  rti1516::OrderType sentOrder,
402  rti1516::LogicalTime const & theTime,
403  rti1516::OrderType receivedOrder)
404  throw (rti1516::ObjectInstanceNotKnown,
405  rti1516::FederateInternalError);
406 
407  virtual
408  void
409  removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
410  rti1516::VariableLengthData const & theUserSuppliedTag,
411  rti1516::OrderType sentOrder,
412  rti1516::LogicalTime const & theTime,
413  rti1516::OrderType receivedOrder,
414  rti1516::MessageRetractionHandle theHandle)
415  throw (rti1516::ObjectInstanceNotKnown,
416  rti1516::InvalidLogicalTime,
417  rti1516::FederateInternalError);
418 
420  virtual
421  void
423  (rti1516::ObjectInstanceHandle theObject,
424  rti1516::AttributeHandleSet const & theAttributes)
425  throw (rti1516::ObjectInstanceNotKnown,
426  rti1516::AttributeNotRecognized,
427  rti1516::AttributeNotSubscribed,
428  rti1516::FederateInternalError);
429 
431  virtual
432  void
434  (rti1516::ObjectInstanceHandle theObject,
435  rti1516::AttributeHandleSet const & theAttributes)
436  throw (rti1516::ObjectInstanceNotKnown,
437  rti1516::AttributeNotRecognized,
438  rti1516::AttributeNotSubscribed,
439  rti1516::FederateInternalError);
440 
442  virtual
443  void
445  (rti1516::ObjectInstanceHandle theObject,
446  rti1516::AttributeHandleSet const & theAttributes,
447  rti1516::VariableLengthData const & theUserSuppliedTag)
448  throw (rti1516::ObjectInstanceNotKnown,
449  rti1516::AttributeNotRecognized,
450  rti1516::AttributeNotOwned,
451  rti1516::FederateInternalError);
452 
454  virtual
455  void
457  (rti1516::ObjectInstanceHandle theObject,
458  rti1516::AttributeHandleSet const & theAttributes)
459  throw (rti1516::ObjectInstanceNotKnown,
460  rti1516::AttributeNotRecognized,
461  rti1516::AttributeNotOwned,
462  rti1516::FederateInternalError);
463 
465  virtual
466  void
468  (rti1516::ObjectInstanceHandle theObject,
469  rti1516::AttributeHandleSet const & theAttributes)
470  throw (rti1516::ObjectInstanceNotKnown,
471  rti1516::AttributeNotRecognized,
472  rti1516::AttributeNotOwned,
473  rti1516::FederateInternalError);
474 
478 
480  virtual
481  void
483  (rti1516::ObjectInstanceHandle theObject,
484  rti1516::AttributeHandleSet const & offeredAttributes,
485  rti1516::VariableLengthData const & theUserSuppliedTag)
486  throw (rti1516::ObjectInstanceNotKnown,
487  rti1516::AttributeNotRecognized,
488  rti1516::AttributeAlreadyOwned,
489  rti1516::AttributeNotPublished,
490  rti1516::FederateInternalError);
491 
493  virtual
494  void
495  requestDivestitureConfirmation
496  (rti1516::ObjectInstanceHandle theObject,
497  rti1516::AttributeHandleSet const & releasedAttributes)
498  throw (rti1516::ObjectInstanceNotKnown,
499  rti1516::AttributeNotRecognized,
500  rti1516::AttributeNotOwned,
501  rti1516::AttributeDivestitureWasNotRequested,
502  rti1516::FederateInternalError);
503 
505  virtual
506  void
508  (rti1516::ObjectInstanceHandle theObject,
509  rti1516::AttributeHandleSet const & securedAttributes,
510  rti1516::VariableLengthData const & theUserSuppliedTag)
511  throw (rti1516::ObjectInstanceNotKnown,
512  rti1516::AttributeNotRecognized,
513  rti1516::AttributeAcquisitionWasNotRequested,
514  rti1516::AttributeAlreadyOwned,
515  rti1516::AttributeNotPublished,
516  rti1516::FederateInternalError);
517 
519  virtual
520  void
522  (rti1516::ObjectInstanceHandle theObject,
523  rti1516::AttributeHandleSet const & theAttributes)
524  throw (rti1516::ObjectInstanceNotKnown,
525  rti1516::AttributeNotRecognized,
526  rti1516::AttributeAlreadyOwned,
527  rti1516::AttributeAcquisitionWasNotRequested,
528  rti1516::FederateInternalError);
529 
531  virtual
532  void
534  (rti1516::ObjectInstanceHandle theObject,
535  rti1516::AttributeHandleSet const & candidateAttributes,
536  rti1516::VariableLengthData const & theUserSuppliedTag)
537  throw (rti1516::ObjectInstanceNotKnown,
538  rti1516::AttributeNotRecognized,
539  rti1516::AttributeNotOwned,
540  rti1516::FederateInternalError);
541 
543  virtual
544  void
546  (rti1516::ObjectInstanceHandle theObject,
547  rti1516::AttributeHandleSet const & theAttributes)
548  throw (rti1516::ObjectInstanceNotKnown,
549  rti1516::AttributeNotRecognized,
550  rti1516::AttributeAlreadyOwned,
551  rti1516::AttributeAcquisitionWasNotCanceled,
552  rti1516::FederateInternalError);
553 
555  virtual
556  void
557  informAttributeOwnership(rti1516::ObjectInstanceHandle theObject,
558  rti1516::AttributeHandle theAttribute,
559  rti1516::FederateHandle theOwner)
560  throw (rti1516::ObjectInstanceNotKnown,
561  rti1516::AttributeNotRecognized,
562  rti1516::FederateInternalError);
563 
564  virtual
565  void
566  attributeIsNotOwned(rti1516::ObjectInstanceHandle theObject,
567  rti1516::AttributeHandle theAttribute)
568  throw (rti1516::ObjectInstanceNotKnown,
569  rti1516::AttributeNotRecognized,
570  rti1516::FederateInternalError);
571 
572  virtual
573  void
574  attributeIsOwnedByRTI(rti1516::ObjectInstanceHandle theObject,
575  rti1516::AttributeHandle theAttribute)
576  throw (rti1516::ObjectInstanceNotKnown,
577  rti1516::AttributeNotRecognized,
578  rti1516::FederateInternalError);
579 
583 
585  virtual
586  void
587  timeRegulationEnabled(rti1516::LogicalTime const & theFederateTime)
588  throw (rti1516::InvalidLogicalTime,
589  rti1516::NoRequestToEnableTimeRegulationWasPending,
590  rti1516::FederateInternalError);
591 
593  virtual
594  void
595  timeConstrainedEnabled(rti1516::LogicalTime const & theFederateTime)
596  throw (rti1516::InvalidLogicalTime,
597  rti1516::NoRequestToEnableTimeConstrainedWasPending,
598  rti1516::FederateInternalError);
599 
601  virtual
602  void
603  timeAdvanceGrant(rti1516::LogicalTime const & theTime)
604  throw (rti1516::InvalidLogicalTime,
605  rti1516::JoinedFederateIsNotInTimeAdvancingState,
606  rti1516::FederateInternalError);
607 
609  virtual
610  void
611  requestRetraction(rti1516::MessageRetractionHandle theHandle)
612  throw (rti1516::FederateInternalError);
613 
614 protected:
615 
617  virtual DtFomClassMgr* fom();
618  virtual DtObjectMgr* objMgr();
619 
620 protected:
621  DtFederateMgr* myFedMgr;
622 };
623 
624 #endif
625 #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)