12 #ifndef DtRtiAmbassadorObserver_H_
13 #define DtRtiAmbassadorObserver_H_
18 #include <vlutil/vlList.h>
19 #include <vlutil/vlString.h>
28 class DtRtiAmbassadorImplementor;
30 class DT_DLL_LRC DtRtiAmbassadorObserver :
public MAKRti::DtListedObj
34 DtRtiAmbassadorObserver() : MAKRti::DtListedObj() {}
36 virtual ~DtRtiAmbassadorObserver() {}
39 virtual DtRtiAmbassadorObserver* next()
const;
42 virtual DtRtiAmbassadorObserver* prev()
const;
46 virtual DtRtiAmbassadorObserver* wrapNext()
const;
50 virtual DtRtiAmbassadorObserver* wrapPrev()
const;
52 virtual void createFederationExecution (
53 const char *executionName,
55 RTI::Exception* except = NULL) {}
57 virtual void destroyFederationExecution (
58 const char *executionName,
59 RTI::Exception* except = NULL) {}
61 virtual void joinFederationExecution (
63 const char *executionName,
64 RTI::FederateAmbassador* federateAmbassadorReference,
65 RTI::FederateHandle& handle,
66 RTI::Exception* except = NULL) {}
68 virtual void resignFederationExecution (
70 RTI::Exception* except = NULL) {}
72 virtual void registerFederationSynchronizationPoint (
75 RTI::Exception* except = NULL) {}
77 virtual void registerFederationSynchronizationPoint (
81 RTI::Exception* except = NULL) {}
83 virtual void synchronizationPointAchieved (
85 RTI::Exception* except = NULL) {}
87 virtual void requestFederationSave (
89 const RTI::FedTime& theTime,
90 RTI::Exception* except = NULL) {}
92 virtual void requestFederationSave (
94 RTI::Exception* except = NULL) {}
96 virtual void federateSaveBegun (
97 RTI::Exception* except = NULL) {}
99 virtual void federateSaveComplete (
100 RTI::Exception* except = NULL) {}
102 virtual void federateSaveNotComplete (
103 RTI::Exception* except = NULL) {}
105 virtual void requestFederationRestore (
107 RTI::Exception* except = NULL) {}
109 virtual void federateRestoreComplete (
110 RTI::Exception* except = NULL) {}
112 virtual void federateRestoreNotComplete (
113 RTI::Exception* except = NULL) {}
119 virtual void publishObjectClass (
120 RTI::ObjectClassHandle theClass,
122 RTI::Exception* except = NULL) {}
124 virtual void unpublishObjectClass (
125 RTI::ObjectClassHandle theClass,
126 RTI::Exception* except = NULL) {}
128 virtual void publishInteractionClass (
129 RTI::InteractionClassHandle theInteraction,
130 RTI::Exception* except = NULL) {}
132 virtual void unpublishInteractionClass (
133 RTI::InteractionClassHandle theInteraction,
134 RTI::Exception* except = NULL) {}
136 virtual void subscribeObjectClassAttributes (
137 RTI::ObjectClassHandle theClass,
139 RTI::Boolean active = RTI::RTI_TRUE,
140 RTI::Exception* except = NULL) {}
142 virtual void unsubscribeObjectClass (
143 RTI::ObjectClassHandle theClass,
144 RTI::Exception* except = NULL) {}
146 virtual void subscribeInteractionClass (
147 RTI::InteractionClassHandle theClass,
148 RTI::Boolean active = RTI::RTI_TRUE,
149 RTI::Exception* except = NULL) {}
151 virtual void unsubscribeInteractionClass (
152 RTI::InteractionClassHandle theClass,
153 RTI::Exception* except = NULL) {}
159 virtual void registerObjectInstance (
160 RTI::ObjectClassHandle theClass,
161 const char *theObject,
162 RTI::ObjectHandle& handle,
163 RTI::Exception* except = NULL) {}
165 virtual void registerObjectInstance (
166 RTI::ObjectClassHandle theClass,
167 RTI::ObjectHandle& handle,
168 RTI::Exception* except = NULL) {}
170 virtual void updateAttributeValues (
171 RTI::ObjectHandle theObject,
172 const RTI::AttributeHandleValuePairSet& theAttributes,
173 const RTI::FedTime& theTime,
175 RTI::EventRetractionHandle& handle,
176 RTI::Exception* except = NULL) {}
178 virtual void updateAttributeValues (
179 RTI::ObjectHandle theObject,
180 const RTI::AttributeHandleValuePairSet& theAttributes,
182 RTI::Exception* except = NULL) {}
184 virtual void sendInteraction (
185 RTI::InteractionClassHandle theInteraction,
186 const RTI::ParameterHandleValuePairSet& theParameters,
187 const RTI::FedTime& theTime,
189 RTI::EventRetractionHandle& handle,
190 RTI::Exception* except = NULL) {}
192 virtual void sendInteraction (
193 RTI::InteractionClassHandle theInteraction,
194 const RTI::ParameterHandleValuePairSet& theParameters,
196 RTI::Exception* except = NULL) {}
198 virtual void deleteObjectInstance (
199 RTI::ObjectHandle theObject,
200 const RTI::FedTime& theTime,
202 RTI::EventRetractionHandle& handle,
203 RTI::Exception* except = NULL) {}
205 virtual void deleteObjectInstance (
206 RTI::ObjectHandle theObject,
208 RTI::Exception* except = NULL) {}
210 virtual void localDeleteObjectInstance (
211 RTI::ObjectHandle theObject,
212 RTI::Exception* except = NULL) {}
214 virtual void changeAttributeTransportationType (
215 RTI::ObjectHandle theObject,
217 RTI::TransportationHandle theType,
218 RTI::Exception* except = NULL) {}
220 virtual void changeInteractionTransportationType (
221 RTI::InteractionClassHandle theClass,
222 RTI::TransportationHandle theType,
223 RTI::Exception* except = NULL) {}
225 virtual void requestObjectAttributeValueUpdate (
226 RTI::ObjectHandle theObject,
228 RTI::Exception* except = NULL) {}
230 virtual void requestClassAttributeValueUpdate (
231 RTI::ObjectClassHandle theClass,
233 RTI::Exception* except = NULL) {}
239 virtual void unconditionalAttributeOwnershipDivestiture (
240 RTI::ObjectHandle theObject,
242 RTI::Exception* except = NULL) {}
244 virtual void negotiatedAttributeOwnershipDivestiture (
245 RTI::ObjectHandle theObject,
248 RTI::Exception* except = NULL) {}
250 virtual void attributeOwnershipAcquisition (
251 RTI::ObjectHandle theObject,
254 RTI::Exception* except = NULL) {}
256 virtual void attributeOwnershipAcquisitionIfAvailable (
257 RTI::ObjectHandle theObject,
259 RTI::Exception* except = NULL) {}
261 virtual void attributeOwnershipReleaseResponse (
262 RTI::ObjectHandle theObject,
265 RTI::Exception* except = NULL) {}
267 virtual void cancelNegotiatedAttributeOwnershipDivestiture (
268 RTI::ObjectHandle theObject,
270 RTI::Exception* except = NULL) {}
272 virtual void cancelAttributeOwnershipAcquisition (
273 RTI::ObjectHandle theObject,
275 RTI::Exception* except = NULL) {}
277 virtual void queryAttributeOwnership (
278 RTI::ObjectHandle theObject,
279 RTI::AttributeHandle theAttribute,
280 RTI::Exception* except = NULL) {}
282 virtual void isAttributeOwnedByFederate (
283 RTI::ObjectHandle theObject,
284 RTI::AttributeHandle theAttribute,
285 RTI::Boolean
boolean,
286 RTI::Exception* except = NULL) {}
292 virtual void enableTimeRegulation (
293 const RTI::FedTime& theFederateTime,
294 const RTI::FedTime& theLookahead,
295 RTI::Exception* except = NULL) {}
297 virtual void disableTimeRegulation (
298 RTI::Exception* except = NULL) {}
300 virtual void enableTimeConstrained (
301 RTI::Exception* except = NULL) {}
303 virtual void disableTimeConstrained (
304 RTI::Exception* except = NULL) {}
306 virtual void timeAdvanceRequest (
307 const RTI::FedTime& theTime,
308 RTI::Exception* except = NULL) {}
310 virtual void timeAdvanceRequestAvailable (
311 const RTI::FedTime& theTime,
312 RTI::Exception* except = NULL) {}
314 virtual void nextEventRequest (
315 const RTI::FedTime& theTime,
316 RTI::Exception* except = NULL) {}
318 virtual void nextEventRequestAvailable (
319 const RTI::FedTime& theTime,
320 RTI::Exception* except = NULL) {}
322 virtual void flushQueueRequest (
323 const RTI::FedTime& theTime,
324 RTI::Exception* except = NULL) {}
326 virtual void enableAsynchronousDelivery(
327 RTI::Exception* except = NULL) {}
329 virtual void disableAsynchronousDelivery(
330 RTI::Exception* except = NULL) {}
332 virtual void queryLBTS (
333 RTI::FedTime& theTime,
334 RTI::Exception* except = NULL) {}
336 virtual void queryFederateTime (
337 RTI::FedTime& theTime,
338 RTI::Exception* except = NULL) {}
340 virtual void queryMinNextEventTime (
341 RTI::FedTime& theTime,
342 RTI::Exception* except = NULL) {}
344 virtual void modifyLookahead (
345 const RTI::FedTime& theLookahead,
346 RTI::Exception* except = NULL) {}
348 virtual void queryLookahead (
349 RTI::FedTime& theTime,
350 RTI::Exception* except = NULL) {}
352 virtual void retract (
353 RTI::EventRetractionHandle theHandle,
354 RTI::Exception* except = NULL) {}
356 virtual void changeAttributeOrderType (
357 RTI::ObjectHandle theObject,
359 RTI::OrderingHandle theType,
360 RTI::Exception* except = NULL) {}
362 virtual void changeInteractionOrderType (
363 RTI::InteractionClassHandle theClass,
364 RTI::OrderingHandle theType,
365 RTI::Exception* except = NULL) {}
371 virtual void createRegion (
372 RTI::SpaceHandle theSpace,
373 RTI::ULong numberOfExtents,
375 RTI::Exception* except = NULL) {}
377 virtual void notifyAboutRegionModification (
378 RTI::Region &theRegion,
379 RTI::Exception* except = NULL) {}
381 virtual void deleteRegion (
382 RTI::Region *theRegion,
383 RTI::Exception* except = NULL) {}
385 virtual void registerObjectInstanceWithRegion (
386 RTI::ObjectClassHandle theClass,
387 const char *theObject,
388 RTI::AttributeHandle theAttributes[],
389 RTI::Region *theRegions[],
390 RTI::ULong theNumberOfHandles,
391 RTI::ObjectHandle& handle,
392 RTI::Exception* except = NULL) {}
394 virtual void registerObjectInstanceWithRegion (
395 RTI::ObjectClassHandle theClass,
396 RTI::AttributeHandle theAttributes[],
397 RTI::Region *theRegions[],
398 RTI::ULong theNumberOfHandles,
399 RTI::ObjectHandle& handle,
400 RTI::Exception* except = NULL) {}
402 virtual void associateRegionForUpdates (
403 RTI::Region &theRegion,
404 RTI::ObjectHandle theObject,
406 RTI::Exception* except = NULL) {}
408 virtual void unassociateRegionForUpdates (
409 RTI::Region &theRegion,
410 RTI::ObjectHandle theObject,
411 RTI::Exception* except = NULL) {}
413 virtual void subscribeObjectClassAttributesWithRegion (
414 RTI::ObjectClassHandle theClass,
415 RTI::Region &theRegion,
417 RTI::Boolean active = RTI::RTI_TRUE,
418 RTI::Exception* except = NULL) {}
420 virtual void unsubscribeObjectClassWithRegion (
421 RTI::ObjectClassHandle theClass,
422 RTI::Region &theRegion,
423 RTI::Exception* except = NULL) {}
425 virtual void subscribeInteractionClassWithRegion (
426 RTI::InteractionClassHandle theClass,
427 RTI::Region &theRegion,
428 RTI::Boolean active = RTI::RTI_TRUE,
429 RTI::Exception* except = NULL) {}
431 virtual void unsubscribeInteractionClassWithRegion (
432 RTI::InteractionClassHandle theClass,
433 RTI::Region &theRegion,
434 RTI::Exception* except = NULL) {}
436 virtual void sendInteractionWithRegion (
437 RTI::InteractionClassHandle theInteraction,
438 const RTI::ParameterHandleValuePairSet &theParameters,
439 const RTI::FedTime& theTime,
441 const RTI::Region &theRegion,
442 RTI::EventRetractionHandle& handle,
443 RTI::Exception* except = NULL) {}
445 virtual void sendInteractionWithRegion (
446 RTI::InteractionClassHandle theInteraction,
447 const RTI::ParameterHandleValuePairSet &theParameters,
449 const RTI::Region &theRegion,
450 RTI::Exception* except = NULL) {}
452 virtual void requestClassAttributeValueUpdateWithRegion (
453 RTI::ObjectClassHandle theClass,
455 const RTI::Region &theRegion,
456 RTI::Exception* except = NULL) {}
462 virtual void getObjectClassHandle (
464 RTI::ObjectClassHandle& handle,
465 RTI::Exception* except = NULL) {}
467 virtual void getObjectClassName (
468 RTI::ObjectClassHandle theHandle,
470 RTI::Exception* except = NULL) {}
472 virtual void getAttributeHandle (
474 RTI::ObjectClassHandle whichClass,
475 RTI::AttributeHandle& handle,
476 RTI::Exception* except = NULL) {}
478 virtual void getAttributeName (
479 RTI::AttributeHandle theHandle,
480 RTI::ObjectClassHandle whichClass,
482 RTI::Exception* except = NULL) {}
484 virtual void getInteractionClassHandle (
486 RTI::InteractionClassHandle& handle,
487 RTI::Exception* except = NULL) {}
489 virtual void getInteractionClassName (
490 RTI::InteractionClassHandle theHandle,
492 RTI::Exception* except = NULL) {}
494 virtual void getParameterHandle (
496 RTI::InteractionClassHandle whichClass,
497 RTI::ParameterHandle& handle,
498 RTI::Exception* except = NULL) {}
500 virtual void getParameterName (
501 RTI::ParameterHandle theHandle,
502 RTI::InteractionClassHandle whichClass,
504 RTI::Exception* except = NULL) {}
506 virtual void getObjectInstanceHandle (
508 RTI::ObjectHandle& handle,
509 RTI::Exception* except = NULL) {}
511 virtual void getObjectInstanceName (
512 RTI::ObjectHandle theHandle,
513 char* objectInstanceName,
514 RTI::Exception* except = NULL) {}
516 virtual void getRoutingSpaceHandle (
518 RTI::SpaceHandle& handle,
519 RTI::Exception* except = NULL) {}
521 virtual void getRoutingSpaceName (
522 RTI::SpaceHandle theHandle,
524 RTI::Exception* except = NULL) {}
526 virtual void getDimensionHandle (
528 RTI::SpaceHandle whichSpace,
529 RTI::DimensionHandle& handle,
530 RTI::Exception* except = NULL) {}
532 virtual void getDimensionName (
533 RTI::DimensionHandle theHandle,
534 RTI::SpaceHandle whichSpace,
536 RTI::Exception* except = NULL) {}
538 virtual void getAttributeRoutingSpaceHandle (
539 RTI::AttributeHandle theHandle,
540 RTI::ObjectClassHandle whichClass,
541 RTI::SpaceHandle& handle,
542 RTI::Exception* except = NULL) {}
544 virtual void getObjectClass (
545 RTI::ObjectHandle theObject,
546 RTI::ObjectClassHandle& handle,
547 RTI::Exception* except = NULL) {}
549 virtual void getInteractionRoutingSpaceHandle (
550 RTI::InteractionClassHandle theHandle,
551 RTI::SpaceHandle& handle,
552 RTI::Exception* except = NULL) {}
554 virtual void getTransportationHandle (
556 RTI::TransportationHandle& handle,
557 RTI::Exception* except = NULL) {}
559 virtual void getTransportationName (
560 RTI::TransportationHandle theHandle,
561 char* transportationName,
562 RTI::Exception* except = NULL) {}
564 virtual void getOrderingHandle (
566 RTI::OrderingHandle& handle,
567 RTI::Exception* except = NULL) {}
569 virtual void getOrderingName (
570 RTI::OrderingHandle theHandle,
572 RTI::Exception* except = NULL) {}
574 virtual void enableClassRelevanceAdvisorySwitch(
575 RTI::Exception* except = NULL) {}
577 virtual void disableClassRelevanceAdvisorySwitch(
578 RTI::Exception* except = NULL) {}
580 virtual void enableAttributeRelevanceAdvisorySwitch(
581 RTI::Exception* except = NULL) {}
583 virtual void disableAttributeRelevanceAdvisorySwitch(
584 RTI::Exception* except = NULL) {}
586 virtual void enableAttributeScopeAdvisorySwitch(
587 RTI::Exception* except = NULL) {}
589 virtual void disableAttributeScopeAdvisorySwitch(
590 RTI::Exception* except = NULL) {}
592 virtual void enableInteractionRelevanceAdvisorySwitch(
593 RTI::Exception* except = NULL) {}
595 virtual void disableInteractionRelevanceAdvisorySwitch(
596 RTI::Exception* except = NULL) {}
600 RTI::Exception* except = NULL) {}
603 RTI::TickTime minimum,
604 RTI::TickTime maximum,
606 RTI::Exception* except = NULL) {}
608 virtual void getRegionToken(
610 RTI::RegionToken& token,
611 RTI::Exception* except = NULL) {}
613 virtual void getRegion(
616 RTI::Exception* except = NULL) {}
619 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::next()
const
621 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::next();
624 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::prev()
const
626 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::prev();
629 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::wrapNext()
const
631 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::wrapNext();
634 inline DtRtiAmbassadorObserver* DtRtiAmbassadorObserver::wrapPrev()
const
636 return (DtRtiAmbassadorObserver*) MAKRti::DtListedObj::wrapPrev();
std::set< AttributeHandle > AttributeHandleSet
Definition: Typedefs.h:29
ResignAction
Definition: datatypes.pb.h:305
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
std::set< FederateHandle > FederateHandleSet
Definition: Typedefs.h:32