12 #ifndef DtRtiAmbassadorObserver1516_H_
13 #define DtRtiAmbassadorObserver1516_H_
18 #include <vlutil/vlList.h>
19 #include <vlutil/vlString.h>
22 class DtRtiAmbassadorImplementor;
24 class DT_DLL_LRC DtRtiAmbassadorObserver :
public MAKRti::DtListedObj
28 DtRtiAmbassadorObserver() : MAKRti::DtListedObj() {}
30 virtual ~DtRtiAmbassadorObserver() {}
33 virtual DtRtiAmbassadorObserver* next()
const;
36 virtual DtRtiAmbassadorObserver* prev()
const;
40 virtual DtRtiAmbassadorObserver* wrapNext()
const;
44 virtual DtRtiAmbassadorObserver* wrapPrev()
const;
47 virtual void createFederationExecution
48 (std::wstring
const & federationExecutionName,
49 std::wstring
const & fullPathNameToTheFDDfile,
50 std::wstring
const & logicalTimeImplementationName,
51 rti1516::Exception* except=NULL) {}
54 virtual void destroyFederationExecution
55 (std::wstring
const & federationExecutionName,
56 rti1516::Exception* except=NULL) {}
59 virtual void joinFederationExecution
60 (std::wstring
const & federateType,
61 std::wstring
const & federationExecutionName,
62 rti1516::FederateAmbassador & federateAmbassador,
63 rti1516::FederateHandle federateHandle,
64 rti1516::Exception* except=NULL) {}
67 virtual void resignFederationExecution
69 rti1516::Exception* except=NULL) {}
72 virtual void registerFederationSynchronizationPoint
73 (std::wstring
const & label,
74 rti1516::VariableLengthData
const & theUserSuppliedTag,
75 rti1516::Exception* except=NULL) {}
77 virtual void registerFederationSynchronizationPoint
78 (std::wstring
const & label,
79 rti1516::VariableLengthData
const & theUserSuppliedTag,
81 rti1516::Exception* except=NULL) {}
84 virtual void synchronizationPointAchieved
85 (std::wstring
const & label,
86 rti1516::Exception* except=NULL) {}
89 virtual void requestFederationSave
90 (std::wstring
const & label,
91 rti1516::Exception* except=NULL) {}
93 virtual void requestFederationSave
94 (std::wstring
const & label,
95 rti1516::LogicalTime
const & theTime,
96 rti1516::Exception* except=NULL) {}
99 virtual void federateSaveBegun (
100 rti1516::Exception* except=NULL) {}
103 virtual void federateSaveComplete (
104 rti1516::Exception* except=NULL) {}
106 virtual void federateSaveNotComplete(
107 rti1516::Exception* except=NULL) {}
110 virtual void queryFederationSaveStatus (
111 rti1516::Exception* except=NULL) {}
114 virtual void requestFederationRestore
115 (std::wstring
const & label,
116 rti1516::Exception* except=NULL) {}
119 virtual void federateRestoreComplete (
120 rti1516::Exception* except=NULL) {}
122 virtual void federateRestoreNotComplete (
123 rti1516::Exception* except=NULL) {}
126 virtual void queryFederationRestoreStatus (
127 rti1516::Exception* except=NULL) {}
134 virtual void publishObjectClassAttributes
135 (rti1516::ObjectClassHandle theClass,
137 rti1516::Exception* except=NULL) {}
140 virtual void unpublishObjectClass
141 (rti1516::ObjectClassHandle theClass,
142 rti1516::Exception* except=NULL) {}
144 virtual void unpublishObjectClassAttributes
145 (rti1516::ObjectClassHandle theClass,
147 rti1516::Exception* except=NULL) {}
150 virtual void publishInteractionClass
151 (rti1516::InteractionClassHandle theInteraction,
152 rti1516::Exception* except=NULL) {}
155 virtual void unpublishInteractionClass
156 (rti1516::InteractionClassHandle theInteraction,
157 rti1516::Exception* except=NULL) {}
160 virtual void subscribeObjectClassAttributes
161 (rti1516::ObjectClassHandle theClass,
164 rti1516::Exception* except=NULL) {}
167 virtual void unsubscribeObjectClass
168 (rti1516::ObjectClassHandle theClass,
169 rti1516::Exception* except=NULL) {}
171 virtual void unsubscribeObjectClassAttributes
172 (rti1516::ObjectClassHandle theClass,
174 rti1516::Exception* except=NULL) {}
177 virtual void subscribeInteractionClass
178 (rti1516::InteractionClassHandle theClass,
180 rti1516::Exception* except=NULL) {}
183 virtual void unsubscribeInteractionClass
184 (rti1516::InteractionClassHandle theClass,
185 rti1516::Exception* except=NULL) {}
192 virtual void reserveObjectInstanceName
193 (std::wstring
const & theObjectInstanceName,
194 rti1516::Exception* except=NULL) {}
197 virtual void registerObjectInstance
198 (rti1516::ObjectClassHandle theClass,
199 rti1516::ObjectInstanceHandle objectHandle,
200 rti1516::Exception* except=NULL) {}
202 virtual void registerObjectInstance
203 (rti1516::ObjectClassHandle theClass,
204 std::wstring
const & theObjectInstanceName,
205 rti1516::ObjectInstanceHandle objectHandle,
206 rti1516::Exception* except=NULL) {}
209 virtual void updateAttributeValues
210 (rti1516::ObjectInstanceHandle theObject,
212 rti1516::VariableLengthData
const & theUserSuppliedTag,
213 rti1516::Exception* except=NULL) {}
215 virtual void updateAttributeValues
216 (rti1516::ObjectInstanceHandle theObject,
218 rti1516::VariableLengthData
const & theUserSuppliedTag,
219 rti1516::LogicalTime
const & theTime,
220 rti1516::MessageRetractionHandle retractHandle,
221 rti1516::Exception* except=NULL) {}
224 virtual void sendInteraction
225 (rti1516::InteractionClassHandle theInteraction,
227 rti1516::VariableLengthData
const & theUserSuppliedTag,
228 rti1516::Exception* except=NULL) {}
230 virtual void sendInteraction
231 (rti1516::InteractionClassHandle theInteraction,
233 rti1516::VariableLengthData
const & theUserSuppliedTag,
234 rti1516::LogicalTime
const & theTime,
235 rti1516::MessageRetractionHandle retractHandle,
236 rti1516::Exception* except=NULL) {}
239 virtual void deleteObjectInstance
240 (rti1516::ObjectInstanceHandle theObject,
241 rti1516::VariableLengthData
const & theUserSuppliedTag,
242 rti1516::Exception* except=NULL) {}
244 virtual void deleteObjectInstance
245 (rti1516::ObjectInstanceHandle theObject,
246 rti1516::VariableLengthData
const & theUserSuppliedTag,
247 rti1516::LogicalTime
const & theTime,
248 rti1516::MessageRetractionHandle retractHandle,
249 rti1516::Exception* except=NULL) {}
252 virtual void localDeleteObjectInstance
253 (rti1516::ObjectInstanceHandle theObject,
254 rti1516::Exception* except=NULL) {}
257 virtual void changeAttributeTransportationType
258 (rti1516::ObjectInstanceHandle theObject,
261 rti1516::Exception* except=NULL) {}
264 virtual void changeInteractionTransportationType
265 (rti1516::InteractionClassHandle theClass,
267 rti1516::Exception* except=NULL) {}
270 virtual void requestAttributeValueUpdate
271 (rti1516::ObjectInstanceHandle theObject,
273 rti1516::VariableLengthData
const & theUserSuppliedTag,
274 rti1516::Exception* except=NULL) {}
276 virtual void requestAttributeValueUpdate
277 (rti1516::ObjectClassHandle theClass,
279 rti1516::VariableLengthData
const & theUserSuppliedTag,
280 rti1516::Exception* except=NULL) {}
286 virtual void unconditionalAttributeOwnershipDivestiture
287 (rti1516::ObjectInstanceHandle theObject,
289 rti1516::Exception* except=NULL) {}
292 virtual void negotiatedAttributeOwnershipDivestiture
293 (rti1516::ObjectInstanceHandle theObject,
295 rti1516::VariableLengthData
const & theUserSuppliedTag,
296 rti1516::Exception* except=NULL) {}
299 virtual void confirmDivestiture
300 (rti1516::ObjectInstanceHandle theObject,
302 rti1516::VariableLengthData
const & theUserSuppliedTag,
303 rti1516::Exception* except=NULL) {}
306 virtual void attributeOwnershipAcquisition
307 (rti1516::ObjectInstanceHandle theObject,
309 rti1516::VariableLengthData
const & theUserSuppliedTag,
310 rti1516::Exception* except=NULL) {}
313 virtual void attributeOwnershipAcquisitionIfAvailable
314 (rti1516::ObjectInstanceHandle theObject,
316 rti1516::Exception* except=NULL) {}
319 virtual void attributeOwnershipDivestitureIfWanted
320 (rti1516::ObjectInstanceHandle theObject,
323 rti1516::Exception* except=NULL) {}
326 virtual void cancelNegotiatedAttributeOwnershipDivestiture
327 (rti1516::ObjectInstanceHandle theObject,
329 rti1516::Exception* except=NULL) {}
332 virtual void cancelAttributeOwnershipAcquisition
333 (rti1516::ObjectInstanceHandle theObject,
335 rti1516::Exception* except=NULL) {}
338 virtual void queryAttributeOwnership
339 (rti1516::ObjectInstanceHandle theObject,
340 rti1516::AttributeHandle theAttribute,
341 rti1516::Exception* except=NULL) {}
344 virtual void isAttributeOwnedByFederate
345 (rti1516::ObjectInstanceHandle theObject,
346 rti1516::AttributeHandle theAttribute,
348 rti1516::Exception* except=NULL) {}
355 virtual void enableTimeRegulation
356 (rti1516::LogicalTimeInterval
const & theLookahead,
357 rti1516::Exception* except=NULL) {}
360 virtual void disableTimeRegulation (
361 rti1516::Exception* except=NULL) {}
364 virtual void enableTimeConstrained (
365 rti1516::Exception* except=NULL) {}
368 virtual void disableTimeConstrained (
369 rti1516::Exception* except=NULL) {}
372 virtual void timeAdvanceRequest
373 (rti1516::LogicalTime
const & theTime,
374 rti1516::Exception* except=NULL) {}
377 virtual void timeAdvanceRequestAvailable
378 (rti1516::LogicalTime
const & theTime,
379 rti1516::Exception* except=NULL) {}
382 virtual void nextMessageRequest
383 (rti1516::LogicalTime
const & theTime,
384 rti1516::Exception* except=NULL) {}
387 virtual void nextMessageRequestAvailable
388 (rti1516::LogicalTime
const & theTime,
389 rti1516::Exception* except=NULL) {}
392 virtual void flushQueueRequest
393 (rti1516::LogicalTime
const & theTime,
394 rti1516::Exception* except=NULL) {}
397 virtual void enableAsynchronousDelivery (
398 rti1516::Exception* except=NULL) {}
401 virtual void disableAsynchronousDelivery (
402 rti1516::Exception* except=NULL) {}
405 virtual void queryGALT (rti1516::LogicalTime & theTime,
407 rti1516::Exception* except=NULL) {}
410 virtual void queryLogicalTime (rti1516::LogicalTime & theTime,
411 rti1516::Exception* except=NULL) {}
414 virtual void queryLITS (rti1516::LogicalTime & theTime,
416 rti1516::Exception* except=NULL) {}
419 virtual void modifyLookahead
420 (rti1516::LogicalTimeInterval
const & theLookahead,
421 rti1516::Exception* except=NULL) {}
424 virtual void queryLookahead (rti1516::LogicalTimeInterval & interval,
425 rti1516::Exception* except=NULL) {}
429 (rti1516::MessageRetractionHandle theHandle,
430 rti1516::Exception* except=NULL) {}
433 virtual void changeAttributeOrderType
434 (rti1516::ObjectInstanceHandle theObject,
437 rti1516::Exception* except=NULL) {}
440 virtual void changeInteractionOrderType
441 (rti1516::InteractionClassHandle theClass,
443 rti1516::Exception* except=NULL) {}
450 virtual void createRegion
452 rti1516::RegionHandle handle,
453 rti1516::Exception* except=NULL) {}
456 virtual void commitRegionModifications
458 rti1516::Exception* except=NULL) {}
461 virtual void deleteRegion
462 (rti1516::RegionHandle theRegion,
463 rti1516::Exception* except=NULL) {}
466 virtual void registerObjectInstanceWithRegions
467 (rti1516::ObjectClassHandle theClass,
469 theAttributeHandleSetRegionHandleSetPairVector,
470 rti1516::ObjectInstanceHandle objectHandle,
471 rti1516::Exception* except=NULL) {}
473 virtual void registerObjectInstanceWithRegions
474 (rti1516::ObjectClassHandle theClass,
476 theAttributeHandleSetRegionHandleSetPairVector,
477 std::wstring
const & theObjectInstanceName,
478 rti1516::ObjectInstanceHandle objectHandle,
479 rti1516::Exception* except=NULL) {}
482 virtual void associateRegionsForUpdates
483 (rti1516::ObjectInstanceHandle theObject,
485 theAttributeHandleSetRegionHandleSetPairVector,
486 rti1516::Exception* except=NULL) {}
489 virtual void unassociateRegionsForUpdates
490 (rti1516::ObjectInstanceHandle theObject,
492 theAttributeHandleSetRegionHandleSetPairVector,
493 rti1516::Exception* except=NULL) {}
496 virtual void subscribeObjectClassAttributesWithRegions
497 (rti1516::ObjectClassHandle theClass,
499 theAttributeHandleSetRegionHandleSetPairVector,
501 rti1516::Exception* except=NULL) {}
504 virtual void unsubscribeObjectClassAttributesWithRegions
505 (rti1516::ObjectClassHandle theClass,
507 theAttributeHandleSetRegionHandleSetPairVector,
508 rti1516::Exception* except=NULL) {}
511 virtual void subscribeInteractionClassWithRegions
512 (rti1516::InteractionClassHandle theClass,
515 rti1516::Exception* except=NULL) {}
518 virtual void unsubscribeInteractionClassWithRegions
519 (rti1516::InteractionClassHandle theClass,
521 rti1516::Exception* except=NULL) {}
524 virtual void sendInteractionWithRegions
525 (rti1516::InteractionClassHandle theInteraction,
528 rti1516::VariableLengthData
const & theUserSuppliedTag,
529 rti1516::Exception* except=NULL) {}
531 virtual void sendInteractionWithRegions
532 (rti1516::InteractionClassHandle theInteraction,
535 rti1516::VariableLengthData
const & theUserSuppliedTag,
536 rti1516::LogicalTime
const & theTime,
537 rti1516::MessageRetractionHandle retractHandle,
538 rti1516::Exception* except=NULL) {}
541 virtual void requestAttributeValueUpdateWithRegions
542 (rti1516::ObjectClassHandle theClass,
544 rti1516::VariableLengthData
const & theUserSuppliedTag,
545 rti1516::Exception* except=NULL) {}
552 virtual void getObjectClassHandle
553 (std::wstring
const & theName,
554 rti1516::ObjectClassHandle classHandle,
555 rti1516::Exception* except=NULL) {}
558 virtual void getObjectClassName
559 (rti1516::ObjectClassHandle theHandle,
561 rti1516::Exception* except=NULL) {}
564 virtual void getAttributeHandle
565 (rti1516::ObjectClassHandle whichClass,
566 std::wstring
const & theAttributeName,
567 rti1516::AttributeHandle handle,
568 rti1516::Exception* except=NULL) {}
571 virtual void getAttributeName
572 (rti1516::ObjectClassHandle whichClass,
573 rti1516::AttributeHandle theHandle,
575 rti1516::Exception* except=NULL) {}
578 virtual void getInteractionClassHandle
579 (std::wstring
const & theName,
580 rti1516::InteractionClassHandle handle,
581 rti1516::Exception* except=NULL) {}
584 virtual void getInteractionClassName
585 (rti1516::InteractionClassHandle theHandle,
587 rti1516::Exception* except=NULL) {}
590 virtual void getParameterHandle
591 (rti1516::InteractionClassHandle whichClass,
592 std::wstring
const & theName,
593 rti1516::ParameterHandle handle,
594 rti1516::Exception* except=NULL) {}
597 virtual void getParameterName
598 (rti1516::InteractionClassHandle whichClass,
599 rti1516::ParameterHandle theHandle,
601 rti1516::Exception* except=NULL) {}
604 virtual void getObjectInstanceHandle
605 (std::wstring
const & theName,
606 rti1516::ObjectInstanceHandle objectHandle,
607 rti1516::Exception* except=NULL) {}
610 virtual void getObjectInstanceName
611 (rti1516::ObjectInstanceHandle theHandle,
613 rti1516::Exception* except=NULL) {}
616 virtual void getDimensionHandle
617 (std::wstring
const & theName,
618 rti1516::DimensionHandle handle,
619 rti1516::Exception* except=NULL) {}
622 virtual void getDimensionName
623 (rti1516::DimensionHandle theHandle,
625 rti1516::Exception* except=NULL) {}
628 virtual void getDimensionUpperBound
629 (rti1516::DimensionHandle theHandle,
630 unsigned long upperBound,
631 rti1516::Exception* except=NULL) {}
634 virtual void getAvailableDimensionsForClassAttribute
635 (rti1516::ObjectClassHandle theClass,
636 rti1516::AttributeHandle theHandle,
638 rti1516::Exception* except=NULL) {}
641 virtual void getKnownObjectClassHandle
642 (rti1516::ObjectInstanceHandle theObject,
643 rti1516::ObjectClassHandle classHandle,
644 rti1516::Exception* except=NULL) {}
647 virtual void getAvailableDimensionsForInteractionClass
648 (rti1516::InteractionClassHandle theClass,
650 rti1516::Exception* except=NULL) {}
653 virtual void getTransportationType
654 (std::wstring
const & transportationName,
656 rti1516::Exception* except=NULL) {}
659 virtual void getTransportationName
662 rti1516::Exception* except=NULL) {}
665 virtual void getOrderType
666 (std::wstring
const & orderName,
668 rti1516::Exception* except=NULL) {}
671 virtual void getOrderName
674 rti1516::Exception* except=NULL) {}
677 virtual void enableObjectClassRelevanceAdvisorySwitch (
678 rti1516::Exception* except=NULL) {}
681 virtual void disableObjectClassRelevanceAdvisorySwitch (
682 rti1516::Exception* except=NULL) {}
685 virtual void enableAttributeRelevanceAdvisorySwitch (
686 rti1516::Exception* except=NULL) {}
689 virtual void disableAttributeRelevanceAdvisorySwitch (
690 rti1516::Exception* except=NULL) {}
693 virtual void enableAttributeScopeAdvisorySwitch (
694 rti1516::Exception* except=NULL) {}
697 virtual void disableAttributeScopeAdvisorySwitch (
698 rti1516::Exception* except=NULL) {}
701 virtual void enableInteractionRelevanceAdvisorySwitch (
702 rti1516::Exception* except=NULL) {}
705 virtual void disableInteractionRelevanceAdvisorySwitch (
706 rti1516::Exception* except=NULL) {}
709 virtual void getDimensionHandleSet
710 (rti1516::RegionHandle theRegionHandle,
712 rti1516::Exception* except=NULL) {}
715 virtual void getRangeBounds
716 (rti1516::RegionHandle theRegionHandle,
717 rti1516::DimensionHandle theDimensionHandle,
718 rti1516::RangeBounds bounds,
719 rti1516::Exception* except=NULL) {}
722 virtual void setRangeBounds
723 (rti1516::RegionHandle theRegionHandle,
724 rti1516::DimensionHandle theDimensionHandle,
725 rti1516::RangeBounds
const & theRangeBounds,
726 rti1516::Exception* except=NULL) {}
729 virtual void normalizeFederateHandle
730 (rti1516::FederateHandle theFederateHandle,
731 unsigned long normal,
732 rti1516::Exception* except=NULL) {}
735 virtual void normalizeServiceGroup
736 (rti1516::ServiceGroupIndicator theServiceGroup,
737 unsigned long normal,
738 rti1516::Exception* except=NULL) {}
741 virtual void evokeCallback(
double approximateMinimumTimeInSeconds,
743 rti1516::Exception* except=NULL) {}
746 virtual void evokeMultipleCallbacks(
double approximateMinimumTimeInSeconds,
747 double approximateMaximumTimeInSeconds,
749 rti1516::Exception* except=NULL) {}
752 virtual void enableCallbacks (
753 rti1516::Exception* except=NULL) {}
756 virtual void disableCallbacks (
757 rti1516::Exception* except=NULL) {}
759 virtual void decodeFederateHandle(
760 rti1516::VariableLengthData
const & encodedValue,
761 rti1516::FederateHandle handle,
762 rti1516::Exception* except=NULL)
const {}
764 virtual void decodeObjectClassHandle(
765 rti1516::VariableLengthData
const & encodedValue,
766 rti1516::ObjectClassHandle classHandle,
767 rti1516::Exception* except=NULL)
const {}
769 virtual void decodeInteractionClassHandle(
770 rti1516::VariableLengthData
const & encodedValue,
771 rti1516::InteractionClassHandle handle,
772 rti1516::Exception* except=NULL)
const {}
774 virtual void decodeObjectInstanceHandle(
775 rti1516::VariableLengthData
const & encodedValue,
776 rti1516::ObjectInstanceHandle objectHandle,
777 rti1516::Exception* except=NULL)
const {}
779 virtual void decodeAttributeHandle(
780 rti1516::VariableLengthData
const & encodedValue,
781 rti1516::AttributeHandle handle,
782 rti1516::Exception* except=NULL)
const {}
784 virtual void decodeParameterHandle(
785 rti1516::VariableLengthData
const & encodedValue,
786 rti1516::ParameterHandle handle,
787 rti1516::Exception* except=NULL)
const {}
789 virtual void decodeDimensionHandle(
790 rti1516::VariableLengthData
const & encodedValue,
791 rti1516::DimensionHandle handle,
792 rti1516::Exception* except=NULL)
const {}
794 virtual void decodeMessageRetractionHandle(
795 rti1516::VariableLengthData
const & encodedValue,
796 rti1516::MessageRetractionHandle retractHandle,
797 rti1516::Exception* except=NULL)
const {}
799 virtual void decodeRegionHandle(
800 rti1516::VariableLengthData
const & encodedValue,
801 rti1516::RegionHandle handle,
802 rti1516::Exception* except=NULL)
const {}
805 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::next()
const
807 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::next();
810 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::prev()
const
812 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::prev();
815 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::wrapNext()
const
817 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::wrapNext();
820 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::wrapPrev()
const
822 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::wrapPrev();
A convenience header provided for developers that would like to include everything all at once...
OrderType
Definition: datatypes.pb.h:472
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:35
TransportationType
Definition: rtiAmbassadorFedProBase.h:43
std::set< RegionHandle > RegionHandleSet
Definition: Typedefs.h:39
std::vector< AttributeHandleSetRegionHandleSetPair > AttributeHandleSetRegionHandleSetPairVector
Definition: Typedefs.h:57
ResignAction
Definition: datatypes.pb.h:305
std::map< AttributeHandle, VariableLengthData > AttributeHandleValueMap
Definition: Typedefs.h:44
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:37
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
std::set< DimensionHandle > DimensionHandleSet
Definition: Typedefs.h:38
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:49