12 #ifndef DtRtiAmbassadorObserver1516_H_
13 #define DtRtiAmbassadorObserver1516_H_
18 #include <vlutil/vlList.h>
19 #include <vlutil/vlString.h>
20 #include <RTI/RTI1516.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;
48 (std::wstring
const & federationExecutionName,
49 std::wstring
const & fullPathNameToTheFDDfile,
50 std::wstring
const & logicalTimeImplementationName,
51 rti1516::Exception* except=
NULL) {}
55 (std::wstring
const & federationExecutionName,
56 rti1516::Exception* except=
NULL) {}
60 (std::wstring
const & federateType,
61 std::wstring
const & federationExecutionName,
62 rti1516::FederateAmbassador & federateAmbassador,
64 rti1516::Exception* except=
NULL) {}
69 rti1516::Exception* except=
NULL) {}
73 (std::wstring
const & label,
74 rti1516::VariableLengthData
const & theUserSuppliedTag,
75 rti1516::Exception* except=
NULL) {}
78 (std::wstring
const & label,
79 rti1516::VariableLengthData
const & theUserSuppliedTag,
80 rti1516::FederateHandleSet
const & syncSet,
81 rti1516::Exception* except=
NULL) {}
85 (std::wstring
const & label,
86 rti1516::Exception* except=
NULL) {}
90 (std::wstring
const & label,
91 rti1516::Exception* except=
NULL) {}
94 (std::wstring
const & label,
95 rti1516::LogicalTime
const & theTime,
96 rti1516::Exception* except=
NULL) {}
100 rti1516::Exception* except=
NULL) {}
104 rti1516::Exception* except=
NULL) {}
107 rti1516::Exception* except=
NULL) {}
110 virtual void queryFederationSaveStatus (
111 rti1516::Exception* except=
NULL) {}
115 (std::wstring
const & label,
116 rti1516::Exception* except=
NULL) {}
120 rti1516::Exception* except=
NULL) {}
123 rti1516::Exception* except=
NULL) {}
126 virtual void queryFederationRestoreStatus (
127 rti1516::Exception* except=
NULL) {}
134 virtual void publishObjectClassAttributes
136 rti1516::AttributeHandleSet
const & attributeList,
137 rti1516::Exception* except=
NULL) {}
142 rti1516::Exception* except=
NULL) {}
144 virtual void unpublishObjectClassAttributes
146 rti1516::AttributeHandleSet
const & attributeList,
147 rti1516::Exception* except=
NULL) {}
152 rti1516::Exception* except=
NULL) {}
157 rti1516::Exception* except=
NULL) {}
162 rti1516::AttributeHandleSet
const & attributeList,
164 rti1516::Exception* except=
NULL) {}
169 rti1516::Exception* except=
NULL) {}
171 virtual void unsubscribeObjectClassAttributes
173 rti1516::AttributeHandleSet
const & attributeList,
174 rti1516::Exception* except=
NULL) {}
180 rti1516::Exception* except=
NULL) {}
185 rti1516::Exception* except=
NULL) {}
192 virtual void reserveObjectInstanceName
193 (std::wstring
const & theObjectInstanceName,
194 rti1516::Exception* except=
NULL) {}
199 rti1516::ObjectInstanceHandle objectHandle,
200 rti1516::Exception* except=
NULL) {}
204 std::wstring
const & theObjectInstanceName,
205 rti1516::ObjectInstanceHandle objectHandle,
206 rti1516::Exception* except=
NULL) {}
210 (rti1516::ObjectInstanceHandle theObject,
211 rti1516::AttributeHandleValueMap
const & theAttributeValues,
212 rti1516::VariableLengthData
const & theUserSuppliedTag,
213 rti1516::Exception* except=
NULL) {}
216 (rti1516::ObjectInstanceHandle theObject,
217 rti1516::AttributeHandleValueMap
const & theAttributeValues,
218 rti1516::VariableLengthData
const & theUserSuppliedTag,
219 rti1516::LogicalTime
const & theTime,
220 rti1516::MessageRetractionHandle retractHandle,
221 rti1516::Exception* except=
NULL) {}
226 rti1516::ParameterHandleValueMap
const & theParameterValues,
227 rti1516::VariableLengthData
const & theUserSuppliedTag,
228 rti1516::Exception* except=
NULL) {}
232 rti1516::ParameterHandleValueMap
const & theParameterValues,
233 rti1516::VariableLengthData
const & theUserSuppliedTag,
234 rti1516::LogicalTime
const & theTime,
235 rti1516::MessageRetractionHandle retractHandle,
236 rti1516::Exception* except=
NULL) {}
240 (rti1516::ObjectInstanceHandle theObject,
241 rti1516::VariableLengthData
const & theUserSuppliedTag,
242 rti1516::Exception* except=
NULL) {}
245 (rti1516::ObjectInstanceHandle theObject,
246 rti1516::VariableLengthData
const & theUserSuppliedTag,
247 rti1516::LogicalTime
const & theTime,
248 rti1516::MessageRetractionHandle retractHandle,
249 rti1516::Exception* except=
NULL) {}
253 (rti1516::ObjectInstanceHandle theObject,
254 rti1516::Exception* except=
NULL) {}
258 (rti1516::ObjectInstanceHandle theObject,
259 rti1516::AttributeHandleSet
const & theAttributes,
260 rti1516::TransportationType theType,
261 rti1516::Exception* except=
NULL) {}
266 rti1516::TransportationType theType,
267 rti1516::Exception* except=
NULL) {}
270 virtual void requestAttributeValueUpdate
271 (rti1516::ObjectInstanceHandle theObject,
272 rti1516::AttributeHandleSet
const & theAttributes,
273 rti1516::VariableLengthData
const & theUserSuppliedTag,
274 rti1516::Exception* except=
NULL) {}
276 virtual void requestAttributeValueUpdate
278 rti1516::AttributeHandleSet
const & theAttributes,
279 rti1516::VariableLengthData
const & theUserSuppliedTag,
280 rti1516::Exception* except=
NULL) {}
287 (rti1516::ObjectInstanceHandle theObject,
288 rti1516::AttributeHandleSet
const & theAttributes,
289 rti1516::Exception* except=
NULL) {}
293 (rti1516::ObjectInstanceHandle theObject,
294 rti1516::AttributeHandleSet
const & theAttributes,
295 rti1516::VariableLengthData
const & theUserSuppliedTag,
296 rti1516::Exception* except=
NULL) {}
299 virtual void confirmDivestiture
300 (rti1516::ObjectInstanceHandle theObject,
301 rti1516::AttributeHandleSet
const & confirmedAttributes,
302 rti1516::VariableLengthData
const & theUserSuppliedTag,
303 rti1516::Exception* except=
NULL) {}
307 (rti1516::ObjectInstanceHandle theObject,
308 rti1516::AttributeHandleSet
const & desiredAttributes,
309 rti1516::VariableLengthData
const & theUserSuppliedTag,
310 rti1516::Exception* except=
NULL) {}
314 (rti1516::ObjectInstanceHandle theObject,
315 rti1516::AttributeHandleSet
const & desiredAttributes,
316 rti1516::Exception* except=
NULL) {}
319 virtual void attributeOwnershipDivestitureIfWanted
320 (rti1516::ObjectInstanceHandle theObject,
321 rti1516::AttributeHandleSet
const & theAttributes,
322 rti1516::AttributeHandleSet & theDivestedAttributes,
323 rti1516::Exception* except=
NULL) {}
327 (rti1516::ObjectInstanceHandle theObject,
328 rti1516::AttributeHandleSet
const & theAttributes,
329 rti1516::Exception* except=
NULL) {}
333 (rti1516::ObjectInstanceHandle theObject,
334 rti1516::AttributeHandleSet
const & theAttributes,
335 rti1516::Exception* except=
NULL) {}
339 (rti1516::ObjectInstanceHandle theObject,
341 rti1516::Exception* except=
NULL) {}
345 (rti1516::ObjectInstanceHandle theObject,
348 rti1516::Exception* except=
NULL) {}
356 (rti1516::LogicalTimeInterval
const & theLookahead,
357 rti1516::Exception* except=
NULL) {}
361 rti1516::Exception* except=
NULL) {}
365 rti1516::Exception* except=
NULL) {}
369 rti1516::Exception* except=
NULL) {}
373 (rti1516::LogicalTime
const & theTime,
374 rti1516::Exception* except=
NULL) {}
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) {}
393 (rti1516::LogicalTime
const & theTime,
394 rti1516::Exception* except=
NULL) {}
398 rti1516::Exception* except=
NULL) {}
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) {}
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) {}
434 (rti1516::ObjectInstanceHandle theObject,
435 rti1516::AttributeHandleSet
const & theAttributes,
437 rti1516::Exception* except=
NULL) {}
443 rti1516::Exception* except=
NULL) {}
451 (rti1516::DimensionHandleSet
const & theDimensions,
452 rti1516::RegionHandle handle,
453 rti1516::Exception* except=
NULL) {}
456 virtual void commitRegionModifications
457 (rti1516::RegionHandleSet
const & theRegionHandleSet,
458 rti1516::Exception* except=
NULL) {}
462 (rti1516::RegionHandle theRegion,
463 rti1516::Exception* except=
NULL) {}
466 virtual void registerObjectInstanceWithRegions
468 rti1516::AttributeHandleSetRegionHandleSetPairVector
const &
469 theAttributeHandleSetRegionHandleSetPairVector,
470 rti1516::ObjectInstanceHandle objectHandle,
471 rti1516::Exception* except=
NULL) {}
473 virtual void registerObjectInstanceWithRegions
475 rti1516::AttributeHandleSetRegionHandleSetPairVector
const &
476 theAttributeHandleSetRegionHandleSetPairVector,
477 std::wstring
const & theObjectInstanceName,
478 rti1516::ObjectInstanceHandle objectHandle,
479 rti1516::Exception* except=
NULL) {}
482 virtual void associateRegionsForUpdates
483 (rti1516::ObjectInstanceHandle theObject,
484 rti1516::AttributeHandleSetRegionHandleSetPairVector
const &
485 theAttributeHandleSetRegionHandleSetPairVector,
486 rti1516::Exception* except=
NULL) {}
489 virtual void unassociateRegionsForUpdates
490 (rti1516::ObjectInstanceHandle theObject,
491 rti1516::AttributeHandleSetRegionHandleSetPairVector
const &
492 theAttributeHandleSetRegionHandleSetPairVector,
493 rti1516::Exception* except=
NULL) {}
496 virtual void subscribeObjectClassAttributesWithRegions
498 rti1516::AttributeHandleSetRegionHandleSetPairVector
const &
499 theAttributeHandleSetRegionHandleSetPairVector,
501 rti1516::Exception* except=
NULL) {}
504 virtual void unsubscribeObjectClassAttributesWithRegions
506 rti1516::AttributeHandleSetRegionHandleSetPairVector
const &
507 theAttributeHandleSetRegionHandleSetPairVector,
508 rti1516::Exception* except=
NULL) {}
511 virtual void subscribeInteractionClassWithRegions
513 rti1516::RegionHandleSet
const & theRegionHandleSet,
515 rti1516::Exception* except=
NULL) {}
518 virtual void unsubscribeInteractionClassWithRegions
520 rti1516::RegionHandleSet
const & theRegionHandleSet,
521 rti1516::Exception* except=
NULL) {}
524 virtual void sendInteractionWithRegions
526 rti1516::ParameterHandleValueMap
const & theParameterValues,
527 rti1516::RegionHandleSet
const & theRegionHandleSet,
528 rti1516::VariableLengthData
const & theUserSuppliedTag,
529 rti1516::Exception* except=
NULL) {}
531 virtual void sendInteractionWithRegions
533 rti1516::ParameterHandleValueMap
const & theParameterValues,
534 rti1516::RegionHandleSet
const & theRegionHandleSet,
535 rti1516::VariableLengthData
const & theUserSuppliedTag,
536 rti1516::LogicalTime
const & theTime,
537 rti1516::MessageRetractionHandle retractHandle,
538 rti1516::Exception* except=
NULL) {}
541 virtual void requestAttributeValueUpdateWithRegions
543 rti1516::AttributeHandleSetRegionHandleSetPairVector
const & theSet,
544 rti1516::VariableLengthData
const & theUserSuppliedTag,
545 rti1516::Exception* except=
NULL) {}
553 (std::wstring
const & theName,
555 rti1516::Exception* except=
NULL) {}
561 rti1516::Exception* except=
NULL) {}
566 std::wstring
const & theAttributeName,
568 rti1516::Exception* except=
NULL) {}
575 rti1516::Exception* except=
NULL) {}
579 (std::wstring
const & theName,
581 rti1516::Exception* except=
NULL) {}
587 rti1516::Exception* except=
NULL) {}
592 std::wstring
const & theName,
594 rti1516::Exception* except=
NULL) {}
601 rti1516::Exception* except=
NULL) {}
605 (std::wstring
const & theName,
606 rti1516::ObjectInstanceHandle objectHandle,
607 rti1516::Exception* except=
NULL) {}
611 (rti1516::ObjectInstanceHandle theHandle,
613 rti1516::Exception* except=
NULL) {}
617 (std::wstring
const & theName,
619 rti1516::Exception* except=
NULL) {}
625 rti1516::Exception* except=
NULL) {}
628 virtual void getDimensionUpperBound
630 unsigned long upperBound,
631 rti1516::Exception* except=
NULL) {}
634 virtual void getAvailableDimensionsForClassAttribute
637 rti1516::DimensionHandleSet handleSet,
638 rti1516::Exception* except=
NULL) {}
641 virtual void getKnownObjectClassHandle
642 (rti1516::ObjectInstanceHandle theObject,
644 rti1516::Exception* except=
NULL) {}
647 virtual void getAvailableDimensionsForInteractionClass
649 rti1516::DimensionHandleSet handleSet,
650 rti1516::Exception* except=
NULL) {}
653 virtual void getTransportationType
654 (std::wstring
const & transportationName,
655 rti1516::TransportationType type,
656 rti1516::Exception* except=
NULL) {}
660 (rti1516::TransportationType transportationType,
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) {}
686 rti1516::Exception* except=
NULL) {}
690 rti1516::Exception* except=
NULL) {}
694 rti1516::Exception* except=
NULL) {}
698 rti1516::Exception* except=
NULL) {}
702 rti1516::Exception* except=
NULL) {}
706 rti1516::Exception* except=
NULL) {}
709 virtual void getDimensionHandleSet
710 (rti1516::RegionHandle theRegionHandle,
711 rti1516::DimensionHandleSet handleSet,
712 rti1516::Exception* except=
NULL) {}
715 virtual void getRangeBounds
716 (rti1516::RegionHandle theRegionHandle,
718 rti1516::RangeBounds bounds,
719 rti1516::Exception* except=
NULL) {}
722 virtual void setRangeBounds
723 (rti1516::RegionHandle theRegionHandle,
725 rti1516::RangeBounds
const & theRangeBounds,
726 rti1516::Exception* except=
NULL) {}
729 virtual void normalizeFederateHandle
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,
762 rti1516::Exception* except=
NULL)
const {}
764 virtual void decodeObjectClassHandle(
765 rti1516::VariableLengthData
const & encodedValue,
767 rti1516::Exception* except=
NULL)
const {}
769 virtual void decodeInteractionClassHandle(
770 rti1516::VariableLengthData
const & encodedValue,
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,
782 rti1516::Exception* except=
NULL)
const {}
784 virtual void decodeParameterHandle(
785 rti1516::VariableLengthData
const & encodedValue,
787 rti1516::Exception* except=
NULL)
const {}
789 virtual void decodeDimensionHandle(
790 rti1516::VariableLengthData
const & encodedValue,
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();