MAK RTIspy API Documentation for HLA Evolved
 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 (
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
153  startRegistrationForObjectClass(rti1516e::ObjectClassHandle theClass)
154  throw (rti1516e::FederateInternalError);
155 
157  virtual
158  void
159  stopRegistrationForObjectClass(rti1516e::ObjectClassHandle theClass)
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
RestoreFailureReason
Definition: Enums.h:43
SynchronizationPointFailureReason
Definition: Enums.h:91
virtual void requestAttributeOwnershipRelease(ObjectHandle theObject, const AttributeHandleSet &candidateAttributes, const char *theTag)=0
7.10
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
virtual void informAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute, FederateHandle theOwner)=0
7.16
virtual void initiateFederateRestore(const char *label, FederateHandle handle)=0
4.19
virtual void confirmAttributeOwnershipAcquisitionCancellation(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.14
virtual void startRegistrationForObjectClass(ObjectClassHandle theClass)=0
! Declaration Management Services //!
virtual void requestRetraction(EventRetractionHandle theHandle)=0
8.22
virtual void synchronizationPointRegistrationFailed(const char *label)=0
supplied C4)
virtual void federationNotRestored()=0
SaveFailureReason
Definition: Enums.h:62
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
virtual void attributeOwnershipUnavailable(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.9
std::vector< FederationExecutionInformation > FederationExecutionInformationVector
Definition: Typedefs.h:99
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
virtual void synchronizationPointRegistrationSucceeded(const char *label)=0
RTI Parameter Passing Memory Conventions.
Instances of DtFederateMgr process federation-level messages (such as create, destroy, join, resign, and sync points) and manages the objects responsible for handling general communication, objects, interactions, the FOM, MOM, and data distribution mmg.
Definition: fedMgr.h:84
virtual void initiateFederateSave(const char *label)=0
4.12
virtual void timeAdvanceGrant(const FedTime &theTime)=0
8.13
virtual void announceSynchronizationPoint(const char *label, const char *tag)=0
4.8
virtual void requestFederationRestoreFailed(const char *label, const char *reason)=0
supplied C4
virtual void federationNotSaved()=0
virtual void federationSynchronized(const char *label)=0
4.10
Definition: fomMgr.h:53
virtual void discoverObjectInstance(ObjectHandle theObject, ObjectClassHandle theObjectClass, const char *theObjectName)=0
! Object Management Services //!
virtual void requestFederationRestoreSucceeded(const char *label)=0
4.17
virtual void attributeOwnershipAcquisitionNotification(ObjectHandle theObject, const AttributeHandleSet &securedAttributes)=0
7.6
virtual void reflectAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag, EventRetractionHandle theHandle)=0
6.5
std::vector< FederateHandleSaveStatusPair > FederateHandleSaveStatusPairVector
Definition: Typedefs.h:65
OrderType
Definition: Enums.h:27
virtual void turnInteractionsOff(InteractionClassHandle theHandle)=0
5.13
The object manager class processes the object management services.
Definition: objMgr.h:90
virtual void federationRestored()=0
4.21
virtual void provideAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.16
virtual void turnUpdatesOffForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.18
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
virtual void requestAttributeOwnershipAssumption(ObjectHandle theObject, const AttributeHandleSet &offeredAttributes, const char *theTag)=0
! Ownership Management Services //!
virtual void turnUpdatesOnForObjectInstance(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.17
virtual void stopRegistrationForObjectClass(ObjectClassHandle theClass)=0
5.11
virtual void attributeIsNotOwned(ObjectHandle theObject, AttributeHandle theAttribute)=0
supplied C1
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
TransportationType
Definition: Enums.h:97
virtual void timeConstrainedEnabled(const FedTime &theFederateTime)=0
8.6
virtual void timeRegulationEnabled(const FedTime &theFederateTime)=0
! Time Management Services //!
std::vector< FederateRestoreStatus > FederateRestoreStatusVector
Definition: Typedefs.h:83
virtual void turnInteractionsOn(InteractionClassHandle theHandle)=0
5.12
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:49

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)