MAK RTIspy API Documentation for HLA 1.3
momWrapper1516e.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: momWrapper1516e.h,v $ $Revision: 1.0 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtMomWrapper1516e_h
13 #define DtMomWrapper1516e_h
14 #ifdef DtMOM
15 #ifdef DtIFSPEC1516E
16 
17 #include "rtiMsConfig.h"
18 #include "fedAmbWrap1516e.h"
19 #include "momArgument.h"
20 
21 class DtMomMgr;
22 
23 class DT_DLL_LRC DtMomWrapper : public DtFedAmbWrapper
24 {
25 public:
26 
28  DtMomWrapper( DtMomMgr* momMgrPtr );
29 
31  virtual ~DtMomWrapper() throw ();
32 
34  virtual DtMomMgr* momMgr();
35 
37  virtual void reset();
38 
41  virtual unsigned long objectRemoveCount() const;
42 
45  virtual unsigned long objectDiscoverCount() const;
46 
48 
49 
51  virtual
52  void
53  synchronizationPointRegistrationSucceeded(std::wstring const & label)
54  throw (rti1516e::FederateInternalError);
55 
56  virtual
57  void
58  synchronizationPointRegistrationFailed(std::wstring const & label,
59  rti1516e::SynchronizationPointFailureReason reason)
60  throw (rti1516e::FederateInternalError);
61 
63  virtual
64  void
65  announceSynchronizationPoint(std::wstring const & label,
66  rti1516e::VariableLengthData const & theUserSuppliedTag)
67  throw (rti1516e::FederateInternalError);
68 
70  virtual
71  void
72  federationSynchronized(std::wstring const & label)
73  throw (rti1516e::FederateInternalError);
74 
76  virtual
77  void
78  initiateFederateSave(std::wstring const & label)
79  throw (rti1516e::FederateInternalError);
80 
81  virtual
82  void
83  initiateFederateSave(std::wstring const & label,
84  rti1516e::LogicalTime const & theTime)
85  throw (rti1516e::FederateInternalError);
86 
88  virtual
89  void
91  throw (rti1516e::FederateInternalError);
92 
93  virtual
94  void
95  federationNotSaved(rti1516e::SaveFailureReason theSaveFailureReason)
96  throw (rti1516e::FederateInternalError);
97 
98 
100  virtual
101  void
102  federationSaveStatusResponse(
103  rti1516e::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
104  throw (rti1516e::FederateInternalError);
105 
107  virtual
108  void
109  requestFederationRestoreSucceeded(std::wstring const & label)
110  throw (rti1516e::FederateInternalError);
111 
112  virtual
113  void
114  requestFederationRestoreFailed(std::wstring const & label)
115  throw (rti1516e::FederateInternalError);
116 
118  virtual
119  void
121  throw (rti1516e::FederateInternalError);
122 
124  virtual
125  void
126  initiateFederateRestore(std::wstring const & label,
127  rti1516e::FederateHandle handle)
128  throw (rti1516e::FederateInternalError);
129 
131  virtual
132  void
134  throw (rti1516e::FederateInternalError);
135 
136  virtual
137  void
138  federationNotRestored(rti1516e::RestoreFailureReason theRestoreFailureReason)
139  throw (rti1516e::FederateInternalError);
140 
142  virtual
143  void
144  federationRestoreStatusResponse(
145  rti1516e::FederateRestoreStatusVector const & theFederateStatusVector)
146  throw (rti1516e::FederateInternalError);
148 
150 
151 
153  virtual
154  void
156  throw (rti1516e::FederateInternalError);
157 
159  virtual
160  void
162  throw (rti1516e::FederateInternalError);
163 
165  virtual
166  void
167  turnInteractionsOn(rti1516e::InteractionClassHandle theHandle)
168  throw (rti1516e::FederateInternalError);
169 
171  virtual
172  void
173  turnInteractionsOff(rti1516e::InteractionClassHandle theHandle)
174  throw (rti1516e::FederateInternalError);
176 
178 
179 
181  virtual
182  void
183  objectInstanceNameReservationSucceeded(std::wstring const &
184  theObjectInstanceName)
185  throw (rti1516e::FederateInternalError);
186 
187  virtual
188  void
189  objectInstanceNameReservationFailed(std::wstring const &
190  theObjectInstanceName)
191  throw (rti1516e::FederateInternalError);
192 
193 
195  virtual
196  void
197  discoverObjectInstance(rti1516e::ObjectInstanceHandle theObject,
198  rti1516e::ObjectClassHandle theObjectClass,
199  std::wstring const & theObjectInstanceName)
200  throw (rti1516e::FederateInternalError);
201 
203  virtual
204  void
206  (rti1516e::ObjectInstanceHandle theObject,
207  rti1516e::AttributeHandleValueMap const & theAttributeValues,
208  rti1516e::VariableLengthData const & theUserSuppliedTag,
209  rti1516e::OrderType sentOrder,
210  rti1516e::TransportationType theType)
211  throw (rti1516e::FederateInternalError);
212 
213  virtual
214  void
216  (rti1516e::ObjectInstanceHandle theObject,
217  rti1516e::AttributeHandleValueMap const & theAttributeValues,
218  rti1516e::VariableLengthData const & theUserSuppliedTag,
219  rti1516e::OrderType sentOrder,
220  rti1516e::TransportationType theType,
221  rti1516e::RegionHandleSet const & theSentRegionHandleSet)
222  throw (rti1516e::FederateInternalError);
223 
224  virtual
225  void
227  (rti1516e::ObjectInstanceHandle theObject,
228  rti1516e::AttributeHandleValueMap const & theAttributeValues,
229  rti1516e::VariableLengthData const & theUserSuppliedTag,
230  rti1516e::OrderType sentOrder,
231  rti1516e::TransportationType theType,
232  rti1516e::LogicalTime const & theTime,
233  rti1516e::OrderType receivedOrder)
234  throw (rti1516e::FederateInternalError);
235 
236  virtual
237  void
239  (rti1516e::ObjectInstanceHandle theObject,
240  rti1516e::AttributeHandleValueMap const & theAttributeValues,
241  rti1516e::VariableLengthData const & theUserSuppliedTag,
242  rti1516e::OrderType sentOrder,
243  rti1516e::TransportationType theType,
244  rti1516e::LogicalTime const & theTime,
245  rti1516e::OrderType receivedOrder,
246  rti1516e::RegionHandleSet const & theSentRegionHandleSet)
247  throw (rti1516e::FederateInternalError);
248 
249  virtual
250  void
252  (rti1516e::ObjectInstanceHandle theObject,
253  rti1516e::AttributeHandleValueMap const & theAttributeValues,
254  rti1516e::VariableLengthData const & theUserSuppliedTag,
255  rti1516e::OrderType sentOrder,
256  rti1516e::TransportationType theType,
257  rti1516e::LogicalTime const & theTime,
258  rti1516e::OrderType receivedOrder,
259  rti1516e::MessageRetractionHandle theHandle)
260  throw (rti1516e::FederateInternalError);
261 
262  virtual
263  void
265  (rti1516e::ObjectInstanceHandle theObject,
266  rti1516e::AttributeHandleValueMap const & theAttributeValues,
267  rti1516e::VariableLengthData const & theUserSuppliedTag,
268  rti1516e::OrderType sentOrder,
269  rti1516e::TransportationType theType,
270  rti1516e::LogicalTime const & theTime,
271  rti1516e::OrderType receivedOrder,
272  rti1516e::MessageRetractionHandle theHandle,
273  rti1516e::RegionHandleSet const & theSentRegionHandleSet)
274  throw (rti1516e::FederateInternalError);
275 
277  virtual
278  void
280  (rti1516e::InteractionClassHandle theInteraction,
281  rti1516e::ParameterHandleValueMap const & theParameterValues,
282  rti1516e::VariableLengthData const & theUserSuppliedTag,
283  rti1516e::OrderType sentOrder,
284  rti1516e::TransportationType theType)
285  throw (rti1516e::FederateInternalError);
286 
287  virtual
288  void
290  (rti1516e::InteractionClassHandle theInteraction,
291  rti1516e::ParameterHandleValueMap const & theParameterValues,
292  rti1516e::VariableLengthData const & theUserSuppliedTag,
293  rti1516e::OrderType sentOrder,
294  rti1516e::TransportationType theType,
295  rti1516e::RegionHandleSet const & theSentRegionHandleSet)
296  throw (rti1516e::FederateInternalError);
297 
298  virtual
299  void
301  (rti1516e::InteractionClassHandle theInteraction,
302  rti1516e::ParameterHandleValueMap const & theParameterValues,
303  rti1516e::VariableLengthData const & theUserSuppliedTag,
304  rti1516e::OrderType sentOrder,
305  rti1516e::TransportationType theType,
306  rti1516e::LogicalTime const & theTime,
307  rti1516e::OrderType receivedOrder)
308  throw (rti1516e::FederateInternalError);
309 
310  virtual
311  void
313  (rti1516e::InteractionClassHandle theInteraction,
314  rti1516e::ParameterHandleValueMap const & theParameterValues,
315  rti1516e::VariableLengthData const & theUserSuppliedTag,
316  rti1516e::OrderType sentOrder,
317  rti1516e::TransportationType theType,
318  rti1516e::LogicalTime const & theTime,
319  rti1516e::OrderType receivedOrder,
320  rti1516e::RegionHandleSet const & theSentRegionHandleSet)
321  throw (rti1516e::FederateInternalError);
322 
323  virtual
324  void
326  (rti1516e::InteractionClassHandle theInteraction,
327  rti1516e::ParameterHandleValueMap const & theParameterValues,
328  rti1516e::VariableLengthData const & theUserSuppliedTag,
329  rti1516e::OrderType sentOrder,
330  rti1516e::TransportationType theType,
331  rti1516e::LogicalTime const & theTime,
332  rti1516e::OrderType receivedOrder,
333  rti1516e::MessageRetractionHandle theHandle)
334  throw (rti1516e::FederateInternalError);
335 
336  virtual
337  void
339  (rti1516e::InteractionClassHandle theInteraction,
340  rti1516e::ParameterHandleValueMap const & theParameterValues,
341  rti1516e::VariableLengthData const & theUserSuppliedTag,
342  rti1516e::OrderType sentOrder,
343  rti1516e::TransportationType theType,
344  rti1516e::LogicalTime const & theTime,
345  rti1516e::OrderType receivedOrder,
346  rti1516e::MessageRetractionHandle theHandle,
347  rti1516e::RegionHandleSet const & theSentRegionHandleSet)
348  throw (rti1516e::FederateInternalError);
349 
351  virtual
352  void
353  removeObjectInstance(rti1516e::ObjectInstanceHandle theObject,
354  rti1516e::VariableLengthData const & theUserSuppliedTag,
355  rti1516e::OrderType sentOrder)
356  throw (rti1516e::FederateInternalError);
357 
358  virtual
359  void
360  removeObjectInstance(rti1516e::ObjectInstanceHandle theObject,
361  rti1516e::VariableLengthData const & theUserSuppliedTag,
362  rti1516e::OrderType sentOrder,
363  rti1516e::LogicalTime const & theTime,
364  rti1516e::OrderType receivedOrder)
365  throw (rti1516e::FederateInternalError);
366 
367  virtual
368  void
369  removeObjectInstance(rti1516e::ObjectInstanceHandle theObject,
370  rti1516e::VariableLengthData const & theUserSuppliedTag,
371  rti1516e::OrderType sentOrder,
372  rti1516e::LogicalTime const & theTime,
373  rti1516e::OrderType receivedOrder,
374  rti1516e::MessageRetractionHandle theHandle)
375  throw (rti1516e::FederateInternalError);
376 
378  virtual
379  void
381  (rti1516e::ObjectInstanceHandle theObject,
382  rti1516e::AttributeHandleSet const & theAttributes)
383  throw (rti1516e::FederateInternalError);
384 
386  virtual
387  void
389  (rti1516e::ObjectInstanceHandle theObject,
390  rti1516e::AttributeHandleSet const & theAttributes)
391  throw (rti1516e::FederateInternalError);
392 
394  virtual
395  void
397  (rti1516e::ObjectInstanceHandle theObject,
398  rti1516e::AttributeHandleSet const & theAttributes,
399  rti1516e::VariableLengthData const & theUserSuppliedTag)
400  throw (rti1516e::FederateInternalError);
401 
403  virtual
404  void
406  (rti1516e::ObjectInstanceHandle theObject,
407  rti1516e::AttributeHandleSet const & theAttributes)
408  throw (rti1516e::FederateInternalError);
409 
411  virtual
412  void
414  (rti1516e::ObjectInstanceHandle theObject,
415  rti1516e::AttributeHandleSet const & theAttributes)
416  throw (rti1516e::FederateInternalError);
418 
420 
421 
423  virtual
424  void
426  (rti1516e::ObjectInstanceHandle theObject,
427  rti1516e::AttributeHandleSet const & offeredAttributes,
428  rti1516e::VariableLengthData const & theUserSuppliedTag)
429  throw (rti1516e::FederateInternalError);
430 
432  virtual
433  void
434  requestDivestitureConfirmation
435  (rti1516e::ObjectInstanceHandle theObject,
436  rti1516e::AttributeHandleSet const & releasedAttributes)
437  throw (rti1516e::FederateInternalError);
438 
440  virtual
441  void
443  (rti1516e::ObjectInstanceHandle theObject,
444  rti1516e::AttributeHandleSet const & securedAttributes,
445  rti1516e::VariableLengthData const & theUserSuppliedTag)
446  throw (rti1516e::FederateInternalError);
447 
449  virtual
450  void
452  (rti1516e::ObjectInstanceHandle theObject,
453  rti1516e::AttributeHandleSet const & theAttributes)
454  throw (rti1516e::FederateInternalError);
455 
457  virtual
458  void
460  (rti1516e::ObjectInstanceHandle theObject,
461  rti1516e::AttributeHandleSet const & candidateAttributes,
462  rti1516e::VariableLengthData const & theUserSuppliedTag)
463  throw (rti1516e::FederateInternalError);
464 
466  virtual
467  void
469  (rti1516e::ObjectInstanceHandle theObject,
470  rti1516e::AttributeHandleSet const & theAttributes)
471  throw (rti1516e::FederateInternalError);
472 
474  virtual
475  void
476  informAttributeOwnership(rti1516e::ObjectInstanceHandle theObject,
477  rti1516e::AttributeHandle theAttribute,
478  rti1516e::FederateHandle theOwner)
479  throw (rti1516e::FederateInternalError);
480 
481  virtual
482  void
483  attributeIsNotOwned(rti1516e::ObjectInstanceHandle theObject,
484  rti1516e::AttributeHandle theAttribute)
485  throw (rti1516e::FederateInternalError);
486 
487  virtual
488  void
489  attributeIsOwnedByRTI(rti1516e::ObjectInstanceHandle theObject,
490  rti1516e::AttributeHandle theAttribute)
491  throw (rti1516e::FederateInternalError);
492 
496 
498  virtual
499  void
500  timeRegulationEnabled(rti1516e::LogicalTime const & theFederateTime)
501  throw (rti1516e::FederateInternalError);
502 
504  virtual
505  void
506  timeConstrainedEnabled(rti1516e::LogicalTime const & theFederateTime)
507  throw (rti1516e::FederateInternalError);
508 
510  virtual
511  void
512  timeAdvanceGrant(rti1516e::LogicalTime const & theTime)
513  throw (rti1516e::FederateInternalError);
514 
516  virtual
517  void
518  requestRetraction(rti1516e::MessageRetractionHandle theHandle)
519  throw (rti1516e::FederateInternalError);
521 
522 private:
524  DtMomWrapper( const DtMomWrapper& src );
525 
527  DtMomWrapper& operator=( const DtMomWrapper& src );
528 
529 protected:
530  DtMomMgr* myMomMgr;
531  unsigned long myDiscoverCount;
532  unsigned long myRemoveCount;
533 
534 protected:
535  static const DtMomArgument theDfltMomArgument;
536  static DtMomArgument theDfltRetVal;
537 };
538 
539 #endif
540 #endif
541 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)