MAK RTIspy API Documentation for HLA 1516
 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  rti1516e::FederateInternalError);
40 
41  // 4.8
42  virtual void reportFederationExecutions (
43  rti1516e::FederationExecutionInformationVector const & theFederationExecutionInformationList)
44  throw (
45  rti1516e::FederateInternalError);
46 
48  virtual void synchronizationPointRegistrationSucceeded(std::wstring const & label)
49  throw (rti1516e::FederateInternalError);
50 
51  virtual void synchronizationPointRegistrationFailed(std::wstring const & label,
52  rti1516e::SynchronizationPointFailureReason reason)
53  throw (rti1516e::FederateInternalError);
54 
56  virtual void announceSynchronizationPoint(std::wstring const & label,
57  rti1516e::VariableLengthData const & theUserSuppliedTag)
58  throw (rti1516e::FederateInternalError);
59 
61  virtual void federationSynchronized(std::wstring const & label)
62  throw (rti1516e::FederateInternalError);
63 
65  virtual void initiateFederateSave(std::wstring const & label)
66  throw (rti1516e::FederateInternalError);
67 
68  virtual void initiateFederateSave(std::wstring const & label,
69  rti1516e::LogicalTime const & theTime)
70  throw (rti1516e::FederateInternalError);
71 
73  virtual void federationSaved()
74  throw (rti1516e::FederateInternalError);
75 
76  virtual void federationNotSaved(rti1516e::SaveFailureReason theSaveFailureReason)
77  throw (rti1516e::FederateInternalError);
78 
79 
81  virtual void federationSaveStatusResponse(
82  rti1516e::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
83  throw (rti1516e::FederateInternalError);
84 
86  virtual void requestFederationRestoreSucceeded(std::wstring const & label)
87  throw (rti1516e::FederateInternalError);
88 
89  virtual void requestFederationRestoreFailed(std::wstring const & label)
90  throw (rti1516e::FederateInternalError);
91 
93  virtual void federationRestoreBegun()
94  throw (rti1516e::FederateInternalError);
95 
97  virtual void initiateFederateRestore(std::wstring const & label,
98  rti1516e::FederateHandle handle)
99  throw (rti1516e::FederateInternalError);
100 
102  virtual void federationRestored()
103  throw (rti1516e::FederateInternalError);
104 
105  virtual void federationNotRestored(rti1516e::RestoreFailureReason theRestoreFailureReason)
106  throw (rti1516e::FederateInternalError);
107 
109  virtual void federationRestoreStatusResponse(
110  rti1516e::FederateRestoreStatusVector const & theFederateStatusVector)
111  throw (rti1516e::FederateInternalError);
112 
116 
118  virtual void startRegistrationForObjectClass(rti1516e::ObjectClassHandle theClass)
119  throw (rti1516e::FederateInternalError);
120 
122  virtual void stopRegistrationForObjectClass(rti1516e::ObjectClassHandle theClass)
123  throw (rti1516e::FederateInternalError);
124 
126  virtual void turnInteractionsOn(rti1516e::InteractionClassHandle theHandle)
127  throw (rti1516e::FederateInternalError);
128 
130  virtual void turnInteractionsOff(rti1516e::InteractionClassHandle theHandle)
131  throw (rti1516e::FederateInternalError);
132 
136 
138  virtual void objectInstanceNameReservationSucceeded(std::wstring const &
139  theObjectInstanceName)
140  throw (rti1516e::FederateInternalError);
141 
142  virtual void objectInstanceNameReservationFailed(std::wstring const &
143  theObjectInstanceName)
144  throw (rti1516e::FederateInternalError);
145 
146  // 6.6
147  virtual void multipleObjectInstanceNameReservationSucceeded (
148  std::set<std::wstring> const & theObjectInstanceNames)
149  throw (
150  rti1516e::FederateInternalError);
151 
152  virtual void multipleObjectInstanceNameReservationFailed (
153  std::set<std::wstring> const & theObjectInstanceNames)
154  throw (
155  rti1516e::FederateInternalError);
156 
157 
159  virtual void discoverObjectInstance(rti1516e::ObjectInstanceHandle theObject,
160  rti1516e::ObjectClassHandle theObjectClass,
161  std::wstring const & theObjectInstanceName)
162  throw (rti1516e::FederateInternalError);
163 
164  virtual void discoverObjectInstance (
165  rti1516e::ObjectInstanceHandle theObject,
166  rti1516e::ObjectClassHandle theObjectClass,
167  std::wstring const & theObjectInstanceName,
168  rti1516e::FederateHandle producingFederate)
169  throw (
170  rti1516e::FederateInternalError);
171 
172  virtual void reflectAttributeValues (
173  rti1516e::ObjectInstanceHandle theObject,
174  rti1516e::AttributeHandleValueMap const & theAttributeValues,
175  rti1516e::VariableLengthData const & theUserSuppliedTag,
176  rti1516e::OrderType sentOrder,
177  rti1516e::TransportationType theType,
178  rti1516e::SupplementalReflectInfo theReflectInfo)
179  throw (
180  rti1516e::FederateInternalError);
181 
182  virtual void reflectAttributeValues (
183  rti1516e::ObjectInstanceHandle theObject,
184  rti1516e::AttributeHandleValueMap const & theAttributeValues,
185  rti1516e::VariableLengthData const & theUserSuppliedTag,
186  rti1516e::OrderType sentOrder,
187  rti1516e::TransportationType theType,
188  rti1516e::LogicalTime const & theTime,
189  rti1516e::OrderType receivedOrder,
190  rti1516e::SupplementalReflectInfo theReflectInfo)
191  throw (
192  rti1516e::FederateInternalError);
193 
194  virtual void reflectAttributeValues (
195  rti1516e::ObjectInstanceHandle theObject,
196  rti1516e::AttributeHandleValueMap const & theAttributeValues,
197  rti1516e::VariableLengthData const & theUserSuppliedTag,
198  rti1516e::OrderType sentOrder,
199  rti1516e::TransportationType theType,
200  rti1516e::LogicalTime const & theTime,
201  rti1516e::OrderType receivedOrder,
202  rti1516e::MessageRetractionHandle theHandle,
203  rti1516e::SupplementalReflectInfo theReflectInfo)
204  throw (
205  rti1516e::FederateInternalError);
206 
207  // 6.13
208  virtual void receiveInteraction (
209  rti1516e::InteractionClassHandle theInteraction,
210  rti1516e::ParameterHandleValueMap const & theParameterValues,
211  rti1516e::VariableLengthData const & theUserSuppliedTag,
212  rti1516e::OrderType sentOrder,
213  rti1516e::TransportationType theType,
214  rti1516e::SupplementalReceiveInfo theReceiveInfo)
215  throw (
216  rti1516e::FederateInternalError);
217 
218  virtual void receiveInteraction (
219  rti1516e::InteractionClassHandle theInteraction,
220  rti1516e::ParameterHandleValueMap const & theParameterValues,
221  rti1516e::VariableLengthData const & theUserSuppliedTag,
222  rti1516e::OrderType sentOrder,
223  rti1516e::TransportationType theType,
224  rti1516e::LogicalTime const & theTime,
225  rti1516e::OrderType receivedOrder,
226  rti1516e::SupplementalReceiveInfo theReceiveInfo)
227  throw (
228  rti1516e::FederateInternalError);
229 
230  virtual void receiveInteraction (
231  rti1516e::InteractionClassHandle theInteraction,
232  rti1516e::ParameterHandleValueMap const & theParameterValues,
233  rti1516e::VariableLengthData const & theUserSuppliedTag,
234  rti1516e::OrderType sentOrder,
235  rti1516e::TransportationType theType,
236  rti1516e::LogicalTime const & theTime,
237  rti1516e::OrderType receivedOrder,
238  rti1516e::MessageRetractionHandle theHandle,
239  rti1516e::SupplementalReceiveInfo theReceiveInfo)
240  throw (
241  rti1516e::FederateInternalError);
242 
243  // 6.15
244  virtual void removeObjectInstance (
245  rti1516e::ObjectInstanceHandle theObject,
246  rti1516e::VariableLengthData const & theUserSuppliedTag,
247  rti1516e::OrderType sentOrder,
248  rti1516e::SupplementalRemoveInfo theRemoveInfo)
249  throw (
250  rti1516e::FederateInternalError);
251 
252  virtual void removeObjectInstance (
253  rti1516e::ObjectInstanceHandle theObject,
254  rti1516e::VariableLengthData const & theUserSuppliedTag,
255  rti1516e::OrderType sentOrder,
256  rti1516e::LogicalTime const & theTime,
257  rti1516e::OrderType receivedOrder,
258  rti1516e::SupplementalRemoveInfo theRemoveInfo)
259  throw (
260  rti1516e::FederateInternalError);
261 
262  virtual void removeObjectInstance (
263  rti1516e::ObjectInstanceHandle theObject,
264  rti1516e::VariableLengthData const & theUserSuppliedTag,
265  rti1516e::OrderType sentOrder,
266  rti1516e::LogicalTime const & theTime,
267  rti1516e::OrderType receivedOrder,
268  rti1516e::MessageRetractionHandle theHandle,
269  rti1516e::SupplementalRemoveInfo theRemoveInfo)
270  throw (
271  rti1516e::FederateInternalError);
272 
274  virtual void attributesInScope
275  (rti1516e::ObjectInstanceHandle theObject,
276  rti1516e::AttributeHandleSet const & theAttributes)
277  throw (rti1516e::FederateInternalError);
278 
280  virtual void attributesOutOfScope
281  (rti1516e::ObjectInstanceHandle theObject,
282  rti1516e::AttributeHandleSet const & theAttributes)
283  throw (rti1516e::FederateInternalError);
284 
286  virtual void provideAttributeValueUpdate
287  (rti1516e::ObjectInstanceHandle theObject,
288  rti1516e::AttributeHandleSet const & theAttributes,
289  rti1516e::VariableLengthData const & theUserSuppliedTag)
290  throw (rti1516e::FederateInternalError);
291 
293  virtual void turnUpdatesOnForObjectInstance
294  (rti1516e::ObjectInstanceHandle theObject,
295  rti1516e::AttributeHandleSet const & theAttributes)
296  throw (rti1516e::FederateInternalError);
297 
298  virtual void turnUpdatesOnForObjectInstance (
299  rti1516e::ObjectInstanceHandle theObject,
300  rti1516e::AttributeHandleSet const & theAttributes,
301  std::wstring const & updateRateDesignator)
302  throw (
303  rti1516e::FederateInternalError);
304 
307  (rti1516e::ObjectInstanceHandle theObject,
308  rti1516e::AttributeHandleSet const & theAttributes)
309  throw (rti1516e::FederateInternalError);
310 
311  // 6.24
312  virtual void confirmAttributeTransportationTypeChange (
313  rti1516e::ObjectInstanceHandle theObject,
314  rti1516e::AttributeHandleSet theAttributes,
315  rti1516e::TransportationType theTransportation)
316  throw (
317  rti1516e::FederateInternalError);
318 
319  // 6.26
320  virtual void reportAttributeTransportationType (
321  rti1516e::ObjectInstanceHandle theObject,
322  rti1516e::AttributeHandle theAttribute,
323  rti1516e::TransportationType theTransportation)
324  throw (
325  rti1516e::FederateInternalError);
326 
327  // 6.28
328  virtual void confirmInteractionTransportationTypeChange (
329  rti1516e::InteractionClassHandle theInteraction,
330  rti1516e::TransportationType theTransportation)
331  throw (
332  rti1516e::FederateInternalError);
333 
334  // 6.30
335  virtual void reportInteractionTransportationType (
336  rti1516e::FederateHandle federateHandle,
337  rti1516e::InteractionClassHandle theInteraction,
338  rti1516e::TransportationType theTransportation)
339  throw (
340  rti1516e::FederateInternalError);
341 
345 
348  (rti1516e::ObjectInstanceHandle theObject,
349  rti1516e::AttributeHandleSet const & offeredAttributes,
350  rti1516e::VariableLengthData const & theUserSuppliedTag)
351  throw (rti1516e::FederateInternalError);
352 
354  virtual void requestDivestitureConfirmation
355  (rti1516e::ObjectInstanceHandle theObject,
356  rti1516e::AttributeHandleSet const & releasedAttributes)
357  throw (rti1516e::FederateInternalError);
358 
361  (rti1516e::ObjectInstanceHandle theObject,
362  rti1516e::AttributeHandleSet const & securedAttributes,
363  rti1516e::VariableLengthData const & theUserSuppliedTag)
364  throw (rti1516e::FederateInternalError);
365 
367  virtual void attributeOwnershipUnavailable
368  (rti1516e::ObjectInstanceHandle theObject,
369  rti1516e::AttributeHandleSet const & theAttributes)
370  throw (rti1516e::FederateInternalError);
371 
374  (rti1516e::ObjectInstanceHandle theObject,
375  rti1516e::AttributeHandleSet const & candidateAttributes,
376  rti1516e::VariableLengthData const & theUserSuppliedTag)
377  throw (rti1516e::FederateInternalError);
378 
381  (rti1516e::ObjectInstanceHandle theObject,
382  rti1516e::AttributeHandleSet const & theAttributes)
383  throw (rti1516e::FederateInternalError);
384 
386  virtual
387  void
388  informAttributeOwnership(rti1516e::ObjectInstanceHandle theObject,
389  rti1516e::AttributeHandle theAttribute,
390  rti1516e::FederateHandle theOwner)
391  throw (rti1516e::FederateInternalError);
392 
393  virtual void attributeIsNotOwned(rti1516e::ObjectInstanceHandle theObject,
394  rti1516e::AttributeHandle theAttribute)
395  throw (rti1516e::FederateInternalError);
396 
397  virtual void attributeIsOwnedByRTI(rti1516e::ObjectInstanceHandle theObject,
398  rti1516e::AttributeHandle theAttribute)
399  throw (rti1516e::FederateInternalError);
400 
404 
406  virtual void timeRegulationEnabled(rti1516e::LogicalTime const & theFederateTime)
407  throw (rti1516e::FederateInternalError);
408 
410  virtual void timeConstrainedEnabled(rti1516e::LogicalTime const & theFederateTime)
411  throw (rti1516e::FederateInternalError);
412 
414  virtual void timeAdvanceGrant(rti1516e::LogicalTime const & theTime)
415  throw (rti1516e::FederateInternalError);
416 
418  virtual void requestRetraction(rti1516e::MessageRetractionHandle theHandle)
419  throw (rti1516e::FederateInternalError);
420 
421 protected:
422 
424  virtual DtFomClassMgr* fom();
425  virtual DtObjectMgr* objMgr();
426 
427 protected:
428  DtFederateMgr* myFedMgr;
429 };
430 
431 #endif
432 #endif
std::vector< FederateHandleSaveStatusPair > FederateHandleSaveStatusPairVector
Definition: Typedefs.h:57
virtual void requestAttributeOwnershipRelease(ObjectHandle theObject, const AttributeHandleSet &candidateAttributes, const char *theTag)=0
7.10
OrderType
Definition: datatypes.pb.h:472
virtual void attributesOutOfScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.14
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)
TransportationType
Definition: rtiAmbassadorFedProBase.h:43
virtual void federationNotRestored()=0
virtual void attributesInScope(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
6.13
virtual void attributeOwnershipUnavailable(ObjectHandle theObject, const AttributeHandleSet &theAttributes)=0
7.9
RestoreFailureReason
Definition: datatypes.pb.h:388
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:93
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
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:41
Definition: fomMgr.h:49
SaveFailureReason
Definition: datatypes.pb.h:359
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::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:36
virtual void turnInteractionsOff(InteractionClassHandle theHandle)=0
5.13
The object manager class processes the object management services.
Definition: objMgr.h:81
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:27
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
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:155
virtual void federationRestoreBegun()=0
4.18
virtual void federationSaved()=0
4.15
virtual void timeConstrainedEnabled(const FedTime &theFederateTime)=0
8.6
virtual void timeRegulationEnabled(const FedTime &theFederateTime)=0
! Time Management Services //!
virtual void turnInteractionsOn(InteractionClassHandle theHandle)=0
5.12
SynchronizationPointFailureReason
Definition: datatypes.pb.h:334

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)