MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
momObserver1516e.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #ifdef DtMOM
12 #ifdef DtIFSPEC1516E
13 
14 #include "ambObserver1516e.h"
15 #include "momArgument.h"
16 
17 class DtFederateMgr;
18 class DtFomClassMgr;
19 class DtMomMgr;
20 class DtObjectMgr;
21 class DtMomObserver;
22 
24 typedef DtMomObserver* (*DtMomObserverCreator)(DtMomMgr* momMgrPtr);
25 
26 class DtMomObserver : public DtRtiAmbassadorObserver
27 {
28 public:
30 
31  static DtMomObserver* create(DtMomMgr* momMgrPtr);
32  static void setCreator(DtMomObserverCreator functionPtr);
34 
36  DtMomObserver(DtMomMgr* momMgrPtr);
37 
39  virtual ~DtMomObserver();
40 
42  virtual void reset();
43 
46  virtual unsigned long objectRegisterCount() const;
47 
50  virtual unsigned long objectDeleteCount() const;
51 
53 
55 
56  virtual void createFederationExecution
58  (std::wstring const & federationExecutionName,
59  std::wstring const & fullPathNameToTheFDDfile,
60  std::wstring const & logicalTimeImplementationName,
61  rti1516e::Exception* except=NULL);
62 
63  virtual void createFederationExecution(std::wstring const & federationExecutionName,
64  std::vector<std::wstring> const & fomModules, std::wstring const & logicalTimeImplementationName,
65  rti1516e::Exception* except=NULL);
66 
67  virtual void createFederationExecution(std::wstring const & federationExecutionName,
68  std::vector<std::wstring> const & fomModules, std::wstring const & mimModule,
69  std::wstring const & logicalTimeImplementationName, rti1516e::Exception* except=NULL);
70 
72  virtual void destroyFederationExecution
73  (std::wstring const & federationExecutionName,
74  rti1516e::Exception* except=NULL);
75 
77  virtual void joinFederationExecution
78  (std::wstring const & federateType,
79  std::wstring const & federationExecutionName,
80  rti1516e::FederateAmbassador & federateAmbassador,
81  rti1516e::FederateHandle const & federateHandle,
82  rti1516e::Exception* except=NULL);
83 
84  virtual void joinFederationExecution(std::wstring const & federateType, std::wstring const & federationExecutionName, std::vector<std::wstring> const & additionalFomModules, rti1516e::FederateHandle const & result, rti1516e::Exception* except=NULL);
85 
86  virtual void joinFederationExecution(std::wstring const & federateName, std::wstring const & federateType, std::wstring const & federationExecutionName, std::vector<std::wstring> const & additionalFomModules, rti1516e::FederateHandle const & result, rti1516e::Exception* except=NULL);
87 
89  virtual void resignFederationExecution
90  (rti1516e::ResignAction resignAction,
91  rti1516e::Exception* except=NULL);
92 
94  virtual void registerFederationSynchronizationPoint
95  (std::wstring const & label,
96  rti1516e::VariableLengthData const & theUserSuppliedTag,
97  rti1516e::Exception* except=NULL);
98 
99  virtual void registerFederationSynchronizationPoint
100  (std::wstring const & label,
101  rti1516e::VariableLengthData const & theUserSuppliedTag,
102  rti1516e::FederateHandleSet const & syncSet,
103  rti1516e::Exception* except=NULL);
104 
106  virtual void listFederationExecutions (
107  rti1516e::Exception* except=NULL);
108 
110  virtual void synchronizationPointAchieved (
111  std::wstring const & label,
112  bool successfully,
113  rti1516e::Exception* except=NULL);
114 
116  virtual void requestFederationSave
117  (std::wstring const & label,
118  rti1516e::Exception* except=NULL);
119 
120  virtual void requestFederationSave
121  (std::wstring const & label,
122  rti1516e::LogicalTime const & theTime,
123  rti1516e::Exception* except=NULL);
124 
126  virtual void federateSaveBegun (
127  rti1516e::Exception* except=NULL);
128 
130  virtual void federateSaveComplete (
131  rti1516e::Exception* except=NULL);
132 
133  virtual void federateSaveNotComplete(
134  rti1516e::Exception* except=NULL);
135 
137  virtual void queryFederationSaveStatus (
138  rti1516e::Exception* except=NULL);
139 
141  virtual void requestFederationRestore
142  (std::wstring const & label,
143  rti1516e::Exception* except=NULL);
144 
146  virtual void federateRestoreComplete (
147  rti1516e::Exception* except=NULL);
148 
149  virtual void federateRestoreNotComplete (
150  rti1516e::Exception* except=NULL);
151 
153  virtual void queryFederationRestoreStatus (
154  rti1516e::Exception* except=NULL);
156 
158 
159 
161  virtual void publishObjectClassAttributes
162  (rti1516e::ObjectClassHandle const & theClass,
163  rti1516e::AttributeHandleSet const & attributeList,
164  rti1516e::Exception* except=NULL);
165 
167  virtual void unpublishObjectClass
168  (rti1516e::ObjectClassHandle const & theClass,
169  rti1516e::Exception* except=NULL);
170 
171  virtual void unpublishObjectClassAttributes
172  (rti1516e::ObjectClassHandle const & theClass,
173  rti1516e::AttributeHandleSet const & attributeList,
174  rti1516e::Exception* except=NULL);
175 
177  virtual void publishInteractionClass
178  (rti1516e::InteractionClassHandle const & theInteraction,
179  rti1516e::Exception* except=NULL);
180 
182  virtual void unpublishInteractionClass
183  (rti1516e::InteractionClassHandle const & theInteraction,
184  rti1516e::Exception* except=NULL);
185 
187  virtual void subscribeObjectClassAttributes
188  (rti1516e::ObjectClassHandle const & theClass,
189  rti1516e::AttributeHandleSet const & attributeList,
190  bool active,
191  std::wstring const & updateRateDesignator,
192  rti1516e::Exception* except=NULL);
193 
195  virtual void unsubscribeObjectClass
196  (rti1516e::ObjectClassHandle const & theClass,
197  rti1516e::Exception* except=NULL);
198 
199  virtual void unsubscribeObjectClassAttributes
200  (rti1516e::ObjectClassHandle const & theClass,
201  rti1516e::AttributeHandleSet const & attributeList,
202  rti1516e::Exception* except=NULL);
203 
205  virtual void subscribeInteractionClass
206  (rti1516e::InteractionClassHandle const & theClass,
207  bool active,
208  rti1516e::Exception* except=NULL);
209 
211  virtual void unsubscribeInteractionClass
212  (rti1516e::InteractionClassHandle const & theClass,
213  rti1516e::Exception* except=NULL);
215 
217 
218 
220  virtual void reserveObjectInstanceName
221  (std::wstring const & theObjectInstanceName,
222  rti1516e::Exception* except=NULL);
223 
225  virtual void registerObjectInstance
226  (rti1516e::ObjectClassHandle const & theClass,
227  rti1516e::ObjectInstanceHandle const & objectHandle,
228  rti1516e::Exception* except=NULL);
229 
230  virtual void registerObjectInstance
231  (rti1516e::ObjectClassHandle const & theClass,
232  std::wstring const & theObjectInstanceName,
233  rti1516e::ObjectInstanceHandle const & objectHandle,
234  rti1516e::Exception* except=NULL);
235 
237  virtual void updateAttributeValues
238  (rti1516e::ObjectInstanceHandle const & theObject,
239  rti1516e::AttributeHandleValueMap const & theAttributeValues,
240  rti1516e::VariableLengthData const & theUserSuppliedTag,
241  rti1516e::Exception* except=NULL);
242 
243  virtual void updateAttributeValues
244  (rti1516e::ObjectInstanceHandle const & theObject,
245  rti1516e::AttributeHandleValueMap const & theAttributeValues,
246  rti1516e::VariableLengthData const & theUserSuppliedTag,
247  rti1516e::LogicalTime const & theTime,
248  rti1516e::MessageRetractionHandle const & retractHandle,
249  rti1516e::Exception* except=NULL);
250 
252  virtual void sendInteraction
253  (rti1516e::InteractionClassHandle const & theInteraction,
254  rti1516e::ParameterHandleValueMap const & theParameterValues,
255  rti1516e::VariableLengthData const & theUserSuppliedTag,
256  rti1516e::Exception* except=NULL);
257 
258  virtual void sendInteraction
259  (rti1516e::InteractionClassHandle const & theInteraction,
260  rti1516e::ParameterHandleValueMap const & theParameterValues,
261  rti1516e::VariableLengthData const & theUserSuppliedTag,
262  rti1516e::LogicalTime const & theTime,
263  rti1516e::MessageRetractionHandle const & retractHandle,
264  rti1516e::Exception* except=NULL);
265 
267  virtual void deleteObjectInstance
268  (rti1516e::ObjectInstanceHandle const & theObject,
269  rti1516e::VariableLengthData const & theUserSuppliedTag,
270  rti1516e::Exception* except=NULL);
271 
272  virtual void deleteObjectInstance
273  (rti1516e::ObjectInstanceHandle const & theObject,
274  rti1516e::VariableLengthData const & theUserSuppliedTag,
275  rti1516e::LogicalTime const & theTime,
276  rti1516e::MessageRetractionHandle const & retractHandle,
277  rti1516e::Exception* except=NULL);
278 
280  virtual void localDeleteObjectInstance
281  (rti1516e::ObjectInstanceHandle const & theObject,
282  rti1516e::Exception* except=NULL);
283 
285  virtual void requestAttributeValueUpdate
286  (rti1516e::ObjectInstanceHandle const & theObject,
287  rti1516e::AttributeHandleSet const & theAttributes,
288  rti1516e::VariableLengthData const & theUserSuppliedTag,
289  rti1516e::Exception* except=NULL);
290 
291  virtual void requestAttributeValueUpdate
292  (rti1516e::ObjectClassHandle const & theClass,
293  rti1516e::AttributeHandleSet const & theAttributes,
294  rti1516e::VariableLengthData const & theUserSuppliedTag,
295  rti1516e::Exception* except=NULL);
296 
297  // 6.27
298  virtual void requestInteractionTransportationTypeChange (
299  rti1516e::InteractionClassHandle const & theClass,
302 
304 
305 
307  virtual void unconditionalAttributeOwnershipDivestiture
308  (rti1516e::ObjectInstanceHandle const & theObject,
309  rti1516e::AttributeHandleSet const & theAttributes,
310  rti1516e::Exception* except=NULL);
311 
313  virtual void negotiatedAttributeOwnershipDivestiture
314  (rti1516e::ObjectInstanceHandle const & theObject,
315  rti1516e::AttributeHandleSet const & theAttributes,
316  rti1516e::VariableLengthData const & theUserSuppliedTag,
317  rti1516e::Exception* except=NULL);
318 
320  virtual void confirmDivestiture
321  (rti1516e::ObjectInstanceHandle const & theObject,
322  rti1516e::AttributeHandleSet const & confirmedAttributes,
323  rti1516e::VariableLengthData const & theUserSuppliedTag,
324  rti1516e::Exception* except=NULL);
325 
327  virtual void attributeOwnershipAcquisition
328  (rti1516e::ObjectInstanceHandle const & theObject,
329  rti1516e::AttributeHandleSet const & desiredAttributes,
330  rti1516e::VariableLengthData const & theUserSuppliedTag,
331  rti1516e::Exception* except=NULL);
332 
334  virtual void attributeOwnershipAcquisitionIfAvailable
335  (rti1516e::ObjectInstanceHandle const & theObject,
336  rti1516e::AttributeHandleSet const & desiredAttributes,
337  rti1516e::Exception* except=NULL);
338 
340  virtual void attributeOwnershipDivestitureIfWanted
341  (rti1516e::ObjectInstanceHandle const & theObject,
342  rti1516e::AttributeHandleSet const & theAttributes,
343  rti1516e::AttributeHandleSet & theDivestedAttributes,
344  rti1516e::Exception* except=NULL);
345 
347  virtual void cancelNegotiatedAttributeOwnershipDivestiture
348  (rti1516e::ObjectInstanceHandle const & theObject,
349  rti1516e::AttributeHandleSet const & theAttributes,
350  rti1516e::Exception* except=NULL);
351 
353  virtual void cancelAttributeOwnershipAcquisition
354  (rti1516e::ObjectInstanceHandle const & theObject,
355  rti1516e::AttributeHandleSet const & theAttributes,
356  rti1516e::Exception* except=NULL);
357 
359  virtual void queryAttributeOwnership
360  (rti1516e::ObjectInstanceHandle const & theObject,
361  rti1516e::AttributeHandle const & theAttribute,
362  rti1516e::Exception* except=NULL);
363 
365  virtual void isAttributeOwnedByFederate
366  (rti1516e::ObjectInstanceHandle const & theObject,
367  rti1516e::AttributeHandle const & theAttribute,
368  bool result,
369  rti1516e::Exception* except=NULL);
371 
373 
374 
376  virtual void enableTimeRegulation
377  (rti1516e::LogicalTimeInterval const & theLookahead,
378  rti1516e::Exception* except=NULL);
379 
381  virtual void disableTimeRegulation (
382  rti1516e::Exception* except=NULL);
383 
385  virtual void enableTimeConstrained (
386  rti1516e::Exception* except=NULL);
387 
389  virtual void disableTimeConstrained (
390  rti1516e::Exception* except=NULL);
391 
393  virtual void timeAdvanceRequest
394  (rti1516e::LogicalTime const & theTime,
395  rti1516e::Exception* except=NULL);
396 
398  virtual void timeAdvanceRequestAvailable
399  (rti1516e::LogicalTime const & theTime,
400  rti1516e::Exception* except=NULL);
401 
403  virtual void nextMessageRequest
404  (rti1516e::LogicalTime const & theTime,
405  rti1516e::Exception* except=NULL);
406 
408  virtual void nextMessageRequestAvailable
409  (rti1516e::LogicalTime const & theTime,
410  rti1516e::Exception* except=NULL);
411 
413  virtual void flushQueueRequest
414  (rti1516e::LogicalTime const & theTime,
415  rti1516e::Exception* except=NULL);
416 
418  virtual void enableAsynchronousDelivery (
419  rti1516e::Exception* except=NULL);
420 
422  virtual void disableAsynchronousDelivery (
423  rti1516e::Exception* except=NULL);
424 
426  virtual void queryGALT (rti1516e::LogicalTime & theTime,
427  bool result,
428  rti1516e::Exception* except=NULL);
429 
431  virtual void queryLogicalTime (rti1516e::LogicalTime & theTime,
432  rti1516e::Exception* except=NULL);
433 
435  virtual void queryLITS (rti1516e::LogicalTime & theTime,
436  bool result,
437  rti1516e::Exception* except=NULL);
438 
440  virtual void modifyLookahead
441  (rti1516e::LogicalTimeInterval const & theLookahead,
442  rti1516e::Exception* except=NULL);
443 
445  virtual void queryLookahead (rti1516e::LogicalTimeInterval & interval,
446  rti1516e::Exception* except=NULL);
447 
449  virtual void retract
450  (rti1516e::MessageRetractionHandle const & theHandle,
451  rti1516e::Exception* except=NULL);
452 
454  virtual void changeAttributeOrderType
455  (rti1516e::ObjectInstanceHandle const & theObject,
456  rti1516e::AttributeHandleSet const & theAttributes,
457  rti1516e::OrderType theType,
458  rti1516e::Exception* except=NULL);
459 
461  virtual void changeInteractionOrderType
462  (rti1516e::InteractionClassHandle const & theClass,
463  rti1516e::OrderType theType,
464  rti1516e::Exception* except=NULL);
466 
468 
469 
471  virtual void createRegion
472  (rti1516e::DimensionHandleSet const & theDimensions,
473  rti1516e::RegionHandle const & handle,
474  rti1516e::Exception* except=NULL);
475 
477  virtual void commitRegionModifications
478  (rti1516e::RegionHandleSet const & theRegionHandleSet,
479  rti1516e::Exception* except=NULL);
480 
482  virtual void deleteRegion
483  (rti1516e::RegionHandle const & theRegion,
484  rti1516e::Exception* except=NULL);
485 
487  virtual void registerObjectInstanceWithRegions
488  (rti1516e::ObjectClassHandle const & theClass,
490  theAttributeHandleSetRegionHandleSetPairVector,
491  rti1516e::ObjectInstanceHandle const & objectHandle,
492  rti1516e::Exception* except=NULL);
493 
494  virtual void registerObjectInstanceWithRegions
495  (rti1516e::ObjectClassHandle const & theClass,
497  theAttributeHandleSetRegionHandleSetPairVector,
498  std::wstring const & theObjectInstanceName,
499  rti1516e::ObjectInstanceHandle const & objectHandle,
500  rti1516e::Exception* except=NULL);
501 
503  virtual void associateRegionsForUpdates
504  (rti1516e::ObjectInstanceHandle const & theObject,
506  theAttributeHandleSetRegionHandleSetPairVector,
507  rti1516e::Exception* except=NULL);
508 
510  virtual void unassociateRegionsForUpdates
511  (rti1516e::ObjectInstanceHandle const & theObject,
513  theAttributeHandleSetRegionHandleSetPairVector,
514  rti1516e::Exception* except=NULL);
515 
517  virtual void subscribeObjectClassAttributesWithRegions
518  (rti1516e::ObjectClassHandle const & theClass,
520  theAttributeHandleSetRegionHandleSetPairVector,
521  bool active,
522  std::wstring const & updateRateDesignator,
523  rti1516e::Exception* except=NULL);
524 
526  virtual void unsubscribeObjectClassAttributesWithRegions
527  (rti1516e::ObjectClassHandle const & theClass,
529  theAttributeHandleSetRegionHandleSetPairVector,
530  rti1516e::Exception* except=NULL);
531 
533  virtual void subscribeInteractionClassWithRegions
534  (rti1516e::InteractionClassHandle const & theClass,
535  rti1516e::RegionHandleSet const & theRegionHandleSet,
536  bool active,
537  rti1516e::Exception* except=NULL);
538 
540  virtual void unsubscribeInteractionClassWithRegions
541  (rti1516e::InteractionClassHandle const & theClass,
542  rti1516e::RegionHandleSet const & theRegionHandleSet,
543  rti1516e::Exception* except=NULL);
544 
546  virtual void sendInteractionWithRegions
547  (rti1516e::InteractionClassHandle const & theInteraction,
548  rti1516e::ParameterHandleValueMap const & theParameterValues,
549  rti1516e::RegionHandleSet const & theRegionHandleSet,
550  rti1516e::VariableLengthData const & theUserSuppliedTag,
551  rti1516e::Exception* except=NULL);
552 
553  virtual void sendInteractionWithRegions
554  (rti1516e::InteractionClassHandle const & theInteraction,
555  rti1516e::ParameterHandleValueMap const & theParameterValues,
556  rti1516e::RegionHandleSet const & theRegionHandleSet,
557  rti1516e::VariableLengthData const & theUserSuppliedTag,
558  rti1516e::LogicalTime const & theTime,
559  rti1516e::MessageRetractionHandle const & retractHandle,
560  rti1516e::Exception* except=NULL);
561 
563  virtual void requestAttributeValueUpdateWithRegions
564  (rti1516e::ObjectClassHandle const & theClass,
566  rti1516e::VariableLengthData const & theUserSuppliedTag,
567  rti1516e::Exception* except=NULL);
569 
571 
572 
574  virtual void getObjectClassHandle
575  (std::wstring const & theName,
576  rti1516e::ObjectClassHandle const & classHandle,
577  rti1516e::Exception* except=NULL);
578 
580  virtual void getObjectClassName
581  (rti1516e::ObjectClassHandle const & theHandle,
582  std::wstring const & name,
583  rti1516e::Exception* except=NULL);
584 
586  virtual void getAttributeHandle
587  (rti1516e::ObjectClassHandle const & whichClass,
588  std::wstring const & theAttributeName,
589  rti1516e::AttributeHandle const & handle,
590  rti1516e::Exception* except=NULL);
591 
593  virtual void getAttributeName
594  (rti1516e::ObjectClassHandle const & whichClass,
595  rti1516e::AttributeHandle const & theHandle,
596  std::wstring const & name,
597  rti1516e::Exception* except=NULL);
598 
600  virtual void getInteractionClassHandle (
601  std::wstring const & theName,
602  rti1516e::InteractionClassHandle const & result,
603  rti1516e::Exception* except=NULL);
604 
606  virtual void getInteractionClassName
607  (rti1516e::InteractionClassHandle const & theHandle,
608  std::wstring const & name,
609  rti1516e::Exception* except=NULL);
610 
612  virtual void getParameterHandle
613  (rti1516e::InteractionClassHandle const & whichClass,
614  std::wstring const & theName,
615  rti1516e::ParameterHandle const & handle,
616  rti1516e::Exception* except=NULL);
617 
619  virtual void getParameterName
620  (rti1516e::InteractionClassHandle const & whichClass,
621  rti1516e::ParameterHandle const & theHandle,
622  std::wstring const & name,
623  rti1516e::Exception* except=NULL);
624 
626  virtual void getObjectInstanceHandle
627  (std::wstring const & theName,
628  rti1516e::ObjectInstanceHandle const & objectHandle,
629  rti1516e::Exception* except=NULL);
630 
632  virtual void getObjectInstanceName
633  (rti1516e::ObjectInstanceHandle const & theHandle,
634  std::wstring const & name,
635  rti1516e::Exception* except=NULL);
636 
638  virtual void getDimensionHandle
639  (std::wstring const & theName,
640  rti1516e::DimensionHandle const & handle,
641  rti1516e::Exception* except=NULL);
642 
644  virtual void getDimensionName
645  (rti1516e::DimensionHandle const & theHandle,
646  std::wstring const & name,
647  rti1516e::Exception* except=NULL);
648 
650  virtual void getDimensionUpperBound
651  (rti1516e::DimensionHandle const & theHandle,
652  unsigned long upperBound,
653  rti1516e::Exception* except=NULL);
654 
656  virtual void getAvailableDimensionsForClassAttribute
657  (rti1516e::ObjectClassHandle const & theClass,
658  rti1516e::AttributeHandle const & theHandle,
660  rti1516e::Exception* except=NULL);
661 
663  virtual void getKnownObjectClassHandle
664  (rti1516e::ObjectInstanceHandle const & theObject,
665  rti1516e::ObjectClassHandle const & classHandle,
666  rti1516e::Exception* except=NULL);
667 
669  virtual void getAvailableDimensionsForInteractionClass
670  (rti1516e::InteractionClassHandle const & theClass,
672  rti1516e::Exception* except=NULL);
673 
675  virtual void getTransportationType
676  (std::wstring const & transportationName,
678  rti1516e::Exception* except=NULL);
679 
681  virtual void getTransportationName
682  (rti1516e::TransportationType transportationType,
683  std::wstring const & name,
684  rti1516e::Exception* except=NULL);
685 
687  virtual void getOrderType
688  (std::wstring const & orderName,
689  rti1516e::OrderType type,
690  rti1516e::Exception* except=NULL);
691 
693  virtual void getOrderName
694  (rti1516e::OrderType orderType,
695  std::wstring const & name,
696  rti1516e::Exception* except=NULL);
697 
699  virtual void enableObjectClassRelevanceAdvisorySwitch (
700  rti1516e::Exception* except=NULL);
701 
703  virtual void disableObjectClassRelevanceAdvisorySwitch (
704  rti1516e::Exception* except=NULL);
705 
707  virtual void enableAttributeRelevanceAdvisorySwitch (
708  rti1516e::Exception* except=NULL);
709 
711  virtual void disableAttributeRelevanceAdvisorySwitch (
712  rti1516e::Exception* except=NULL);
713 
715  virtual void enableAttributeScopeAdvisorySwitch (
716  rti1516e::Exception* except=NULL);
717 
719  virtual void disableAttributeScopeAdvisorySwitch (
720  rti1516e::Exception* except=NULL);
721 
723  virtual void enableInteractionRelevanceAdvisorySwitch (
724  rti1516e::Exception* except=NULL);
725 
727  virtual void disableInteractionRelevanceAdvisorySwitch (
728  rti1516e::Exception* except=NULL);
729 
731  virtual void getDimensionHandleSet
732  (rti1516e::RegionHandle const & theRegionHandle,
733  rti1516e::DimensionHandleSet const & handleSet,
734  rti1516e::Exception* except=NULL);
735 
737  virtual void getRangeBounds
738  (rti1516e::RegionHandle const & theRegionHandle,
739  rti1516e::DimensionHandle const & theDimensionHandle,
740  rti1516e::RangeBounds const & bounds,
741  rti1516e::Exception* except=NULL);
742 
744  virtual void setRangeBounds
745  (rti1516e::RegionHandle const & theRegionHandle,
746  rti1516e::DimensionHandle const & theDimensionHandle,
747  rti1516e::RangeBounds const & theRangeBounds,
748  rti1516e::Exception* except=NULL);
749 
751  virtual void normalizeFederateHandle
752  (rti1516e::FederateHandle const & theFederateHandle,
753  unsigned long normal,
754  rti1516e::Exception* except=NULL);
755 
757  virtual void normalizeServiceGroup
758  (rti1516e::ServiceGroup theServiceGroup,
759  unsigned long normal,
760  rti1516e::Exception* except=NULL);
761 
763  virtual void evokeCallback(double approximateMinimumTimeInSeconds, bool result, rti1516e::Exception* except=NULL);
765  virtual void evokeMultipleCallbacks(double approximateMinimumTimeInSeconds,
766  double approximateMaximumTimeInSeconds,
767  bool result,
768  rti1516e::Exception* except=NULL);
769 
771  virtual void enableCallbacks (
772  rti1516e::Exception* except=NULL);
773 
775  virtual void disableCallbacks (
776  rti1516e::Exception* except=NULL);
777 
778  virtual void decodeFederateHandle(
779  rti1516e::VariableLengthData const & encodedValue,
780  rti1516e::FederateHandle const & handle,
781  rti1516e::Exception* except=NULL) const;
782 
783  virtual void decodeObjectClassHandle(
784  rti1516e::VariableLengthData const & encodedValue,
785  rti1516e::ObjectClassHandle const & classHandle,
786  rti1516e::Exception* except=NULL) const;
787 
788  virtual void decodeInteractionClassHandle(
789  rti1516e::VariableLengthData const & encodedValue,
790  rti1516e::InteractionClassHandle const & handle,
791  rti1516e::Exception* except=NULL) const;
792 
793  virtual void decodeObjectInstanceHandle(
794  rti1516e::VariableLengthData const & encodedValue,
795  rti1516e::ObjectInstanceHandle const & objectHandle,
796  rti1516e::Exception* except=NULL) const;
797 
798  virtual void decodeAttributeHandle(
799  rti1516e::VariableLengthData const & encodedValue,
800  rti1516e::AttributeHandle const & handle,
801  rti1516e::Exception* except=NULL) const;
802 
803  virtual void decodeParameterHandle(
804  rti1516e::VariableLengthData const & encodedValue,
805  rti1516e::ParameterHandle const & handle,
806  rti1516e::Exception* except=NULL) const;
807 
808  virtual void decodeDimensionHandle(
809  rti1516e::VariableLengthData const & encodedValue,
810  rti1516e::DimensionHandle const & handle,
811  rti1516e::Exception* except=NULL) const;
812 
813  virtual void decodeMessageRetractionHandle(
814  rti1516e::VariableLengthData const & encodedValue,
815  rti1516e::MessageRetractionHandle const & retractHandle,
816  rti1516e::Exception* except=NULL) const;
817 
818  virtual void decodeRegionHandle(
819  rti1516e::VariableLengthData const & encodedValue,
820  rti1516e::RegionHandle const & handle,
821  rti1516e::Exception* except=NULL) const;
822 
823  virtual void connect(rti1516e::FederateAmbassador & federateAmbassador, rti1516e::CallbackModel theCallbackModel, std::wstring const & localSettingsDesignator, rti1516e::Exception* except=NULL);
824 
825  virtual void disconnect(rti1516e::Exception* except=NULL);
826 
827  virtual void abortFederationSave(rti1516e::Exception* except=NULL);
828 
829  virtual void abortFederationRestore(rti1516e::Exception* except=NULL);
830 
831  virtual void releaseObjectInstanceName(std::wstring const & theObjectInstanceName,rti1516e::Exception* except=NULL);
832 
833  virtual void reserveMultipleObjectInstanceName(std::set<std::wstring> const & theObjectInstanceNames,rti1516e::Exception* except=NULL);
834 
835  virtual void releaseMultipleObjectInstanceName(std::set<std::wstring> const & theObjectInstanceNames,rti1516e::Exception* except=NULL);
836 
837  virtual void requestAttributeTransportationTypeChange(rti1516e::ObjectInstanceHandle const & theObject, rti1516e::AttributeHandleSet const & theAttributes, rti1516e::TransportationType theType,rti1516e::Exception* except=NULL);
838 
839  virtual void queryAttributeTransportationType(rti1516e::ObjectInstanceHandle const & theObject, rti1516e::AttributeHandle const & theAttribute,rti1516e::Exception* except=NULL);
840 
841  virtual void queryInteractionTransportationType(rti1516e::FederateHandle const & theFederate, rti1516e::InteractionClassHandle const & theInteraction,rti1516e::Exception* except=NULL);
842 
843  virtual void attributeOwnershipReleaseDenied(rti1516e::ObjectInstanceHandle const & theObject, rti1516e::AttributeHandleSet const & theAttributes,rti1516e::Exception* except=NULL);
844 
845  virtual void getAutomaticResignDirective(rti1516e::ResignAction result, rti1516e::Exception* except=NULL);
846 
847  virtual void setAutomaticResignDirective(rti1516e::ResignAction, rti1516e::Exception* except=NULL);
848 
849  virtual void getFederateHandle(std::wstring const & theName, rti1516e::FederateHandle const & result, rti1516e::Exception* except=NULL);
850 
851  virtual void getFederateName(rti1516e::FederateHandle const & theHandle, std::wstring result, rti1516e::Exception* except=NULL);
852 
853  virtual void getUpdateRateValue(std::wstring const & updateRateDesignator, double result, rti1516e::Exception* except=NULL);
854 
855  virtual void getUpdateRateValueForAttribute(rti1516e::ObjectInstanceHandle const & theObject, rti1516e::AttributeHandle const & theAttribute, double result, rti1516e::Exception* except=NULL);
856 
857  // Get the verbose level
858  virtual int verboseLevel() const;
859 
860  virtual DtFederateMgr* fedMgr();
861  virtual DtFomClassMgr* fomMgr();
862  virtual DtObjectMgr* objMgr();
863 
865 
866 protected:
867 
868  DtMomMgr* myMomMgr;
869  unsigned long myRegisterCount;
870  unsigned long myDeleteCount;
871  bool myAllowEvokeCallbackToBeObserved;
872 
873  static const DtMomArgument theDfltMomArgument;
874  static const DtMomArgument theDfltRetVal;
875  static DtMomObserverCreator theCreator;
876 
877 };
878 
879 #endif
880 #endif
Definition: LogicalTimeInterval.h:35
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
Definition: LogicalTime.h:35
Definition: VariableLengthData.h:34
ResignAction
Definition: Enums.h:33
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
Definition: Exception.h:26
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:39
Definition: fomMgr.h:49
std::vector< AttributeHandleSetRegionHandleSetPair > AttributeHandleSetRegionHandleSetPairVector
Definition: Typedefs.h:57
OrderType
Definition: Enums.h:27
The object manager class processes the object management services.
Definition: objMgr.h:81
Definition: RangeBounds.h:21
ServiceGroup
Definition: Enums.h:80
CallbackModel
Definition: Enums.h:21
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:37
An abstract base class which must be implemented, and used by a federate.
Definition: FederateAmbassador.h:32
TransportationType
Definition: Enums.h:97
std::set< DimensionHandle > DimensionHandleSet
Definition: Typedefs.h:38
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:49

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)