17 #include "RTI/RTI1516.h"
34 typedef DtRtiAmbassadorImplementor* (*DtRtiAmbassadorImplementorCreator)
45 virtual ~DtRtiAmbassadorImplementor();
50 DtRtiAmbassadorImplementor(DtRtiAmbassadorImplementor
const& );
53 DtRtiAmbassadorImplementor&
operator= (DtRtiAmbassadorImplementor
const& );
62 virtual void connect (
65 std::wstring
const & localSettingsDesignator=L
"")
66 throw (rti1516e::ConnectionFailed,
67 rti1516e::InvalidLocalSettingsDesignator,
68 rti1516e::UnsupportedCallbackModel,
69 rti1516e::AlreadyConnected,
70 rti1516e::CallNotAllowedFromWithinCallback,
71 rti1516e::RTIinternalError);
74 virtual
void disconnect ()
75 throw (rti1516e::FederateIsExecutionMember,
76 rti1516e::CallNotAllowedFromWithinCallback,
77 rti1516e::RTIinternalError);
81 std::wstring const & federationExecutionName,
82 std::wstring const & fomModule,
83 std::wstring const & logicalTimeImplementationName)
84 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
85 rti1516e::InconsistentFDD,
86 rti1516e::ErrorReadingFDD,
87 rti1516e::CouldNotOpenFDD,
88 rti1516e::FederationExecutionAlreadyExists,
89 rti1516e::NotConnected,
90 rti1516e::RTIinternalError);
93 std::wstring const & federationExecutionName,
94 std::vector<std::wstring> const & fomModules,
95 std::wstring const & logicalTimeImplementationName)
96 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
97 rti1516e::InconsistentFDD,
98 rti1516e::ErrorReadingFDD,
99 rti1516e::CouldNotOpenFDD,
100 rti1516e::FederationExecutionAlreadyExists,
101 rti1516e::NotConnected,
102 rti1516e::RTIinternalError);
104 virtual
void createFederationExecutionWithMIM (
105 std::wstring const & federationExecutionName,
106 std::vector<std::wstring> const & fomModules,
107 std::wstring const & mimModule,
108 std::wstring const & logicalTimeImplementationName)
109 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
110 rti1516e::InconsistentFDD,
111 rti1516e::ErrorReadingFDD,
112 rti1516e::CouldNotOpenFDD,
113 rti1516e::DesignatorIsHLAstandardMIM,
114 rti1516e::ErrorReadingMIM,
115 rti1516e::CouldNotOpenMIM,
116 rti1516e::FederationExecutionAlreadyExists,
117 rti1516e::NotConnected,
118 rti1516e::RTIinternalError);
122 std::wstring const & federationExecutionName)
123 throw (rti1516e::FederatesCurrentlyJoined,
124 rti1516e::FederationExecutionDoesNotExist,
125 rti1516e::NotConnected,
126 rti1516e::RTIinternalError);
129 virtual
void listFederationExecutions ()
130 throw (rti1516e::NotConnected,
131 rti1516e::RTIinternalError);
135 std::wstring const & federateType,
136 std::wstring const & federationExecutionName,
137 std::vector<std::wstring> const & additionalFomModules,
139 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
140 rti1516e::FederationExecutionDoesNotExist,
141 rti1516e::InconsistentFDD,
142 rti1516e::ErrorReadingFDD,
143 rti1516e::CouldNotOpenFDD,
144 rti1516e::SaveInProgress,
145 rti1516e::RestoreInProgress,
146 rti1516e::FederateAlreadyExecutionMember,
147 rti1516e::NotConnected,
148 rti1516e::CallNotAllowedFromWithinCallback,
149 rti1516e::RTIinternalError);
152 std::wstring const & federateName,
153 std::wstring const & federateType,
154 std::wstring const & federationExecutionName,
155 std::vector<std::wstring> const & additionalFomModules,
157 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
158 rti1516e::FederateNameAlreadyInUse,
159 rti1516e::FederationExecutionDoesNotExist,
160 rti1516e::InconsistentFDD,
161 rti1516e::ErrorReadingFDD,
162 rti1516e::CouldNotOpenFDD,
163 rti1516e::SaveInProgress,
164 rti1516e::RestoreInProgress,
165 rti1516e::FederateAlreadyExecutionMember,
166 rti1516e::NotConnected,
167 rti1516e::CallNotAllowedFromWithinCallback,
168 rti1516e::RTIinternalError);
173 throw (rti1516e::InvalidResignAction,
174 rti1516e::OwnershipAcquisitionPending,
175 rti1516e::FederateOwnsAttributes,
176 rti1516e::FederateNotExecutionMember,
177 rti1516e::NotConnected,
178 rti1516e::CallNotAllowedFromWithinCallback,
179 rti1516e::RTIinternalError);
183 std::wstring const & label,
184 rti1516e::VariableLengthData const & theUserSuppliedTag)
185 throw (rti1516e::SaveInProgress,
186 rti1516e::RestoreInProgress,
187 rti1516e::FederateNotExecutionMember,
188 rti1516e::NotConnected,
189 rti1516e::RTIinternalError);
192 std::wstring const & label,
193 rti1516e::VariableLengthData const & theUserSuppliedTag,
194 rti1516e::FederateHandleSet const & synchronizationSet)
195 throw (rti1516e::InvalidFederateHandle,
196 rti1516e::SaveInProgress,
197 rti1516e::RestoreInProgress,
198 rti1516e::FederateNotExecutionMember,
199 rti1516e::NotConnected,
200 rti1516e::RTIinternalError);
204 std::wstring const & label,
206 throw (rti1516e::SynchronizationPointLabelNotAnnounced,
207 rti1516e::SaveInProgress,
208 rti1516e::RestoreInProgress,
209 rti1516e::FederateNotExecutionMember,
210 rti1516e::NotConnected,
211 rti1516e::RTIinternalError);
215 std::wstring const & label)
216 throw (rti1516e::SaveInProgress,
217 rti1516e::RestoreInProgress,
218 rti1516e::FederateNotExecutionMember,
219 rti1516e::NotConnected,
220 rti1516e::RTIinternalError);
223 std::wstring const & label,
224 rti1516e::LogicalTime const & theTime)
225 throw (rti1516e::LogicalTimeAlreadyPassed,
226 rti1516e::InvalidLogicalTime,
227 rti1516e::FederateUnableToUseTime,
228 rti1516e::SaveInProgress,
229 rti1516e::RestoreInProgress,
230 rti1516e::FederateNotExecutionMember,
231 rti1516e::NotConnected,
232 rti1516e::RTIinternalError);
236 throw (rti1516e::SaveNotInitiated,
237 rti1516e::RestoreInProgress,
238 rti1516e::FederateNotExecutionMember,
239 rti1516e::NotConnected,
240 rti1516e::RTIinternalError);
244 throw (rti1516e::FederateHasNotBegunSave,
245 rti1516e::RestoreInProgress,
246 rti1516e::FederateNotExecutionMember,
247 rti1516e::NotConnected,
248 rti1516e::RTIinternalError);
251 throw (rti1516e::FederateHasNotBegunSave,
252 rti1516e::RestoreInProgress,
253 rti1516e::FederateNotExecutionMember,
254 rti1516e::NotConnected,
255 rti1516e::RTIinternalError);
258 virtual
void abortFederationSave ()
259 throw (rti1516e::SaveNotInProgress,
260 rti1516e::FederateNotExecutionMember,
261 rti1516e::NotConnected,
262 rti1516e::RTIinternalError);
265 virtual
void queryFederationSaveStatus ()
266 throw (rti1516e::RestoreInProgress,
267 rti1516e::FederateNotExecutionMember,
268 rti1516e::NotConnected,
269 rti1516e::RTIinternalError);
273 std::wstring const & label)
274 throw (rti1516e::SaveInProgress,
275 rti1516e::RestoreInProgress,
276 rti1516e::FederateNotExecutionMember,
277 rti1516e::NotConnected,
278 rti1516e::RTIinternalError);
282 throw (rti1516e::RestoreNotRequested,
283 rti1516e::SaveInProgress,
284 rti1516e::FederateNotExecutionMember,
285 rti1516e::NotConnected,
286 rti1516e::RTIinternalError);
289 throw (rti1516e::RestoreNotRequested,
290 rti1516e::SaveInProgress,
291 rti1516e::FederateNotExecutionMember,
292 rti1516e::NotConnected,
293 rti1516e::RTIinternalError);
296 virtual
void abortFederationRestore ()
297 throw (rti1516e::RestoreNotInProgress,
298 rti1516e::FederateNotExecutionMember,
299 rti1516e::NotConnected,
300 rti1516e::RTIinternalError);
303 virtual
void queryFederationRestoreStatus ()
304 throw (rti1516e::SaveInProgress,
305 rti1516e::FederateNotExecutionMember,
306 rti1516e::NotConnected,
307 rti1516e::RTIinternalError);
314 virtual
void publishObjectClassAttributes (
316 rti1516e::AttributeHandleSet const & attributeList)
317 throw (rti1516e::AttributeNotDefined,
318 rti1516e::ObjectClassNotDefined,
319 rti1516e::SaveInProgress,
320 rti1516e::RestoreInProgress,
321 rti1516e::FederateNotExecutionMember,
322 rti1516e::NotConnected,
323 rti1516e::RTIinternalError);
328 throw (rti1516e::OwnershipAcquisitionPending,
329 rti1516e::ObjectClassNotDefined,
330 rti1516e::SaveInProgress,
331 rti1516e::RestoreInProgress,
332 rti1516e::FederateNotExecutionMember,
333 rti1516e::NotConnected,
334 rti1516e::RTIinternalError);
336 virtual
void unpublishObjectClassAttributes (
338 rti1516e::AttributeHandleSet const & attributeList)
339 throw (rti1516e::OwnershipAcquisitionPending,
340 rti1516e::AttributeNotDefined,
341 rti1516e::ObjectClassNotDefined,
342 rti1516e::SaveInProgress,
343 rti1516e::RestoreInProgress,
344 rti1516e::FederateNotExecutionMember,
345 rti1516e::NotConnected,
346 rti1516e::RTIinternalError);
351 throw (rti1516e::InteractionClassNotDefined,
352 rti1516e::SaveInProgress,
353 rti1516e::RestoreInProgress,
354 rti1516e::FederateNotExecutionMember,
355 rti1516e::NotConnected,
356 rti1516e::RTIinternalError);
361 throw (rti1516e::InteractionClassNotDefined,
362 rti1516e::SaveInProgress,
363 rti1516e::RestoreInProgress,
364 rti1516e::FederateNotExecutionMember,
365 rti1516e::NotConnected,
366 rti1516e::RTIinternalError);
371 rti1516e::AttributeHandleSet const & attributeList,
373 std::wstring const & updateRateDesignator)
374 throw (rti1516e::AttributeNotDefined,
375 rti1516e::ObjectClassNotDefined,
376 rti1516e::InvalidUpdateRateDesignator,
377 rti1516e::SaveInProgress,
378 rti1516e::RestoreInProgress,
379 rti1516e::FederateNotExecutionMember,
380 rti1516e::NotConnected,
381 rti1516e::RTIinternalError);
386 throw (rti1516e::ObjectClassNotDefined,
387 rti1516e::SaveInProgress,
388 rti1516e::RestoreInProgress,
389 rti1516e::FederateNotExecutionMember,
390 rti1516e::NotConnected,
391 rti1516e::RTIinternalError);
393 virtual
void unsubscribeObjectClassAttributes (
395 rti1516e::AttributeHandleSet const & attributeList)
396 throw (rti1516e::AttributeNotDefined,
397 rti1516e::ObjectClassNotDefined,
398 rti1516e::SaveInProgress,
399 rti1516e::RestoreInProgress,
400 rti1516e::FederateNotExecutionMember,
401 rti1516e::NotConnected,
402 rti1516e::RTIinternalError);
408 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
409 rti1516e::InteractionClassNotDefined,
410 rti1516e::SaveInProgress,
411 rti1516e::RestoreInProgress,
412 rti1516e::FederateNotExecutionMember,
413 rti1516e::NotConnected,
414 rti1516e::RTIinternalError);
419 throw (rti1516e::InteractionClassNotDefined,
420 rti1516e::SaveInProgress,
421 rti1516e::RestoreInProgress,
422 rti1516e::FederateNotExecutionMember,
423 rti1516e::NotConnected,
424 rti1516e::RTIinternalError);
431 virtual
void reserveObjectInstanceName (
432 std::wstring const & theObjectInstanceName)
433 throw (rti1516e::IllegalName,
434 rti1516e::SaveInProgress,
435 rti1516e::RestoreInProgress,
436 rti1516e::FederateNotExecutionMember,
437 rti1516e::NotConnected,
438 rti1516e::RTIinternalError);
441 virtual
void releaseObjectInstanceName (
442 std::wstring const & theObjectInstanceName)
443 throw (rti1516e::ObjectInstanceNameNotReserved,
444 rti1516e::SaveInProgress,
445 rti1516e::RestoreInProgress,
446 rti1516e::FederateNotExecutionMember,
447 rti1516e::NotConnected,
448 rti1516e::RTIinternalError);
451 virtual
void reserveMultipleObjectInstanceName (
452 std::set<std::wstring> const & theObjectInstanceNames)
453 throw (rti1516e::IllegalName,
454 rti1516e::NameSetWasEmpty,
455 rti1516e::SaveInProgress,
456 rti1516e::RestoreInProgress,
457 rti1516e::FederateNotExecutionMember,
458 rti1516e::NotConnected,
459 rti1516e::RTIinternalError);
462 virtual
void releaseMultipleObjectInstanceName (
463 std::set<std::wstring> const & theObjectInstanceNames)
464 throw (rti1516e::ObjectInstanceNameNotReserved,
465 rti1516e::SaveInProgress,
466 rti1516e::RestoreInProgress,
467 rti1516e::FederateNotExecutionMember,
468 rti1516e::NotConnected,
469 rti1516e::RTIinternalError);
474 throw (rti1516e::ObjectClassNotPublished,
475 rti1516e::ObjectClassNotDefined,
476 rti1516e::SaveInProgress,
477 rti1516e::RestoreInProgress,
478 rti1516e::FederateNotExecutionMember,
479 rti1516e::NotConnected,
480 rti1516e::RTIinternalError);
484 std::wstring const & theObjectInstanceName)
485 throw (rti1516e::ObjectInstanceNameInUse,
486 rti1516e::ObjectInstanceNameNotReserved,
487 rti1516e::ObjectClassNotPublished,
488 rti1516e::ObjectClassNotDefined,
489 rti1516e::SaveInProgress,
490 rti1516e::RestoreInProgress,
491 rti1516e::FederateNotExecutionMember,
492 rti1516e::NotConnected,
493 rti1516e::RTIinternalError);
497 rti1516e::ObjectInstanceHandle const & theObject,
498 rti1516e::AttributeHandleValueMap const & theAttributeValues,
499 rti1516e::VariableLengthData const & theUserSuppliedTag)
500 throw (rti1516e::AttributeNotOwned,
501 rti1516e::AttributeNotDefined,
502 rti1516e::ObjectInstanceNotKnown,
503 rti1516e::SaveInProgress,
504 rti1516e::RestoreInProgress,
505 rti1516e::FederateNotExecutionMember,
506 rti1516e::NotConnected,
507 rti1516e::RTIinternalError);
510 rti1516e::ObjectInstanceHandle const & theObject,
511 rti1516e::AttributeHandleValueMap const & theAttributeValues,
512 rti1516e::VariableLengthData const & theUserSuppliedTag,
513 rti1516e::LogicalTime const & theTime)
514 throw (rti1516e::InvalidLogicalTime,
515 rti1516e::AttributeNotOwned,
516 rti1516e::AttributeNotDefined,
517 rti1516e::ObjectInstanceNotKnown,
518 rti1516e::SaveInProgress,
519 rti1516e::RestoreInProgress,
520 rti1516e::FederateNotExecutionMember,
521 rti1516e::NotConnected,
522 rti1516e::RTIinternalError);
527 rti1516e::ParameterHandleValueMap const & theParameterValues,
528 rti1516e::VariableLengthData const & theUserSuppliedTag)
529 throw (rti1516e::InteractionClassNotPublished,
530 rti1516e::InteractionParameterNotDefined,
531 rti1516e::InteractionClassNotDefined,
532 rti1516e::SaveInProgress,
533 rti1516e::RestoreInProgress,
534 rti1516e::FederateNotExecutionMember,
535 rti1516e::NotConnected,
536 rti1516e::RTIinternalError);
540 rti1516e::ParameterHandleValueMap const & theParameterValues,
541 rti1516e::VariableLengthData const & theUserSuppliedTag,
542 rti1516e::LogicalTime const & theTime)
543 throw (rti1516e::InvalidLogicalTime,
544 rti1516e::InteractionClassNotPublished,
545 rti1516e::InteractionParameterNotDefined,
546 rti1516e::InteractionClassNotDefined,
547 rti1516e::SaveInProgress,
548 rti1516e::RestoreInProgress,
549 rti1516e::FederateNotExecutionMember,
550 rti1516e::NotConnected,
551 rti1516e::RTIinternalError);
555 rti1516e::ObjectInstanceHandle const & theObject,
556 rti1516e::VariableLengthData const & theUserSuppliedTag)
557 throw (rti1516e::DeletePrivilegeNotHeld,
558 rti1516e::ObjectInstanceNotKnown,
559 rti1516e::SaveInProgress,
560 rti1516e::RestoreInProgress,
561 rti1516e::FederateNotExecutionMember,
562 rti1516e::NotConnected,
563 rti1516e::RTIinternalError);
566 rti1516e::ObjectInstanceHandle const & theObject,
567 rti1516e::VariableLengthData const & theUserSuppliedTag,
568 rti1516e::LogicalTime const & theTime)
569 throw (rti1516e::InvalidLogicalTime,
570 rti1516e::DeletePrivilegeNotHeld,
571 rti1516e::ObjectInstanceNotKnown,
572 rti1516e::SaveInProgress,
573 rti1516e::RestoreInProgress,
574 rti1516e::FederateNotExecutionMember,
575 rti1516e::NotConnected,
576 rti1516e::RTIinternalError);
580 rti1516e::ObjectInstanceHandle const & theObject)
581 throw (rti1516e::OwnershipAcquisitionPending,
582 rti1516e::FederateOwnsAttributes,
583 rti1516e::ObjectInstanceNotKnown,
584 rti1516e::SaveInProgress,
585 rti1516e::RestoreInProgress,
586 rti1516e::FederateNotExecutionMember,
587 rti1516e::NotConnected,
588 rti1516e::RTIinternalError);
591 virtual
void requestAttributeValueUpdate (
592 rti1516e::ObjectInstanceHandle const & theObject,
593 rti1516e::AttributeHandleSet const & theAttributes,
594 rti1516e::VariableLengthData const & theUserSuppliedTag)
595 throw (rti1516e::AttributeNotDefined,
596 rti1516e::ObjectInstanceNotKnown,
597 rti1516e::SaveInProgress,
598 rti1516e::RestoreInProgress,
599 rti1516e::FederateNotExecutionMember,
600 rti1516e::NotConnected,
601 rti1516e::RTIinternalError);
603 virtual
void requestAttributeValueUpdate (
605 rti1516e::AttributeHandleSet const & theAttributes,
606 rti1516e::VariableLengthData const & theUserSuppliedTag)
607 throw (rti1516e::AttributeNotDefined,
608 rti1516e::ObjectClassNotDefined,
609 rti1516e::SaveInProgress,
610 rti1516e::RestoreInProgress,
611 rti1516e::FederateNotExecutionMember,
612 rti1516e::NotConnected,
613 rti1516e::RTIinternalError);
616 virtual
void requestAttributeTransportationTypeChange (
617 rti1516e::ObjectInstanceHandle const & theObject,
618 rti1516e::AttributeHandleSet const & theAttributes,
620 throw (rti1516e::AttributeAlreadyBeingChanged,
621 rti1516e::AttributeNotOwned,
622 rti1516e::AttributeNotDefined,
623 rti1516e::ObjectInstanceNotKnown,
624 rti1516e::InvalidTransportationType,
625 rti1516e::SaveInProgress,
626 rti1516e::RestoreInProgress,
627 rti1516e::FederateNotExecutionMember,
628 rti1516e::NotConnected,
629 rti1516e::RTIinternalError);
632 virtual
void queryAttributeTransportationType (
633 rti1516e::ObjectInstanceHandle const & theObject,
635 throw (rti1516e::AttributeNotDefined,
636 rti1516e::ObjectInstanceNotKnown,
637 rti1516e::SaveInProgress,
638 rti1516e::RestoreInProgress,
639 rti1516e::FederateNotExecutionMember,
640 rti1516e::NotConnected,
641 rti1516e::RTIinternalError);
644 virtual
void requestInteractionTransportationTypeChange (
647 throw (rti1516e::InteractionClassAlreadyBeingChanged,
648 rti1516e::InteractionClassNotPublished,
649 rti1516e::InteractionClassNotDefined,
650 rti1516e::InvalidTransportationType,
651 rti1516e::SaveInProgress,
652 rti1516e::RestoreInProgress,
653 rti1516e::FederateNotExecutionMember,
654 rti1516e::NotConnected,
655 rti1516e::RTIinternalError);
658 virtual
void queryInteractionTransportationType (
661 throw (rti1516e::InteractionClassNotDefined,
662 rti1516e::SaveInProgress,
663 rti1516e::RestoreInProgress,
664 rti1516e::FederateNotExecutionMember,
665 rti1516e::NotConnected,
666 rti1516e::RTIinternalError);
675 rti1516e::ObjectInstanceHandle const & theObject,
676 rti1516e::AttributeHandleSet const & theAttributes)
677 throw (rti1516e::AttributeNotOwned,
678 rti1516e::AttributeNotDefined,
679 rti1516e::ObjectInstanceNotKnown,
680 rti1516e::SaveInProgress,
681 rti1516e::RestoreInProgress,
682 rti1516e::FederateNotExecutionMember,
683 rti1516e::NotConnected,
684 rti1516e::RTIinternalError);
688 rti1516e::ObjectInstanceHandle const & theObject,
689 rti1516e::AttributeHandleSet const & theAttributes,
690 rti1516e::VariableLengthData const & theUserSuppliedTag)
691 throw (rti1516e::AttributeAlreadyBeingDivested,
692 rti1516e::AttributeNotOwned,
693 rti1516e::AttributeNotDefined,
694 rti1516e::ObjectInstanceNotKnown,
695 rti1516e::SaveInProgress,
696 rti1516e::RestoreInProgress,
697 rti1516e::FederateNotExecutionMember,
698 rti1516e::NotConnected,
699 rti1516e::RTIinternalError);
702 virtual
void confirmDivestiture (
703 rti1516e::ObjectInstanceHandle const & theObject,
704 rti1516e::AttributeHandleSet const & confirmedAttributes,
705 rti1516e::VariableLengthData const & theUserSuppliedTag)
706 throw (rti1516e::NoAcquisitionPending,
707 rti1516e::AttributeDivestitureWasNotRequested,
708 rti1516e::AttributeNotOwned,
709 rti1516e::AttributeNotDefined,
710 rti1516e::ObjectInstanceNotKnown,
711 rti1516e::SaveInProgress,
712 rti1516e::RestoreInProgress,
713 rti1516e::FederateNotExecutionMember,
714 rti1516e::NotConnected,
715 rti1516e::RTIinternalError);
719 rti1516e::ObjectInstanceHandle const & theObject,
720 rti1516e::AttributeHandleSet const & desiredAttributes,
721 rti1516e::VariableLengthData const & theUserSuppliedTag)
722 throw (rti1516e::AttributeNotPublished,
723 rti1516e::ObjectClassNotPublished,
724 rti1516e::FederateOwnsAttributes,
725 rti1516e::AttributeNotDefined,
726 rti1516e::ObjectInstanceNotKnown,
727 rti1516e::SaveInProgress,
728 rti1516e::RestoreInProgress,
729 rti1516e::FederateNotExecutionMember,
730 rti1516e::NotConnected,
731 rti1516e::RTIinternalError);
735 rti1516e::ObjectInstanceHandle const & theObject,
736 rti1516e::AttributeHandleSet const & desiredAttributes)
737 throw (rti1516e::AttributeAlreadyBeingAcquired,
738 rti1516e::AttributeNotPublished,
739 rti1516e::ObjectClassNotPublished,
740 rti1516e::FederateOwnsAttributes,
741 rti1516e::AttributeNotDefined,
742 rti1516e::ObjectInstanceNotKnown,
743 rti1516e::SaveInProgress,
744 rti1516e::RestoreInProgress,
745 rti1516e::FederateNotExecutionMember,
746 rti1516e::NotConnected,
747 rti1516e::RTIinternalError);
750 virtual
void attributeOwnershipReleaseDenied (
751 rti1516e::ObjectInstanceHandle const & theObject,
752 rti1516e::AttributeHandleSet const & theAttributes)
753 throw (rti1516e::AttributeNotOwned,
754 rti1516e::AttributeNotDefined,
755 rti1516e::ObjectInstanceNotKnown,
756 rti1516e::SaveInProgress,
757 rti1516e::RestoreInProgress,
758 rti1516e::FederateNotExecutionMember,
759 rti1516e::NotConnected,
760 rti1516e::RTIinternalError);
763 virtual
void attributeOwnershipDivestitureIfWanted (
764 rti1516e::ObjectInstanceHandle const & theObject,
765 rti1516e::AttributeHandleSet const & theAttributes,
766 rti1516e::AttributeHandleSet & theDivestedAttributes)
767 throw (rti1516e::AttributeNotOwned,
768 rti1516e::AttributeNotDefined,
769 rti1516e::ObjectInstanceNotKnown,
770 rti1516e::SaveInProgress,
771 rti1516e::RestoreInProgress,
772 rti1516e::FederateNotExecutionMember,
773 rti1516e::NotConnected,
774 rti1516e::RTIinternalError);
778 rti1516e::ObjectInstanceHandle const & theObject,
779 rti1516e::AttributeHandleSet const & theAttributes)
780 throw (rti1516e::AttributeDivestitureWasNotRequested,
781 rti1516e::AttributeNotOwned,
782 rti1516e::AttributeNotDefined,
783 rti1516e::ObjectInstanceNotKnown,
784 rti1516e::SaveInProgress,
785 rti1516e::RestoreInProgress,
786 rti1516e::FederateNotExecutionMember,
787 rti1516e::NotConnected,
788 rti1516e::RTIinternalError);
792 rti1516e::ObjectInstanceHandle const & theObject,
793 rti1516e::AttributeHandleSet const & theAttributes)
794 throw (rti1516e::AttributeAcquisitionWasNotRequested,
795 rti1516e::AttributeAlreadyOwned,
796 rti1516e::AttributeNotDefined,
797 rti1516e::ObjectInstanceNotKnown,
798 rti1516e::SaveInProgress,
799 rti1516e::RestoreInProgress,
800 rti1516e::FederateNotExecutionMember,
801 rti1516e::NotConnected,
802 rti1516e::RTIinternalError);
806 rti1516e::ObjectInstanceHandle const & theObject,
808 throw (rti1516e::AttributeNotDefined,
809 rti1516e::ObjectInstanceNotKnown,
810 rti1516e::SaveInProgress,
811 rti1516e::RestoreInProgress,
812 rti1516e::FederateNotExecutionMember,
813 rti1516e::NotConnected,
814 rti1516e::RTIinternalError);
818 rti1516e::ObjectInstanceHandle const & theObject,
820 throw (rti1516e::AttributeNotDefined,
821 rti1516e::ObjectInstanceNotKnown,
822 rti1516e::SaveInProgress,
823 rti1516e::RestoreInProgress,
824 rti1516e::FederateNotExecutionMember,
825 rti1516e::NotConnected,
826 rti1516e::RTIinternalError);
834 rti1516e::LogicalTimeInterval const & theLookahead)
835 throw (rti1516e::InvalidLookahead,
836 rti1516e::InTimeAdvancingState,
837 rti1516e::RequestForTimeRegulationPending,
838 rti1516e::TimeRegulationAlreadyEnabled,
839 rti1516e::SaveInProgress,
840 rti1516e::RestoreInProgress,
841 rti1516e::FederateNotExecutionMember,
842 rti1516e::NotConnected,
843 rti1516e::RTIinternalError);
847 throw (rti1516e::TimeRegulationIsNotEnabled,
848 rti1516e::SaveInProgress,
849 rti1516e::RestoreInProgress,
850 rti1516e::FederateNotExecutionMember,
851 rti1516e::NotConnected,
852 rti1516e::RTIinternalError);
856 throw (rti1516e::InTimeAdvancingState,
857 rti1516e::RequestForTimeConstrainedPending,
858 rti1516e::TimeConstrainedAlreadyEnabled,
859 rti1516e::SaveInProgress,
860 rti1516e::RestoreInProgress,
861 rti1516e::FederateNotExecutionMember,
862 rti1516e::NotConnected,
863 rti1516e::RTIinternalError);
867 throw (rti1516e::TimeConstrainedIsNotEnabled,
868 rti1516e::SaveInProgress,
869 rti1516e::RestoreInProgress,
870 rti1516e::FederateNotExecutionMember,
871 rti1516e::NotConnected,
872 rti1516e::RTIinternalError);
876 rti1516e::LogicalTime const & theTime)
877 throw (rti1516e::LogicalTimeAlreadyPassed,
878 rti1516e::InvalidLogicalTime,
879 rti1516e::InTimeAdvancingState,
880 rti1516e::RequestForTimeRegulationPending,
881 rti1516e::RequestForTimeConstrainedPending,
882 rti1516e::SaveInProgress,
883 rti1516e::RestoreInProgress,
884 rti1516e::FederateNotExecutionMember,
885 rti1516e::NotConnected,
886 rti1516e::RTIinternalError);
890 rti1516e::LogicalTime const & theTime)
891 throw (rti1516e::LogicalTimeAlreadyPassed,
892 rti1516e::InvalidLogicalTime,
893 rti1516e::InTimeAdvancingState,
894 rti1516e::RequestForTimeRegulationPending,
895 rti1516e::RequestForTimeConstrainedPending,
896 rti1516e::SaveInProgress,
897 rti1516e::RestoreInProgress,
898 rti1516e::FederateNotExecutionMember,
899 rti1516e::NotConnected,
900 rti1516e::RTIinternalError);
903 virtual
void nextMessageRequest (
904 rti1516e::LogicalTime const & theTime)
905 throw (rti1516e::LogicalTimeAlreadyPassed,
906 rti1516e::InvalidLogicalTime,
907 rti1516e::InTimeAdvancingState,
908 rti1516e::RequestForTimeRegulationPending,
909 rti1516e::RequestForTimeConstrainedPending,
910 rti1516e::SaveInProgress,
911 rti1516e::RestoreInProgress,
912 rti1516e::FederateNotExecutionMember,
913 rti1516e::NotConnected,
914 rti1516e::RTIinternalError);
917 virtual
void nextMessageRequestAvailable (
918 rti1516e::LogicalTime const & theTime)
919 throw (rti1516e::LogicalTimeAlreadyPassed,
920 rti1516e::InvalidLogicalTime,
921 rti1516e::InTimeAdvancingState,
922 rti1516e::RequestForTimeRegulationPending,
923 rti1516e::RequestForTimeConstrainedPending,
924 rti1516e::SaveInProgress,
925 rti1516e::RestoreInProgress,
926 rti1516e::FederateNotExecutionMember,
927 rti1516e::NotConnected,
928 rti1516e::RTIinternalError);
932 rti1516e::LogicalTime const & theTime)
933 throw (rti1516e::LogicalTimeAlreadyPassed,
934 rti1516e::InvalidLogicalTime,
935 rti1516e::InTimeAdvancingState,
936 rti1516e::RequestForTimeRegulationPending,
937 rti1516e::RequestForTimeConstrainedPending,
938 rti1516e::SaveInProgress,
939 rti1516e::RestoreInProgress,
940 rti1516e::FederateNotExecutionMember,
941 rti1516e::NotConnected,
942 rti1516e::RTIinternalError);
946 throw (rti1516e::AsynchronousDeliveryAlreadyEnabled,
947 rti1516e::SaveInProgress,
948 rti1516e::RestoreInProgress,
949 rti1516e::FederateNotExecutionMember,
950 rti1516e::NotConnected,
951 rti1516e::RTIinternalError);
956 rti1516e::AsynchronousDeliveryAlreadyDisabled,
957 rti1516e::SaveInProgress,
958 rti1516e::RestoreInProgress,
959 rti1516e::FederateNotExecutionMember,
960 rti1516e::NotConnected,
961 rti1516e::RTIinternalError);
964 virtual
bool queryGALT (rti1516e::LogicalTime & theTime)
965 throw (rti1516e::SaveInProgress,
966 rti1516e::RestoreInProgress,
967 rti1516e::FederateNotExecutionMember,
968 rti1516e::NotConnected,
969 rti1516e::RTIinternalError);
972 virtual
void queryLogicalTime (rti1516e::LogicalTime & theTime)
973 throw (rti1516e::SaveInProgress,
974 rti1516e::RestoreInProgress,
975 rti1516e::FederateNotExecutionMember,
976 rti1516e::NotConnected,
977 rti1516e::RTIinternalError);
980 virtual
bool queryLITS (rti1516e::LogicalTime & theTime)
981 throw (rti1516e::SaveInProgress,
982 rti1516e::RestoreInProgress,
983 rti1516e::FederateNotExecutionMember,
984 rti1516e::NotConnected,
985 rti1516e::RTIinternalError);
989 rti1516e::LogicalTimeInterval const & theLookahead)
990 throw (rti1516e::InvalidLookahead,
991 rti1516e::InTimeAdvancingState,
992 rti1516e::TimeRegulationIsNotEnabled,
993 rti1516e::SaveInProgress,
994 rti1516e::RestoreInProgress,
995 rti1516e::FederateNotExecutionMember,
996 rti1516e::NotConnected,
997 rti1516e::RTIinternalError);
1000 virtual
void queryLookahead (rti1516e::LogicalTimeInterval & interval)
1001 throw (rti1516e::TimeRegulationIsNotEnabled,
1002 rti1516e::SaveInProgress,
1003 rti1516e::RestoreInProgress,
1004 rti1516e::FederateNotExecutionMember,
1005 rti1516e::NotConnected,
1006 rti1516e::RTIinternalError);
1010 rti1516e::MessageRetractionHandle const & theHandle)
1011 throw (rti1516e::MessageCanNoLongerBeRetracted,
1012 rti1516e::InvalidMessageRetractionHandle,
1013 rti1516e::TimeRegulationIsNotEnabled,
1014 rti1516e::SaveInProgress,
1015 rti1516e::RestoreInProgress,
1016 rti1516e::FederateNotExecutionMember,
1017 rti1516e::NotConnected,
1018 rti1516e::RTIinternalError);
1022 rti1516e::ObjectInstanceHandle const & theObject,
1023 rti1516e::AttributeHandleSet const & theAttributes,
1025 throw (rti1516e::AttributeNotOwned,
1026 rti1516e::AttributeNotDefined,
1027 rti1516e::ObjectInstanceNotKnown,
1028 rti1516e::SaveInProgress,
1029 rti1516e::RestoreInProgress,
1030 rti1516e::FederateNotExecutionMember,
1031 rti1516e::NotConnected,
1032 rti1516e::RTIinternalError);
1038 throw (rti1516e::InteractionClassNotPublished,
1039 rti1516e::InteractionClassNotDefined,
1040 rti1516e::SaveInProgress,
1041 rti1516e::RestoreInProgress,
1042 rti1516e::FederateNotExecutionMember,
1043 rti1516e::NotConnected,
1044 rti1516e::RTIinternalError);
1052 rti1516e::DimensionHandleSet const & theDimensions)
1053 throw (rti1516e::InvalidDimensionHandle,
1054 rti1516e::SaveInProgress,
1055 rti1516e::RestoreInProgress,
1056 rti1516e::FederateNotExecutionMember,
1057 rti1516e::NotConnected,
1058 rti1516e::RTIinternalError);
1061 virtual
void commitRegionModifications (
1062 rti1516e::RegionHandleSet const & theRegionHandleSet)
1063 throw (rti1516e::RegionNotCreatedByThisFederate,
1064 rti1516e::InvalidRegion,
1065 rti1516e::SaveInProgress,
1066 rti1516e::RestoreInProgress,
1067 rti1516e::FederateNotExecutionMember,
1068 rti1516e::NotConnected,
1069 rti1516e::RTIinternalError);
1073 rti1516e::RegionHandle const & theRegion)
1074 throw (rti1516e::RegionInUseForUpdateOrSubscription,
1075 rti1516e::RegionNotCreatedByThisFederate,
1076 rti1516e::InvalidRegion,
1077 rti1516e::SaveInProgress,
1078 rti1516e::RestoreInProgress,
1079 rti1516e::FederateNotExecutionMember,
1080 rti1516e::NotConnected,
1081 rti1516e::RTIinternalError);
1084 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1086 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1087 theAttributeHandleSetRegionHandleSetPairVector)
1088 throw (rti1516e::InvalidRegionContext,
1089 rti1516e::RegionNotCreatedByThisFederate,
1090 rti1516e::InvalidRegion,
1091 rti1516e::AttributeNotPublished,
1092 rti1516e::ObjectClassNotPublished,
1093 rti1516e::AttributeNotDefined,
1094 rti1516e::ObjectClassNotDefined,
1095 rti1516e::SaveInProgress,
1096 rti1516e::RestoreInProgress,
1097 rti1516e::FederateNotExecutionMember,
1098 rti1516e::NotConnected,
1099 rti1516e::RTIinternalError);
1101 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1103 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1104 theAttributeHandleSetRegionHandleSetPairVector,
1105 std::wstring const & theObjectInstanceName)
1106 throw (rti1516e::ObjectInstanceNameInUse,
1107 rti1516e::ObjectInstanceNameNotReserved,
1108 rti1516e::InvalidRegionContext,
1109 rti1516e::RegionNotCreatedByThisFederate,
1110 rti1516e::InvalidRegion,
1111 rti1516e::AttributeNotPublished,
1112 rti1516e::ObjectClassNotPublished,
1113 rti1516e::AttributeNotDefined,
1114 rti1516e::ObjectClassNotDefined,
1115 rti1516e::SaveInProgress,
1116 rti1516e::RestoreInProgress,
1117 rti1516e::FederateNotExecutionMember,
1118 rti1516e::NotConnected,
1119 rti1516e::RTIinternalError);
1122 virtual
void associateRegionsForUpdates (
1123 rti1516e::ObjectInstanceHandle const & theObject,
1124 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1125 theAttributeHandleSetRegionHandleSetPairVector)
1126 throw (rti1516e::InvalidRegionContext,
1127 rti1516e::RegionNotCreatedByThisFederate,
1128 rti1516e::InvalidRegion,
1129 rti1516e::AttributeNotDefined,
1130 rti1516e::ObjectInstanceNotKnown,
1131 rti1516e::SaveInProgress,
1132 rti1516e::RestoreInProgress,
1133 rti1516e::FederateNotExecutionMember,
1134 rti1516e::NotConnected,
1135 rti1516e::RTIinternalError);
1138 virtual
void unassociateRegionsForUpdates (
1139 rti1516e::ObjectInstanceHandle const & theObject,
1140 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1141 theAttributeHandleSetRegionHandleSetPairVector)
1142 throw (rti1516e::RegionNotCreatedByThisFederate,
1143 rti1516e::InvalidRegion,
1144 rti1516e::AttributeNotDefined,
1145 rti1516e::ObjectInstanceNotKnown,
1146 rti1516e::SaveInProgress,
1147 rti1516e::RestoreInProgress,
1148 rti1516e::FederateNotExecutionMember,
1149 rti1516e::NotConnected,
1150 rti1516e::RTIinternalError);
1153 virtual
void subscribeObjectClassAttributesWithRegions (
1155 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1156 theAttributeHandleSetRegionHandleSetPairVector,
1158 std::wstring const & updateRateDesignator)
1159 throw (rti1516e::InvalidRegionContext,
1160 rti1516e::RegionNotCreatedByThisFederate,
1161 rti1516e::InvalidRegion,
1162 rti1516e::AttributeNotDefined,
1163 rti1516e::ObjectClassNotDefined,
1164 rti1516e::InvalidUpdateRateDesignator,
1165 rti1516e::SaveInProgress,
1166 rti1516e::RestoreInProgress,
1167 rti1516e::FederateNotExecutionMember,
1168 rti1516e::NotConnected,
1169 rti1516e::RTIinternalError);
1173 virtual
void unsubscribeObjectClassAttributesWithRegions (
1175 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1176 theAttributeHandleSetRegionHandleSetPairVector)
1177 throw (rti1516e::RegionNotCreatedByThisFederate,
1178 rti1516e::InvalidRegion,
1179 rti1516e::AttributeNotDefined,
1180 rti1516e::ObjectClassNotDefined,
1181 rti1516e::SaveInProgress,
1182 rti1516e::RestoreInProgress,
1183 rti1516e::FederateNotExecutionMember,
1184 rti1516e::NotConnected,
1185 rti1516e::RTIinternalError);
1188 virtual
void subscribeInteractionClassWithRegions (
1190 rti1516e::RegionHandleSet const & theRegionHandleSet,
1192 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
1193 rti1516e::InvalidRegionContext,
1194 rti1516e::RegionNotCreatedByThisFederate,
1195 rti1516e::InvalidRegion,
1196 rti1516e::InteractionClassNotDefined,
1197 rti1516e::SaveInProgress,
1198 rti1516e::RestoreInProgress,
1199 rti1516e::FederateNotExecutionMember,
1200 rti1516e::NotConnected,
1201 rti1516e::RTIinternalError);
1204 virtual
void unsubscribeInteractionClassWithRegions (
1206 rti1516e::RegionHandleSet const & theRegionHandleSet)
1207 throw (rti1516e::RegionNotCreatedByThisFederate,
1208 rti1516e::InvalidRegion,
1209 rti1516e::InteractionClassNotDefined,
1210 rti1516e::SaveInProgress,
1211 rti1516e::RestoreInProgress,
1212 rti1516e::FederateNotExecutionMember,
1213 rti1516e::NotConnected,
1214 rti1516e::RTIinternalError);
1217 virtual
void sendInteractionWithRegions (
1219 rti1516e::ParameterHandleValueMap const & theParameterValues,
1220 rti1516e::RegionHandleSet const & theRegionHandleSet,
1221 rti1516e::VariableLengthData const & theUserSuppliedTag)
1222 throw (rti1516e::InvalidRegionContext,
1223 rti1516e::RegionNotCreatedByThisFederate,
1224 rti1516e::InvalidRegion,
1225 rti1516e::InteractionClassNotPublished,
1226 rti1516e::InteractionParameterNotDefined,
1227 rti1516e::InteractionClassNotDefined,
1228 rti1516e::SaveInProgress,
1229 rti1516e::RestoreInProgress,
1230 rti1516e::FederateNotExecutionMember,
1231 rti1516e::NotConnected,
1232 rti1516e::RTIinternalError);
1234 virtual rti1516e::MessageRetractionHandle sendInteractionWithRegions (
1236 rti1516e::ParameterHandleValueMap const & theParameterValues,
1237 rti1516e::RegionHandleSet const & theRegionHandleSet,
1238 rti1516e::VariableLengthData const & theUserSuppliedTag,
1239 rti1516e::LogicalTime const & theTime)
1240 throw (rti1516e::InvalidLogicalTime,
1241 rti1516e::InvalidRegionContext,
1242 rti1516e::RegionNotCreatedByThisFederate,
1243 rti1516e::InvalidRegion,
1244 rti1516e::InteractionClassNotPublished,
1245 rti1516e::InteractionParameterNotDefined,
1246 rti1516e::InteractionClassNotDefined,
1247 rti1516e::SaveInProgress,
1248 rti1516e::RestoreInProgress,
1249 rti1516e::FederateNotExecutionMember,
1250 rti1516e::NotConnected,
1251 rti1516e::RTIinternalError);
1254 virtual
void requestAttributeValueUpdateWithRegions (
1256 rti1516e::AttributeHandleSetRegionHandleSetPairVector const & theSet,
1257 rti1516e::VariableLengthData const & theUserSuppliedTag)
1258 throw (rti1516e::InvalidRegionContext,
1259 rti1516e::RegionNotCreatedByThisFederate,
1260 rti1516e::InvalidRegion,
1261 rti1516e::AttributeNotDefined,
1262 rti1516e::ObjectClassNotDefined,
1263 rti1516e::SaveInProgress,
1264 rti1516e::RestoreInProgress,
1265 rti1516e::FederateNotExecutionMember,
1266 rti1516e::NotConnected,
1267 rti1516e::RTIinternalError);
1274 virtual rti1516e::
ResignAction getAutomaticResignDirective ()
1275 throw (rti1516e::FederateNotExecutionMember,
1276 rti1516e::NotConnected,
1277 rti1516e::RTIinternalError);
1280 virtual
void setAutomaticResignDirective (
1282 throw (rti1516e::InvalidResignAction,
1283 rti1516e::FederateNotExecutionMember,
1284 rti1516e::NotConnected,
1285 rti1516e::RTIinternalError);
1289 std::wstring const & theName)
1290 throw (rti1516e::NameNotFound,
1291 rti1516e::FederateNotExecutionMember,
1292 rti1516e::NotConnected,
1293 rti1516e::RTIinternalError);
1296 virtual std::wstring getFederateName (
1298 throw (rti1516e::InvalidFederateHandle,
1299 rti1516e::FederateHandleNotKnown,
1300 rti1516e::FederateNotExecutionMember,
1301 rti1516e::NotConnected,
1302 rti1516e::RTIinternalError);
1306 std::wstring const & theName)
1307 throw (rti1516e::NameNotFound,
1308 rti1516e::FederateNotExecutionMember,
1309 rti1516e::NotConnected,
1310 rti1516e::RTIinternalError);
1315 throw (rti1516e::InvalidObjectClassHandle,
1316 rti1516e::FederateNotExecutionMember,
1317 rti1516e::NotConnected,
1318 rti1516e::RTIinternalError);
1322 rti1516e::ObjectInstanceHandle const & theObject)
1323 throw (rti1516e::ObjectInstanceNotKnown,
1324 rti1516e::FederateNotExecutionMember,
1325 rti1516e::NotConnected,
1326 rti1516e::RTIinternalError);
1330 std::wstring const & theName)
1331 throw (rti1516e::ObjectInstanceNotKnown,
1332 rti1516e::FederateNotExecutionMember,
1333 rti1516e::NotConnected,
1334 rti1516e::RTIinternalError);
1338 rti1516e::ObjectInstanceHandle const & theHandle)
1339 throw (rti1516e::ObjectInstanceNotKnown,
1340 rti1516e::FederateNotExecutionMember,
1341 rti1516e::NotConnected,
1342 rti1516e::RTIinternalError);
1347 std::wstring const & theAttributeName)
1348 throw (rti1516e::NameNotFound,
1349 rti1516e::InvalidObjectClassHandle,
1350 rti1516e::FederateNotExecutionMember,
1351 rti1516e::NotConnected,
1352 rti1516e::RTIinternalError);
1358 throw (rti1516e::AttributeNotDefined,
1359 rti1516e::InvalidAttributeHandle,
1360 rti1516e::InvalidObjectClassHandle,
1361 rti1516e::FederateNotExecutionMember,
1362 rti1516e::NotConnected,
1363 rti1516e::RTIinternalError);
1366 virtual
double getUpdateRateValue (
1367 std::wstring const & updateRateDesignator)
1368 throw (rti1516e::InvalidUpdateRateDesignator,
1369 rti1516e::FederateNotExecutionMember,
1370 rti1516e::NotConnected,
1371 rti1516e::RTIinternalError);
1374 virtual
double getUpdateRateValueForAttribute (
1375 rti1516e::ObjectInstanceHandle const & theObject,
1377 throw (rti1516e::ObjectInstanceNotKnown,
1378 rti1516e::AttributeNotDefined,
1379 rti1516e::FederateNotExecutionMember,
1380 rti1516e::NotConnected,
1381 rti1516e::RTIinternalError);
1385 std::wstring const & theName)
1386 throw (rti1516e::NameNotFound,
1387 rti1516e::FederateNotExecutionMember,
1388 rti1516e::NotConnected,
1389 rti1516e::RTIinternalError);
1394 throw (rti1516e::InvalidInteractionClassHandle,
1395 rti1516e::FederateNotExecutionMember,
1396 rti1516e::NotConnected,
1397 rti1516e::RTIinternalError);
1402 std::wstring const & theName)
1403 throw (rti1516e::NameNotFound,
1404 rti1516e::InvalidInteractionClassHandle,
1405 rti1516e::FederateNotExecutionMember,
1406 rti1516e::NotConnected,
1407 rti1516e::RTIinternalError);
1413 throw (rti1516e::InteractionParameterNotDefined,
1414 rti1516e::InvalidParameterHandle,
1415 rti1516e::InvalidInteractionClassHandle,
1416 rti1516e::FederateNotExecutionMember,
1417 rti1516e::NotConnected,
1418 rti1516e::RTIinternalError);
1421 virtual rti1516e::
OrderType getOrderType (
1422 std::wstring const & orderName)
1423 throw (rti1516e::InvalidOrderName,
1424 rti1516e::FederateNotExecutionMember,
1425 rti1516e::NotConnected,
1426 rti1516e::RTIinternalError);
1429 virtual std::wstring getOrderName (
1431 throw (rti1516e::InvalidOrderType,
1432 rti1516e::FederateNotExecutionMember,
1433 rti1516e::NotConnected,
1434 rti1516e::RTIinternalError);
1438 std::wstring const & transportationName)
1439 throw (rti1516e::InvalidTransportationName,
1440 rti1516e::FederateNotExecutionMember,
1441 rti1516e::NotConnected,
1442 rti1516e::RTIinternalError);
1447 throw (rti1516e::InvalidTransportationType,
1448 rti1516e::FederateNotExecutionMember,
1449 rti1516e::NotConnected,
1450 rti1516e::RTIinternalError);
1453 virtual rti1516e::DimensionHandleSet getAvailableDimensionsForClassAttribute (
1456 throw (rti1516e::AttributeNotDefined,
1457 rti1516e::InvalidAttributeHandle,
1458 rti1516e::InvalidObjectClassHandle,
1459 rti1516e::FederateNotExecutionMember,
1460 rti1516e::NotConnected,
1461 rti1516e::RTIinternalError);
1464 virtual rti1516e::DimensionHandleSet getAvailableDimensionsForInteractionClass (
1466 throw (rti1516e::InvalidInteractionClassHandle,
1467 rti1516e::FederateNotExecutionMember,
1468 rti1516e::NotConnected,
1469 rti1516e::RTIinternalError);
1473 std::wstring const & theName)
1474 throw (rti1516e::NameNotFound,
1475 rti1516e::FederateNotExecutionMember,
1476 rti1516e::NotConnected,
1477 rti1516e::RTIinternalError);
1482 throw (rti1516e::InvalidDimensionHandle,
1483 rti1516e::FederateNotExecutionMember,
1484 rti1516e::NotConnected,
1485 rti1516e::RTIinternalError);
1488 virtual
unsigned long getDimensionUpperBound (
1490 throw (rti1516e::InvalidDimensionHandle,
1491 rti1516e::FederateNotExecutionMember,
1492 rti1516e::NotConnected,
1493 rti1516e::RTIinternalError);
1496 virtual rti1516e::DimensionHandleSet getDimensionHandleSet (
1497 rti1516e::RegionHandle const & theRegionHandle)
1498 throw (rti1516e::InvalidRegion,
1499 rti1516e::SaveInProgress,
1500 rti1516e::RestoreInProgress,
1501 rti1516e::FederateNotExecutionMember,
1502 rti1516e::NotConnected,
1503 rti1516e::RTIinternalError);
1506 virtual rti1516e::RangeBounds getRangeBounds (
1507 rti1516e::RegionHandle const & theRegionHandle,
1509 throw (rti1516e::RegionDoesNotContainSpecifiedDimension,
1510 rti1516e::InvalidRegion,
1511 rti1516e::SaveInProgress,
1512 rti1516e::RestoreInProgress,
1513 rti1516e::FederateNotExecutionMember,
1514 rti1516e::NotConnected,
1515 rti1516e::RTIinternalError);
1518 virtual
void setRangeBounds (
1519 rti1516e::RegionHandle const & theRegionHandle,
1521 rti1516e::RangeBounds const & theRangeBounds)
1522 throw (rti1516e::InvalidRangeBound,
1523 rti1516e::RegionDoesNotContainSpecifiedDimension,
1524 rti1516e::RegionNotCreatedByThisFederate,
1525 rti1516e::InvalidRegion,
1526 rti1516e::SaveInProgress,
1527 rti1516e::RestoreInProgress,
1528 rti1516e::FederateNotExecutionMember,
1529 rti1516e::NotConnected,
1530 rti1516e::RTIinternalError);
1533 virtual
unsigned long normalizeFederateHandle (
1535 throw (rti1516e::InvalidFederateHandle,
1536 rti1516e::FederateNotExecutionMember,
1537 rti1516e::NotConnected,
1538 rti1516e::RTIinternalError);
1541 virtual
unsigned long normalizeServiceGroup (
1543 throw (rti1516e::InvalidServiceGroup,
1544 rti1516e::FederateNotExecutionMember,
1545 rti1516e::NotConnected,
1546 rti1516e::RTIinternalError);
1549 virtual
void enableObjectClassRelevanceAdvisorySwitch ()
1550 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOn,
1551 rti1516e::SaveInProgress,
1552 rti1516e::RestoreInProgress,
1553 rti1516e::FederateNotExecutionMember,
1554 rti1516e::NotConnected,
1555 rti1516e::RTIinternalError);
1558 virtual
void disableObjectClassRelevanceAdvisorySwitch ()
1559 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOff,
1560 rti1516e::SaveInProgress,
1561 rti1516e::RestoreInProgress,
1562 rti1516e::FederateNotExecutionMember,
1563 rti1516e::NotConnected,
1564 rti1516e::RTIinternalError);
1568 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOn,
1569 rti1516e::SaveInProgress,
1570 rti1516e::RestoreInProgress,
1571 rti1516e::FederateNotExecutionMember,
1572 rti1516e::NotConnected,
1573 rti1516e::RTIinternalError);
1577 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOff,
1578 rti1516e::SaveInProgress,
1579 rti1516e::RestoreInProgress,
1580 rti1516e::FederateNotExecutionMember,
1581 rti1516e::NotConnected,
1582 rti1516e::RTIinternalError);
1586 throw (rti1516e::AttributeScopeAdvisorySwitchIsOn,
1587 rti1516e::SaveInProgress,
1588 rti1516e::RestoreInProgress,
1589 rti1516e::FederateNotExecutionMember,
1590 rti1516e::NotConnected,
1591 rti1516e::RTIinternalError);
1595 throw (rti1516e::AttributeScopeAdvisorySwitchIsOff,
1596 rti1516e::SaveInProgress,
1597 rti1516e::RestoreInProgress,
1598 rti1516e::FederateNotExecutionMember,
1599 rti1516e::NotConnected,
1600 rti1516e::RTIinternalError);
1604 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOn,
1605 rti1516e::SaveInProgress,
1606 rti1516e::RestoreInProgress,
1607 rti1516e::FederateNotExecutionMember,
1608 rti1516e::NotConnected,
1609 rti1516e::RTIinternalError);
1613 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOff,
1614 rti1516e::SaveInProgress,
1615 rti1516e::RestoreInProgress,
1616 rti1516e::FederateNotExecutionMember,
1617 rti1516e::NotConnected,
1618 rti1516e::RTIinternalError);
1621 virtual
bool evokeCallback (
1622 double approximateMinimumTimeInSeconds,
1623 bool unlockWhileWaiting=false)
1624 throw (rti1516e::CallNotAllowedFromWithinCallback,
1625 rti1516e::RTIinternalError);
1628 virtual
bool evokeMultipleCallbacks (
1629 double approximateMinimumTimeInSeconds,
1630 double approximateMaximumTimeInSeconds,
1631 bool unlockWhileWaiting=false)
1632 throw (rti1516e::CallNotAllowedFromWithinCallback,
1633 rti1516e::RTIinternalError);
1636 virtual
void enableCallbacks ()
1637 throw (rti1516e::SaveInProgress,
1638 rti1516e::RestoreInProgress,
1639 rti1516e::RTIinternalError);
1642 virtual
void disableCallbacks ()
1643 throw (rti1516e::SaveInProgress,
1644 rti1516e::RestoreInProgress,
1645 rti1516e::RTIinternalError);
1650 virtual DtRtiApiUniquePtr<rti1516e::LogicalTimeFactory> getTimeFactory () const
1651 throw (rti1516e::FederateNotExecutionMember,
1652 rti1516e::NotConnected,
1653 rti1516e::RTIinternalError);
1657 rti1516e::VariableLengthData const & encodedValue) const
1658 throw (rti1516e::CouldNotDecode,
1659 rti1516e::FederateNotExecutionMember,
1660 rti1516e::NotConnected,
1661 rti1516e::RTIinternalError);
1664 rti1516e::VariableLengthData const & encodedValue) const
1665 throw (rti1516e::CouldNotDecode,
1666 rti1516e::FederateNotExecutionMember,
1667 rti1516e::NotConnected,
1668 rti1516e::RTIinternalError);
1671 rti1516e::VariableLengthData const & encodedValue) const
1672 throw (rti1516e::CouldNotDecode,
1673 rti1516e::FederateNotExecutionMember,
1674 rti1516e::NotConnected,
1675 rti1516e::RTIinternalError);
1677 virtual rti1516e::ObjectInstanceHandle decodeObjectInstanceHandle (
1678 rti1516e::VariableLengthData const & encodedValue) const
1679 throw (rti1516e::CouldNotDecode,
1680 rti1516e::FederateNotExecutionMember,
1681 rti1516e::NotConnected,
1682 rti1516e::RTIinternalError);
1685 rti1516e::VariableLengthData const & encodedValue) const
1686 throw (rti1516e::CouldNotDecode,
1687 rti1516e::FederateNotExecutionMember,
1688 rti1516e::NotConnected,
1689 rti1516e::RTIinternalError);
1692 rti1516e::VariableLengthData const & encodedValue) const
1693 throw (rti1516e::CouldNotDecode,
1694 rti1516e::FederateNotExecutionMember,
1695 rti1516e::NotConnected,
1696 rti1516e::RTIinternalError);
1699 rti1516e::VariableLengthData const & encodedValue) const
1700 throw (rti1516e::CouldNotDecode,
1701 rti1516e::FederateNotExecutionMember,
1702 rti1516e::NotConnected,
1703 rti1516e::RTIinternalError);
1705 virtual rti1516e::MessageRetractionHandle decodeMessageRetractionHandle (
1706 rti1516e::VariableLengthData const & encodedValue) const
1707 throw (rti1516e::CouldNotDecode,
1708 rti1516e::FederateNotExecutionMember,
1709 rti1516e::NotConnected,
1710 rti1516e::RTIinternalError);
1712 virtual rti1516e::RegionHandle decodeRegionHandle (
1713 rti1516e::VariableLengthData const & encodedValue) const
1714 throw (rti1516e::CouldNotDecode,
1715 rti1516e::FederateNotExecutionMember,
1716 rti1516e::NotConnected,
1717 rti1516e::RTIinternalError);
1729 static DtRtiAmbassadorImplementor* create(rti1516e::RTIambassador* topLevelAmbPtr);
1734 static
void setCreatorFunction(DtRtiAmbassadorImplementorCreator creator);
1739 virtual
void throwInternalError(const MAKRti::DtString & errorMessage) const;
1742 virtual
void throwNotConnected(const MAKRti::DtString & errorMessage) const;
1745 virtual
void throwNotJoined(const MAKRti::DtString & errorMessage) const;
1750 rti1516e::RTIambassador* myTopLevelAmb;
1753 bool myCallbacksEnabled;
1761 bool myThrowCallNotAllowedFromWithinCallback;
1766 static DtRtiAmbassadorImplementorCreator theCreator;
virtual void deleteRegion(Region *theRegion)
virtual void enableInteractionRelevanceAdvisorySwitch()
virtual char * getAttributeName(AttributeHandle theHandle, ObjectClassHandle whichClass)
virtual void federateSaveNotComplete()
OrderType
Definition: datatypes.pb.h:472
virtual ParameterHandle getParameterHandle(const char *theName, InteractionClassHandle whichClass)
virtual void unconditionalAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
This class is a base for the protocol specific DtRtiAmbassadorImplementor class.
Definition: ambImpBase.h:50
virtual void attributeOwnershipAcquisition(ObjectHandle theObject, const AttributeHandleSet &desiredAttributes, const char *theTag)
virtual EventRetractionHandle sendInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet &theParameters, const FedTime &theTime, const char *theTag)
virtual ObjectHandle registerObjectInstance(ObjectClassHandle theClass, const char *theObject)
virtual void requestFederationRestore(const char *label)
virtual char * getObjectClassName(ObjectClassHandle theHandle)
virtual void disableTimeConstrained()
virtual void cancelAttributeOwnershipAcquisition(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
virtual void retract(EventRetractionHandle theHandle)
virtual void flushQueueRequest(const FedTime &theTime)
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
virtual void disableTimeRegulation()
virtual EventRetractionHandle updateAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag)
virtual Region * createRegion(SpaceHandle theSpace, ULong numberOfExtents)
DtRtiAmbassadorBaseImplementor & operator=(const DtRtiAmbassadorBaseImplementor &)
Assignment not implemented – Assignment Not Allowed!
virtual char * getParameterName(ParameterHandle theHandle, InteractionClassHandle whichClass)
virtual void queryAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute)
virtual void publishInteractionClass(InteractionClassHandle theInteraction)
virtual void localDeleteObjectInstance(ObjectHandle theObject)
ULong InteractionClassHandle
Definition: RTItypes13.h:106
A class provided by the HLA C++ Interface Specification which federates use to communicate with the R...
TransportationType
Definition: rtiAmbassadorFedProBase.h:43
Handle ParameterHandle
Definition: RTItypes13.h:114
ServiceGroup
Definition: datatypes.pb.h:497
virtual DimensionHandle getDimensionHandle(const char *theName, SpaceHandle whichSpace)
virtual void disableAttributeRelevanceAdvisorySwitch()
virtual void attributeOwnershipAcquisitionIfAvailable(ObjectHandle theObject, const AttributeHandleSet &desiredAttributes)
virtual void timeAdvanceRequestAvailable(const FedTime &theTime)
virtual void requestFederationSave(const char *label, const FedTime &theTime)
virtual void modifyLookahead(const FedTime &theLookahead)
virtual void enableAttributeScopeAdvisorySwitch()
virtual FederateHandle joinFederationExecution(const char *yourName, const char *executionName, FederateAmbassadorPtr federateAmbassadorReference)
CallbackModel
Definition: datatypes.pb.h:280
virtual char * getInteractionClassName(InteractionClassHandle theHandle)
virtual void negotiatedAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet &theAttributes, const char *theTag)
virtual ObjectHandle getObjectInstanceHandle(const char *theName)
virtual EventRetractionHandle deleteObjectInstance(ObjectHandle theObject, const FedTime &theTime, const char *theTag)
virtual void timeAdvanceRequest(const FedTime &theTime)
virtual void resignFederationExecution(ResignAction theAction)
virtual void enableTimeRegulation(const FedTime &theFederateTime, const FedTime &theLookahead)
virtual InteractionClassHandle getInteractionClassHandle(const char *theName)
virtual void changeInteractionOrderType(InteractionClassHandle theClass, OrderingHandle theType)
virtual void federateRestoreComplete()
Handle DimensionHandle
Definition: RTItypes13.h:118
virtual void destroyFederationExecution(const char *executionName)
virtual void registerFederationSynchronizationPoint(const char *label, const char *theTag)
virtual void disableAsynchronousDelivery()
virtual void unpublishObjectClass(ObjectClassHandle theClass)
virtual void unsubscribeInteractionClass(InteractionClassHandle theClass)
virtual void unsubscribeObjectClass(ObjectClassHandle theClass)
virtual void unpublishInteractionClass(InteractionClassHandle theInteraction)
virtual void queryLookahead(FedTime &theTime)
virtual void disableInteractionRelevanceAdvisorySwitch()
virtual void federateRestoreNotComplete()
virtual void createFederationExecution(const char *executionName, const char *FED)
ResignAction
Definition: datatypes.pb.h:305
virtual void cancelNegotiatedAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet &theAttributes)
virtual void federateSaveBegun()
ULong FederateHandle
Definition: RTItypes13.h:120
virtual char * getDimensionName(DimensionHandle theHandle, SpaceHandle whichSpace)
virtual char * getObjectInstanceName(ObjectHandle theHandle)
virtual Boolean throw(SpecifiedSaveLabelDoesNotExist, ConcurrentAccessAttempted, RTIinternalError)
virtual void synchronizationPointAchieved(const char *label)
virtual Boolean isAttributeOwnedByFederate(ObjectHandle theObject, AttributeHandle theAttribute)
An abstract base class which must be implemented, and used by a federate.
virtual void subscribeObjectClassAttributes(ObjectClassHandle theClass, const AttributeHandleSet &attributeList, Boolean active=RTI_TRUE)
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
virtual void disableAttributeScopeAdvisorySwitch()
virtual void subscribeInteractionClass(InteractionClassHandle theClass, Boolean active=RTI_TRUE)
virtual void changeAttributeOrderType(ObjectHandle theObject, const AttributeHandleSet &theAttributes, OrderingHandle theType)
ULong ObjectClassHandle
Definition: RTItypes13.h:104
virtual void enableTimeConstrained()
virtual void federateSaveComplete()
virtual void enableAsynchronousDelivery()
virtual AttributeHandle getAttributeHandle(const char *theName, ObjectClassHandle whichClass)
virtual char * getTransportationName(TransportationHandle theHandle)
virtual void enableAttributeRelevanceAdvisorySwitch()
Handle AttributeHandle
Definition: RTItypes13.h:112
virtual ObjectClassHandle getObjectClassHandle(const char *theName)
Contains the DtRtiAmbassadorBaseImplementor class declaration.