16 #include "RTI/RTI1516.h"
33 typedef DtRtiAmbassadorImplementor* (*DtRtiAmbassadorImplementorCreator)
44 virtual ~DtRtiAmbassadorImplementor();
49 DtRtiAmbassadorImplementor(DtRtiAmbassadorImplementor
const& );
52 DtRtiAmbassadorImplementor&
operator= (DtRtiAmbassadorImplementor
const& );
61 virtual void connect (
63 rti1516e::CallbackModel theCallbackModel,
64 std::wstring
const & localSettingsDesignator=L
"")
65 throw (rti1516e::ConnectionFailed,
66 rti1516e::InvalidLocalSettingsDesignator,
67 rti1516e::UnsupportedCallbackModel,
68 rti1516e::AlreadyConnected,
69 rti1516e::CallNotAllowedFromWithinCallback,
70 rti1516e::RTIinternalError);
73 virtual
void disconnect ()
74 throw (rti1516e::FederateIsExecutionMember,
75 rti1516e::CallNotAllowedFromWithinCallback,
76 rti1516e::RTIinternalError);
80 std::wstring const & federationExecutionName,
81 std::wstring const & fomModule,
82 std::wstring const & logicalTimeImplementationName)
83 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
84 rti1516e::InconsistentFDD,
85 rti1516e::ErrorReadingFDD,
86 rti1516e::CouldNotOpenFDD,
87 rti1516e::FederationExecutionAlreadyExists,
88 rti1516e::NotConnected,
89 rti1516e::RTIinternalError);
92 std::wstring const & federationExecutionName,
93 std::vector<std::wstring> const & fomModules,
94 std::wstring const & logicalTimeImplementationName)
95 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
96 rti1516e::InconsistentFDD,
97 rti1516e::ErrorReadingFDD,
98 rti1516e::CouldNotOpenFDD,
99 rti1516e::FederationExecutionAlreadyExists,
100 rti1516e::NotConnected,
101 rti1516e::RTIinternalError);
103 virtual
void createFederationExecutionWithMIM (
104 std::wstring const & federationExecutionName,
105 std::vector<std::wstring> const & fomModules,
106 std::wstring const & mimModule,
107 std::wstring const & logicalTimeImplementationName)
108 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
109 rti1516e::InconsistentFDD,
110 rti1516e::ErrorReadingFDD,
111 rti1516e::CouldNotOpenFDD,
112 rti1516e::DesignatorIsHLAstandardMIM,
113 rti1516e::ErrorReadingMIM,
114 rti1516e::CouldNotOpenMIM,
115 rti1516e::FederationExecutionAlreadyExists,
116 rti1516e::NotConnected,
117 rti1516e::RTIinternalError);
121 std::wstring const & federationExecutionName)
122 throw (rti1516e::FederatesCurrentlyJoined,
123 rti1516e::FederationExecutionDoesNotExist,
124 rti1516e::NotConnected,
125 rti1516e::RTIinternalError);
128 virtual
void listFederationExecutions ()
129 throw (rti1516e::NotConnected,
130 rti1516e::RTIinternalError);
134 std::wstring const & federateType,
135 std::wstring const & federationExecutionName,
136 std::vector<std::wstring> const & additionalFomModules,
138 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
139 rti1516e::FederationExecutionDoesNotExist,
140 rti1516e::InconsistentFDD,
141 rti1516e::ErrorReadingFDD,
142 rti1516e::CouldNotOpenFDD,
143 rti1516e::SaveInProgress,
144 rti1516e::RestoreInProgress,
145 rti1516e::FederateAlreadyExecutionMember,
146 rti1516e::NotConnected,
147 rti1516e::CallNotAllowedFromWithinCallback,
148 rti1516e::RTIinternalError);
151 std::wstring const & federateName,
152 std::wstring const & federateType,
153 std::wstring const & federationExecutionName,
154 std::vector<std::wstring> const & additionalFomModules,
156 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
157 rti1516e::FederateNameAlreadyInUse,
158 rti1516e::FederationExecutionDoesNotExist,
159 rti1516e::InconsistentFDD,
160 rti1516e::ErrorReadingFDD,
161 rti1516e::CouldNotOpenFDD,
162 rti1516e::SaveInProgress,
163 rti1516e::RestoreInProgress,
164 rti1516e::FederateAlreadyExecutionMember,
165 rti1516e::NotConnected,
166 rti1516e::CallNotAllowedFromWithinCallback,
167 rti1516e::RTIinternalError);
172 throw (rti1516e::InvalidResignAction,
173 rti1516e::OwnershipAcquisitionPending,
174 rti1516e::FederateOwnsAttributes,
175 rti1516e::FederateNotExecutionMember,
176 rti1516e::NotConnected,
177 rti1516e::CallNotAllowedFromWithinCallback,
178 rti1516e::RTIinternalError);
182 std::wstring const & label,
183 rti1516e::VariableLengthData const & theUserSuppliedTag)
184 throw (rti1516e::SaveInProgress,
185 rti1516e::RestoreInProgress,
186 rti1516e::FederateNotExecutionMember,
187 rti1516e::NotConnected,
188 rti1516e::RTIinternalError);
191 std::wstring const & label,
192 rti1516e::VariableLengthData const & theUserSuppliedTag,
193 rti1516e::FederateHandleSet const & synchronizationSet)
194 throw (rti1516e::InvalidFederateHandle,
195 rti1516e::SaveInProgress,
196 rti1516e::RestoreInProgress,
197 rti1516e::FederateNotExecutionMember,
198 rti1516e::NotConnected,
199 rti1516e::RTIinternalError);
203 std::wstring const & label,
205 throw (rti1516e::SynchronizationPointLabelNotAnnounced,
206 rti1516e::SaveInProgress,
207 rti1516e::RestoreInProgress,
208 rti1516e::FederateNotExecutionMember,
209 rti1516e::NotConnected,
210 rti1516e::RTIinternalError);
214 std::wstring const & label)
215 throw (rti1516e::SaveInProgress,
216 rti1516e::RestoreInProgress,
217 rti1516e::FederateNotExecutionMember,
218 rti1516e::NotConnected,
219 rti1516e::RTIinternalError);
222 std::wstring const & label,
223 rti1516e::LogicalTime const & theTime)
224 throw (rti1516e::LogicalTimeAlreadyPassed,
225 rti1516e::InvalidLogicalTime,
226 rti1516e::FederateUnableToUseTime,
227 rti1516e::SaveInProgress,
228 rti1516e::RestoreInProgress,
229 rti1516e::FederateNotExecutionMember,
230 rti1516e::NotConnected,
231 rti1516e::RTIinternalError);
235 throw (rti1516e::SaveNotInitiated,
236 rti1516e::RestoreInProgress,
237 rti1516e::FederateNotExecutionMember,
238 rti1516e::NotConnected,
239 rti1516e::RTIinternalError);
243 throw (rti1516e::FederateHasNotBegunSave,
244 rti1516e::RestoreInProgress,
245 rti1516e::FederateNotExecutionMember,
246 rti1516e::NotConnected,
247 rti1516e::RTIinternalError);
250 throw (rti1516e::FederateHasNotBegunSave,
251 rti1516e::RestoreInProgress,
252 rti1516e::FederateNotExecutionMember,
253 rti1516e::NotConnected,
254 rti1516e::RTIinternalError);
257 virtual
void abortFederationSave ()
258 throw (rti1516e::SaveNotInProgress,
259 rti1516e::FederateNotExecutionMember,
260 rti1516e::NotConnected,
261 rti1516e::RTIinternalError);
264 virtual
void queryFederationSaveStatus ()
265 throw (rti1516e::RestoreInProgress,
266 rti1516e::FederateNotExecutionMember,
267 rti1516e::NotConnected,
268 rti1516e::RTIinternalError);
272 std::wstring const & label)
273 throw (rti1516e::SaveInProgress,
274 rti1516e::RestoreInProgress,
275 rti1516e::FederateNotExecutionMember,
276 rti1516e::NotConnected,
277 rti1516e::RTIinternalError);
281 throw (rti1516e::RestoreNotRequested,
282 rti1516e::SaveInProgress,
283 rti1516e::FederateNotExecutionMember,
284 rti1516e::NotConnected,
285 rti1516e::RTIinternalError);
288 throw (rti1516e::RestoreNotRequested,
289 rti1516e::SaveInProgress,
290 rti1516e::FederateNotExecutionMember,
291 rti1516e::NotConnected,
292 rti1516e::RTIinternalError);
295 virtual
void abortFederationRestore ()
296 throw (rti1516e::RestoreNotInProgress,
297 rti1516e::FederateNotExecutionMember,
298 rti1516e::NotConnected,
299 rti1516e::RTIinternalError);
302 virtual
void queryFederationRestoreStatus ()
303 throw (rti1516e::SaveInProgress,
304 rti1516e::FederateNotExecutionMember,
305 rti1516e::NotConnected,
306 rti1516e::RTIinternalError);
313 virtual
void publishObjectClassAttributes (
315 rti1516e::AttributeHandleSet const & attributeList)
316 throw (rti1516e::AttributeNotDefined,
317 rti1516e::ObjectClassNotDefined,
318 rti1516e::SaveInProgress,
319 rti1516e::RestoreInProgress,
320 rti1516e::FederateNotExecutionMember,
321 rti1516e::NotConnected,
322 rti1516e::RTIinternalError);
327 throw (rti1516e::OwnershipAcquisitionPending,
328 rti1516e::ObjectClassNotDefined,
329 rti1516e::SaveInProgress,
330 rti1516e::RestoreInProgress,
331 rti1516e::FederateNotExecutionMember,
332 rti1516e::NotConnected,
333 rti1516e::RTIinternalError);
335 virtual
void unpublishObjectClassAttributes (
337 rti1516e::AttributeHandleSet const & attributeList)
338 throw (rti1516e::OwnershipAcquisitionPending,
339 rti1516e::AttributeNotDefined,
340 rti1516e::ObjectClassNotDefined,
341 rti1516e::SaveInProgress,
342 rti1516e::RestoreInProgress,
343 rti1516e::FederateNotExecutionMember,
344 rti1516e::NotConnected,
345 rti1516e::RTIinternalError);
350 throw (rti1516e::InteractionClassNotDefined,
351 rti1516e::SaveInProgress,
352 rti1516e::RestoreInProgress,
353 rti1516e::FederateNotExecutionMember,
354 rti1516e::NotConnected,
355 rti1516e::RTIinternalError);
360 throw (rti1516e::InteractionClassNotDefined,
361 rti1516e::SaveInProgress,
362 rti1516e::RestoreInProgress,
363 rti1516e::FederateNotExecutionMember,
364 rti1516e::NotConnected,
365 rti1516e::RTIinternalError);
370 rti1516e::AttributeHandleSet const & attributeList,
372 std::wstring const & updateRateDesignator)
373 throw (rti1516e::AttributeNotDefined,
374 rti1516e::ObjectClassNotDefined,
375 rti1516e::InvalidUpdateRateDesignator,
376 rti1516e::SaveInProgress,
377 rti1516e::RestoreInProgress,
378 rti1516e::FederateNotExecutionMember,
379 rti1516e::NotConnected,
380 rti1516e::RTIinternalError);
385 throw (rti1516e::ObjectClassNotDefined,
386 rti1516e::SaveInProgress,
387 rti1516e::RestoreInProgress,
388 rti1516e::FederateNotExecutionMember,
389 rti1516e::NotConnected,
390 rti1516e::RTIinternalError);
392 virtual
void unsubscribeObjectClassAttributes (
394 rti1516e::AttributeHandleSet const & attributeList)
395 throw (rti1516e::AttributeNotDefined,
396 rti1516e::ObjectClassNotDefined,
397 rti1516e::SaveInProgress,
398 rti1516e::RestoreInProgress,
399 rti1516e::FederateNotExecutionMember,
400 rti1516e::NotConnected,
401 rti1516e::RTIinternalError);
407 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
408 rti1516e::InteractionClassNotDefined,
409 rti1516e::SaveInProgress,
410 rti1516e::RestoreInProgress,
411 rti1516e::FederateNotExecutionMember,
412 rti1516e::NotConnected,
413 rti1516e::RTIinternalError);
418 throw (rti1516e::InteractionClassNotDefined,
419 rti1516e::SaveInProgress,
420 rti1516e::RestoreInProgress,
421 rti1516e::FederateNotExecutionMember,
422 rti1516e::NotConnected,
423 rti1516e::RTIinternalError);
430 virtual
void reserveObjectInstanceName (
431 std::wstring const & theObjectInstanceName)
432 throw (rti1516e::IllegalName,
433 rti1516e::SaveInProgress,
434 rti1516e::RestoreInProgress,
435 rti1516e::FederateNotExecutionMember,
436 rti1516e::NotConnected,
437 rti1516e::RTIinternalError);
440 virtual
void releaseObjectInstanceName (
441 std::wstring const & theObjectInstanceName)
442 throw (rti1516e::ObjectInstanceNameNotReserved,
443 rti1516e::SaveInProgress,
444 rti1516e::RestoreInProgress,
445 rti1516e::FederateNotExecutionMember,
446 rti1516e::NotConnected,
447 rti1516e::RTIinternalError);
450 virtual
void reserveMultipleObjectInstanceName (
451 std::set<std::wstring> const & theObjectInstanceNames)
452 throw (rti1516e::IllegalName,
453 rti1516e::NameSetWasEmpty,
454 rti1516e::SaveInProgress,
455 rti1516e::RestoreInProgress,
456 rti1516e::FederateNotExecutionMember,
457 rti1516e::NotConnected,
458 rti1516e::RTIinternalError);
461 virtual
void releaseMultipleObjectInstanceName (
462 std::set<std::wstring> const & theObjectInstanceNames)
463 throw (rti1516e::ObjectInstanceNameNotReserved,
464 rti1516e::SaveInProgress,
465 rti1516e::RestoreInProgress,
466 rti1516e::FederateNotExecutionMember,
467 rti1516e::NotConnected,
468 rti1516e::RTIinternalError);
473 throw (rti1516e::ObjectClassNotPublished,
474 rti1516e::ObjectClassNotDefined,
475 rti1516e::SaveInProgress,
476 rti1516e::RestoreInProgress,
477 rti1516e::FederateNotExecutionMember,
478 rti1516e::NotConnected,
479 rti1516e::RTIinternalError);
483 std::wstring const & theObjectInstanceName)
484 throw (rti1516e::ObjectInstanceNameInUse,
485 rti1516e::ObjectInstanceNameNotReserved,
486 rti1516e::ObjectClassNotPublished,
487 rti1516e::ObjectClassNotDefined,
488 rti1516e::SaveInProgress,
489 rti1516e::RestoreInProgress,
490 rti1516e::FederateNotExecutionMember,
491 rti1516e::NotConnected,
492 rti1516e::RTIinternalError);
496 rti1516e::ObjectInstanceHandle const & theObject,
497 rti1516e::AttributeHandleValueMap const & theAttributeValues,
498 rti1516e::VariableLengthData const & theUserSuppliedTag)
499 throw (rti1516e::AttributeNotOwned,
500 rti1516e::AttributeNotDefined,
501 rti1516e::ObjectInstanceNotKnown,
502 rti1516e::SaveInProgress,
503 rti1516e::RestoreInProgress,
504 rti1516e::FederateNotExecutionMember,
505 rti1516e::NotConnected,
506 rti1516e::RTIinternalError);
509 rti1516e::ObjectInstanceHandle const & theObject,
510 rti1516e::AttributeHandleValueMap const & theAttributeValues,
511 rti1516e::VariableLengthData const & theUserSuppliedTag,
512 rti1516e::LogicalTime const & theTime)
513 throw (rti1516e::InvalidLogicalTime,
514 rti1516e::AttributeNotOwned,
515 rti1516e::AttributeNotDefined,
516 rti1516e::ObjectInstanceNotKnown,
517 rti1516e::SaveInProgress,
518 rti1516e::RestoreInProgress,
519 rti1516e::FederateNotExecutionMember,
520 rti1516e::NotConnected,
521 rti1516e::RTIinternalError);
526 rti1516e::ParameterHandleValueMap const & theParameterValues,
527 rti1516e::VariableLengthData const & theUserSuppliedTag)
528 throw (rti1516e::InteractionClassNotPublished,
529 rti1516e::InteractionParameterNotDefined,
530 rti1516e::InteractionClassNotDefined,
531 rti1516e::SaveInProgress,
532 rti1516e::RestoreInProgress,
533 rti1516e::FederateNotExecutionMember,
534 rti1516e::NotConnected,
535 rti1516e::RTIinternalError);
539 rti1516e::ParameterHandleValueMap const & theParameterValues,
540 rti1516e::VariableLengthData const & theUserSuppliedTag,
541 rti1516e::LogicalTime const & theTime)
542 throw (rti1516e::InvalidLogicalTime,
543 rti1516e::InteractionClassNotPublished,
544 rti1516e::InteractionParameterNotDefined,
545 rti1516e::InteractionClassNotDefined,
546 rti1516e::SaveInProgress,
547 rti1516e::RestoreInProgress,
548 rti1516e::FederateNotExecutionMember,
549 rti1516e::NotConnected,
550 rti1516e::RTIinternalError);
554 rti1516e::ObjectInstanceHandle const & theObject,
555 rti1516e::VariableLengthData const & theUserSuppliedTag)
556 throw (rti1516e::DeletePrivilegeNotHeld,
557 rti1516e::ObjectInstanceNotKnown,
558 rti1516e::SaveInProgress,
559 rti1516e::RestoreInProgress,
560 rti1516e::FederateNotExecutionMember,
561 rti1516e::NotConnected,
562 rti1516e::RTIinternalError);
565 rti1516e::ObjectInstanceHandle const & theObject,
566 rti1516e::VariableLengthData const & theUserSuppliedTag,
567 rti1516e::LogicalTime const & theTime)
568 throw (rti1516e::InvalidLogicalTime,
569 rti1516e::DeletePrivilegeNotHeld,
570 rti1516e::ObjectInstanceNotKnown,
571 rti1516e::SaveInProgress,
572 rti1516e::RestoreInProgress,
573 rti1516e::FederateNotExecutionMember,
574 rti1516e::NotConnected,
575 rti1516e::RTIinternalError);
579 rti1516e::ObjectInstanceHandle const & theObject)
580 throw (rti1516e::OwnershipAcquisitionPending,
581 rti1516e::FederateOwnsAttributes,
582 rti1516e::ObjectInstanceNotKnown,
583 rti1516e::SaveInProgress,
584 rti1516e::RestoreInProgress,
585 rti1516e::FederateNotExecutionMember,
586 rti1516e::NotConnected,
587 rti1516e::RTIinternalError);
590 virtual
void requestAttributeValueUpdate (
591 rti1516e::ObjectInstanceHandle const & theObject,
592 rti1516e::AttributeHandleSet const & theAttributes,
593 rti1516e::VariableLengthData const & theUserSuppliedTag)
594 throw (rti1516e::AttributeNotDefined,
595 rti1516e::ObjectInstanceNotKnown,
596 rti1516e::SaveInProgress,
597 rti1516e::RestoreInProgress,
598 rti1516e::FederateNotExecutionMember,
599 rti1516e::NotConnected,
600 rti1516e::RTIinternalError);
602 virtual
void requestAttributeValueUpdate (
604 rti1516e::AttributeHandleSet const & theAttributes,
605 rti1516e::VariableLengthData const & theUserSuppliedTag)
606 throw (rti1516e::AttributeNotDefined,
607 rti1516e::ObjectClassNotDefined,
608 rti1516e::SaveInProgress,
609 rti1516e::RestoreInProgress,
610 rti1516e::FederateNotExecutionMember,
611 rti1516e::NotConnected,
612 rti1516e::RTIinternalError);
615 virtual
void requestAttributeTransportationTypeChange (
616 rti1516e::ObjectInstanceHandle const & theObject,
617 rti1516e::AttributeHandleSet const & theAttributes,
618 rti1516e::TransportationType theType)
619 throw (rti1516e::AttributeAlreadyBeingChanged,
620 rti1516e::AttributeNotOwned,
621 rti1516e::AttributeNotDefined,
622 rti1516e::ObjectInstanceNotKnown,
623 rti1516e::InvalidTransportationType,
624 rti1516e::SaveInProgress,
625 rti1516e::RestoreInProgress,
626 rti1516e::FederateNotExecutionMember,
627 rti1516e::NotConnected,
628 rti1516e::RTIinternalError);
631 virtual
void queryAttributeTransportationType (
632 rti1516e::ObjectInstanceHandle const & theObject,
634 throw (rti1516e::AttributeNotDefined,
635 rti1516e::ObjectInstanceNotKnown,
636 rti1516e::SaveInProgress,
637 rti1516e::RestoreInProgress,
638 rti1516e::FederateNotExecutionMember,
639 rti1516e::NotConnected,
640 rti1516e::RTIinternalError);
643 virtual
void requestInteractionTransportationTypeChange (
645 rti1516e::TransportationType theType)
646 throw (rti1516e::InteractionClassAlreadyBeingChanged,
647 rti1516e::InteractionClassNotPublished,
648 rti1516e::InteractionClassNotDefined,
649 rti1516e::InvalidTransportationType,
650 rti1516e::SaveInProgress,
651 rti1516e::RestoreInProgress,
652 rti1516e::FederateNotExecutionMember,
653 rti1516e::NotConnected,
654 rti1516e::RTIinternalError);
657 virtual
void queryInteractionTransportationType (
660 throw (rti1516e::InteractionClassNotDefined,
661 rti1516e::SaveInProgress,
662 rti1516e::RestoreInProgress,
663 rti1516e::FederateNotExecutionMember,
664 rti1516e::NotConnected,
665 rti1516e::RTIinternalError);
674 rti1516e::ObjectInstanceHandle const & theObject,
675 rti1516e::AttributeHandleSet const & theAttributes)
676 throw (rti1516e::AttributeNotOwned,
677 rti1516e::AttributeNotDefined,
678 rti1516e::ObjectInstanceNotKnown,
679 rti1516e::SaveInProgress,
680 rti1516e::RestoreInProgress,
681 rti1516e::FederateNotExecutionMember,
682 rti1516e::NotConnected,
683 rti1516e::RTIinternalError);
687 rti1516e::ObjectInstanceHandle const & theObject,
688 rti1516e::AttributeHandleSet const & theAttributes,
689 rti1516e::VariableLengthData const & theUserSuppliedTag)
690 throw (rti1516e::AttributeAlreadyBeingDivested,
691 rti1516e::AttributeNotOwned,
692 rti1516e::AttributeNotDefined,
693 rti1516e::ObjectInstanceNotKnown,
694 rti1516e::SaveInProgress,
695 rti1516e::RestoreInProgress,
696 rti1516e::FederateNotExecutionMember,
697 rti1516e::NotConnected,
698 rti1516e::RTIinternalError);
701 virtual
void confirmDivestiture (
702 rti1516e::ObjectInstanceHandle const & theObject,
703 rti1516e::AttributeHandleSet const & confirmedAttributes,
704 rti1516e::VariableLengthData const & theUserSuppliedTag)
705 throw (rti1516e::NoAcquisitionPending,
706 rti1516e::AttributeDivestitureWasNotRequested,
707 rti1516e::AttributeNotOwned,
708 rti1516e::AttributeNotDefined,
709 rti1516e::ObjectInstanceNotKnown,
710 rti1516e::SaveInProgress,
711 rti1516e::RestoreInProgress,
712 rti1516e::FederateNotExecutionMember,
713 rti1516e::NotConnected,
714 rti1516e::RTIinternalError);
718 rti1516e::ObjectInstanceHandle const & theObject,
719 rti1516e::AttributeHandleSet const & desiredAttributes,
720 rti1516e::VariableLengthData const & theUserSuppliedTag)
721 throw (rti1516e::AttributeNotPublished,
722 rti1516e::ObjectClassNotPublished,
723 rti1516e::FederateOwnsAttributes,
724 rti1516e::AttributeNotDefined,
725 rti1516e::ObjectInstanceNotKnown,
726 rti1516e::SaveInProgress,
727 rti1516e::RestoreInProgress,
728 rti1516e::FederateNotExecutionMember,
729 rti1516e::NotConnected,
730 rti1516e::RTIinternalError);
734 rti1516e::ObjectInstanceHandle const & theObject,
735 rti1516e::AttributeHandleSet const & desiredAttributes)
736 throw (rti1516e::AttributeAlreadyBeingAcquired,
737 rti1516e::AttributeNotPublished,
738 rti1516e::ObjectClassNotPublished,
739 rti1516e::FederateOwnsAttributes,
740 rti1516e::AttributeNotDefined,
741 rti1516e::ObjectInstanceNotKnown,
742 rti1516e::SaveInProgress,
743 rti1516e::RestoreInProgress,
744 rti1516e::FederateNotExecutionMember,
745 rti1516e::NotConnected,
746 rti1516e::RTIinternalError);
749 virtual
void attributeOwnershipReleaseDenied (
750 rti1516e::ObjectInstanceHandle const & theObject,
751 rti1516e::AttributeHandleSet const & theAttributes)
752 throw (rti1516e::AttributeNotOwned,
753 rti1516e::AttributeNotDefined,
754 rti1516e::ObjectInstanceNotKnown,
755 rti1516e::SaveInProgress,
756 rti1516e::RestoreInProgress,
757 rti1516e::FederateNotExecutionMember,
758 rti1516e::NotConnected,
759 rti1516e::RTIinternalError);
762 virtual
void attributeOwnershipDivestitureIfWanted (
763 rti1516e::ObjectInstanceHandle const & theObject,
764 rti1516e::AttributeHandleSet const & theAttributes,
765 rti1516e::AttributeHandleSet & theDivestedAttributes)
766 throw (rti1516e::AttributeNotOwned,
767 rti1516e::AttributeNotDefined,
768 rti1516e::ObjectInstanceNotKnown,
769 rti1516e::SaveInProgress,
770 rti1516e::RestoreInProgress,
771 rti1516e::FederateNotExecutionMember,
772 rti1516e::NotConnected,
773 rti1516e::RTIinternalError);
777 rti1516e::ObjectInstanceHandle const & theObject,
778 rti1516e::AttributeHandleSet const & theAttributes)
779 throw (rti1516e::AttributeDivestitureWasNotRequested,
780 rti1516e::AttributeNotOwned,
781 rti1516e::AttributeNotDefined,
782 rti1516e::ObjectInstanceNotKnown,
783 rti1516e::SaveInProgress,
784 rti1516e::RestoreInProgress,
785 rti1516e::FederateNotExecutionMember,
786 rti1516e::NotConnected,
787 rti1516e::RTIinternalError);
791 rti1516e::ObjectInstanceHandle const & theObject,
792 rti1516e::AttributeHandleSet const & theAttributes)
793 throw (rti1516e::AttributeAcquisitionWasNotRequested,
794 rti1516e::AttributeAlreadyOwned,
795 rti1516e::AttributeNotDefined,
796 rti1516e::ObjectInstanceNotKnown,
797 rti1516e::SaveInProgress,
798 rti1516e::RestoreInProgress,
799 rti1516e::FederateNotExecutionMember,
800 rti1516e::NotConnected,
801 rti1516e::RTIinternalError);
805 rti1516e::ObjectInstanceHandle const & theObject,
807 throw (rti1516e::AttributeNotDefined,
808 rti1516e::ObjectInstanceNotKnown,
809 rti1516e::SaveInProgress,
810 rti1516e::RestoreInProgress,
811 rti1516e::FederateNotExecutionMember,
812 rti1516e::NotConnected,
813 rti1516e::RTIinternalError);
817 rti1516e::ObjectInstanceHandle const & theObject,
819 throw (rti1516e::AttributeNotDefined,
820 rti1516e::ObjectInstanceNotKnown,
821 rti1516e::SaveInProgress,
822 rti1516e::RestoreInProgress,
823 rti1516e::FederateNotExecutionMember,
824 rti1516e::NotConnected,
825 rti1516e::RTIinternalError);
833 rti1516e::LogicalTimeInterval const & theLookahead)
834 throw (rti1516e::InvalidLookahead,
835 rti1516e::InTimeAdvancingState,
836 rti1516e::RequestForTimeRegulationPending,
837 rti1516e::TimeRegulationAlreadyEnabled,
838 rti1516e::SaveInProgress,
839 rti1516e::RestoreInProgress,
840 rti1516e::FederateNotExecutionMember,
841 rti1516e::NotConnected,
842 rti1516e::RTIinternalError);
846 throw (rti1516e::TimeRegulationIsNotEnabled,
847 rti1516e::SaveInProgress,
848 rti1516e::RestoreInProgress,
849 rti1516e::FederateNotExecutionMember,
850 rti1516e::NotConnected,
851 rti1516e::RTIinternalError);
855 throw (rti1516e::InTimeAdvancingState,
856 rti1516e::RequestForTimeConstrainedPending,
857 rti1516e::TimeConstrainedAlreadyEnabled,
858 rti1516e::SaveInProgress,
859 rti1516e::RestoreInProgress,
860 rti1516e::FederateNotExecutionMember,
861 rti1516e::NotConnected,
862 rti1516e::RTIinternalError);
866 throw (rti1516e::TimeConstrainedIsNotEnabled,
867 rti1516e::SaveInProgress,
868 rti1516e::RestoreInProgress,
869 rti1516e::FederateNotExecutionMember,
870 rti1516e::NotConnected,
871 rti1516e::RTIinternalError);
875 rti1516e::LogicalTime const & theTime)
876 throw (rti1516e::LogicalTimeAlreadyPassed,
877 rti1516e::InvalidLogicalTime,
878 rti1516e::InTimeAdvancingState,
879 rti1516e::RequestForTimeRegulationPending,
880 rti1516e::RequestForTimeConstrainedPending,
881 rti1516e::SaveInProgress,
882 rti1516e::RestoreInProgress,
883 rti1516e::FederateNotExecutionMember,
884 rti1516e::NotConnected,
885 rti1516e::RTIinternalError);
889 rti1516e::LogicalTime const & theTime)
890 throw (rti1516e::LogicalTimeAlreadyPassed,
891 rti1516e::InvalidLogicalTime,
892 rti1516e::InTimeAdvancingState,
893 rti1516e::RequestForTimeRegulationPending,
894 rti1516e::RequestForTimeConstrainedPending,
895 rti1516e::SaveInProgress,
896 rti1516e::RestoreInProgress,
897 rti1516e::FederateNotExecutionMember,
898 rti1516e::NotConnected,
899 rti1516e::RTIinternalError);
902 virtual
void nextMessageRequest (
903 rti1516e::LogicalTime const & theTime)
904 throw (rti1516e::LogicalTimeAlreadyPassed,
905 rti1516e::InvalidLogicalTime,
906 rti1516e::InTimeAdvancingState,
907 rti1516e::RequestForTimeRegulationPending,
908 rti1516e::RequestForTimeConstrainedPending,
909 rti1516e::SaveInProgress,
910 rti1516e::RestoreInProgress,
911 rti1516e::FederateNotExecutionMember,
912 rti1516e::NotConnected,
913 rti1516e::RTIinternalError);
916 virtual
void nextMessageRequestAvailable (
917 rti1516e::LogicalTime const & theTime)
918 throw (rti1516e::LogicalTimeAlreadyPassed,
919 rti1516e::InvalidLogicalTime,
920 rti1516e::InTimeAdvancingState,
921 rti1516e::RequestForTimeRegulationPending,
922 rti1516e::RequestForTimeConstrainedPending,
923 rti1516e::SaveInProgress,
924 rti1516e::RestoreInProgress,
925 rti1516e::FederateNotExecutionMember,
926 rti1516e::NotConnected,
927 rti1516e::RTIinternalError);
931 rti1516e::LogicalTime const & theTime)
932 throw (rti1516e::LogicalTimeAlreadyPassed,
933 rti1516e::InvalidLogicalTime,
934 rti1516e::InTimeAdvancingState,
935 rti1516e::RequestForTimeRegulationPending,
936 rti1516e::RequestForTimeConstrainedPending,
937 rti1516e::SaveInProgress,
938 rti1516e::RestoreInProgress,
939 rti1516e::FederateNotExecutionMember,
940 rti1516e::NotConnected,
941 rti1516e::RTIinternalError);
945 throw (rti1516e::AsynchronousDeliveryAlreadyEnabled,
946 rti1516e::SaveInProgress,
947 rti1516e::RestoreInProgress,
948 rti1516e::FederateNotExecutionMember,
949 rti1516e::NotConnected,
950 rti1516e::RTIinternalError);
955 rti1516e::AsynchronousDeliveryAlreadyDisabled,
956 rti1516e::SaveInProgress,
957 rti1516e::RestoreInProgress,
958 rti1516e::FederateNotExecutionMember,
959 rti1516e::NotConnected,
960 rti1516e::RTIinternalError);
963 virtual
bool queryGALT (rti1516e::LogicalTime & theTime)
964 throw (rti1516e::SaveInProgress,
965 rti1516e::RestoreInProgress,
966 rti1516e::FederateNotExecutionMember,
967 rti1516e::NotConnected,
968 rti1516e::RTIinternalError);
971 virtual
void queryLogicalTime (rti1516e::LogicalTime & theTime)
972 throw (rti1516e::SaveInProgress,
973 rti1516e::RestoreInProgress,
974 rti1516e::FederateNotExecutionMember,
975 rti1516e::NotConnected,
976 rti1516e::RTIinternalError);
979 virtual
bool queryLITS (rti1516e::LogicalTime & theTime)
980 throw (rti1516e::SaveInProgress,
981 rti1516e::RestoreInProgress,
982 rti1516e::FederateNotExecutionMember,
983 rti1516e::NotConnected,
984 rti1516e::RTIinternalError);
988 rti1516e::LogicalTimeInterval const & theLookahead)
989 throw (rti1516e::InvalidLookahead,
990 rti1516e::InTimeAdvancingState,
991 rti1516e::TimeRegulationIsNotEnabled,
992 rti1516e::SaveInProgress,
993 rti1516e::RestoreInProgress,
994 rti1516e::FederateNotExecutionMember,
995 rti1516e::NotConnected,
996 rti1516e::RTIinternalError);
999 virtual
void queryLookahead (rti1516e::LogicalTimeInterval & interval)
1000 throw (rti1516e::TimeRegulationIsNotEnabled,
1001 rti1516e::SaveInProgress,
1002 rti1516e::RestoreInProgress,
1003 rti1516e::FederateNotExecutionMember,
1004 rti1516e::NotConnected,
1005 rti1516e::RTIinternalError);
1009 rti1516e::MessageRetractionHandle const & theHandle)
1010 throw (rti1516e::MessageCanNoLongerBeRetracted,
1011 rti1516e::InvalidMessageRetractionHandle,
1012 rti1516e::TimeRegulationIsNotEnabled,
1013 rti1516e::SaveInProgress,
1014 rti1516e::RestoreInProgress,
1015 rti1516e::FederateNotExecutionMember,
1016 rti1516e::NotConnected,
1017 rti1516e::RTIinternalError);
1021 rti1516e::ObjectInstanceHandle const & theObject,
1022 rti1516e::AttributeHandleSet const & theAttributes,
1024 throw (rti1516e::AttributeNotOwned,
1025 rti1516e::AttributeNotDefined,
1026 rti1516e::ObjectInstanceNotKnown,
1027 rti1516e::SaveInProgress,
1028 rti1516e::RestoreInProgress,
1029 rti1516e::FederateNotExecutionMember,
1030 rti1516e::NotConnected,
1031 rti1516e::RTIinternalError);
1037 throw (rti1516e::InteractionClassNotPublished,
1038 rti1516e::InteractionClassNotDefined,
1039 rti1516e::SaveInProgress,
1040 rti1516e::RestoreInProgress,
1041 rti1516e::FederateNotExecutionMember,
1042 rti1516e::NotConnected,
1043 rti1516e::RTIinternalError);
1051 rti1516e::DimensionHandleSet const & theDimensions)
1052 throw (rti1516e::InvalidDimensionHandle,
1053 rti1516e::SaveInProgress,
1054 rti1516e::RestoreInProgress,
1055 rti1516e::FederateNotExecutionMember,
1056 rti1516e::NotConnected,
1057 rti1516e::RTIinternalError);
1060 virtual
void commitRegionModifications (
1061 rti1516e::RegionHandleSet const & theRegionHandleSet)
1062 throw (rti1516e::RegionNotCreatedByThisFederate,
1063 rti1516e::InvalidRegion,
1064 rti1516e::SaveInProgress,
1065 rti1516e::RestoreInProgress,
1066 rti1516e::FederateNotExecutionMember,
1067 rti1516e::NotConnected,
1068 rti1516e::RTIinternalError);
1072 rti1516e::RegionHandle const & theRegion)
1073 throw (rti1516e::RegionInUseForUpdateOrSubscription,
1074 rti1516e::RegionNotCreatedByThisFederate,
1075 rti1516e::InvalidRegion,
1076 rti1516e::SaveInProgress,
1077 rti1516e::RestoreInProgress,
1078 rti1516e::FederateNotExecutionMember,
1079 rti1516e::NotConnected,
1080 rti1516e::RTIinternalError);
1083 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1085 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1086 theAttributeHandleSetRegionHandleSetPairVector)
1087 throw (rti1516e::InvalidRegionContext,
1088 rti1516e::RegionNotCreatedByThisFederate,
1089 rti1516e::InvalidRegion,
1090 rti1516e::AttributeNotPublished,
1091 rti1516e::ObjectClassNotPublished,
1092 rti1516e::AttributeNotDefined,
1093 rti1516e::ObjectClassNotDefined,
1094 rti1516e::SaveInProgress,
1095 rti1516e::RestoreInProgress,
1096 rti1516e::FederateNotExecutionMember,
1097 rti1516e::NotConnected,
1098 rti1516e::RTIinternalError);
1100 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1102 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1103 theAttributeHandleSetRegionHandleSetPairVector,
1104 std::wstring const & theObjectInstanceName)
1105 throw (rti1516e::ObjectInstanceNameInUse,
1106 rti1516e::ObjectInstanceNameNotReserved,
1107 rti1516e::InvalidRegionContext,
1108 rti1516e::RegionNotCreatedByThisFederate,
1109 rti1516e::InvalidRegion,
1110 rti1516e::AttributeNotPublished,
1111 rti1516e::ObjectClassNotPublished,
1112 rti1516e::AttributeNotDefined,
1113 rti1516e::ObjectClassNotDefined,
1114 rti1516e::SaveInProgress,
1115 rti1516e::RestoreInProgress,
1116 rti1516e::FederateNotExecutionMember,
1117 rti1516e::NotConnected,
1118 rti1516e::RTIinternalError);
1121 virtual
void associateRegionsForUpdates (
1122 rti1516e::ObjectInstanceHandle const & theObject,
1123 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1124 theAttributeHandleSetRegionHandleSetPairVector)
1125 throw (rti1516e::InvalidRegionContext,
1126 rti1516e::RegionNotCreatedByThisFederate,
1127 rti1516e::InvalidRegion,
1128 rti1516e::AttributeNotDefined,
1129 rti1516e::ObjectInstanceNotKnown,
1130 rti1516e::SaveInProgress,
1131 rti1516e::RestoreInProgress,
1132 rti1516e::FederateNotExecutionMember,
1133 rti1516e::NotConnected,
1134 rti1516e::RTIinternalError);
1137 virtual
void unassociateRegionsForUpdates (
1138 rti1516e::ObjectInstanceHandle const & theObject,
1139 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1140 theAttributeHandleSetRegionHandleSetPairVector)
1141 throw (rti1516e::RegionNotCreatedByThisFederate,
1142 rti1516e::InvalidRegion,
1143 rti1516e::AttributeNotDefined,
1144 rti1516e::ObjectInstanceNotKnown,
1145 rti1516e::SaveInProgress,
1146 rti1516e::RestoreInProgress,
1147 rti1516e::FederateNotExecutionMember,
1148 rti1516e::NotConnected,
1149 rti1516e::RTIinternalError);
1152 virtual
void subscribeObjectClassAttributesWithRegions (
1154 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1155 theAttributeHandleSetRegionHandleSetPairVector,
1157 std::wstring const & updateRateDesignator)
1158 throw (rti1516e::InvalidRegionContext,
1159 rti1516e::RegionNotCreatedByThisFederate,
1160 rti1516e::InvalidRegion,
1161 rti1516e::AttributeNotDefined,
1162 rti1516e::ObjectClassNotDefined,
1163 rti1516e::InvalidUpdateRateDesignator,
1164 rti1516e::SaveInProgress,
1165 rti1516e::RestoreInProgress,
1166 rti1516e::FederateNotExecutionMember,
1167 rti1516e::NotConnected,
1168 rti1516e::RTIinternalError);
1172 virtual
void unsubscribeObjectClassAttributesWithRegions (
1174 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1175 theAttributeHandleSetRegionHandleSetPairVector)
1176 throw (rti1516e::RegionNotCreatedByThisFederate,
1177 rti1516e::InvalidRegion,
1178 rti1516e::AttributeNotDefined,
1179 rti1516e::ObjectClassNotDefined,
1180 rti1516e::SaveInProgress,
1181 rti1516e::RestoreInProgress,
1182 rti1516e::FederateNotExecutionMember,
1183 rti1516e::NotConnected,
1184 rti1516e::RTIinternalError);
1187 virtual
void subscribeInteractionClassWithRegions (
1189 rti1516e::RegionHandleSet const & theRegionHandleSet,
1191 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
1192 rti1516e::InvalidRegionContext,
1193 rti1516e::RegionNotCreatedByThisFederate,
1194 rti1516e::InvalidRegion,
1195 rti1516e::InteractionClassNotDefined,
1196 rti1516e::SaveInProgress,
1197 rti1516e::RestoreInProgress,
1198 rti1516e::FederateNotExecutionMember,
1199 rti1516e::NotConnected,
1200 rti1516e::RTIinternalError);
1203 virtual
void unsubscribeInteractionClassWithRegions (
1205 rti1516e::RegionHandleSet const & theRegionHandleSet)
1206 throw (rti1516e::RegionNotCreatedByThisFederate,
1207 rti1516e::InvalidRegion,
1208 rti1516e::InteractionClassNotDefined,
1209 rti1516e::SaveInProgress,
1210 rti1516e::RestoreInProgress,
1211 rti1516e::FederateNotExecutionMember,
1212 rti1516e::NotConnected,
1213 rti1516e::RTIinternalError);
1216 virtual
void sendInteractionWithRegions (
1218 rti1516e::ParameterHandleValueMap const & theParameterValues,
1219 rti1516e::RegionHandleSet const & theRegionHandleSet,
1220 rti1516e::VariableLengthData const & theUserSuppliedTag)
1221 throw (rti1516e::InvalidRegionContext,
1222 rti1516e::RegionNotCreatedByThisFederate,
1223 rti1516e::InvalidRegion,
1224 rti1516e::InteractionClassNotPublished,
1225 rti1516e::InteractionParameterNotDefined,
1226 rti1516e::InteractionClassNotDefined,
1227 rti1516e::SaveInProgress,
1228 rti1516e::RestoreInProgress,
1229 rti1516e::FederateNotExecutionMember,
1230 rti1516e::NotConnected,
1231 rti1516e::RTIinternalError);
1233 virtual rti1516e::MessageRetractionHandle sendInteractionWithRegions (
1235 rti1516e::ParameterHandleValueMap const & theParameterValues,
1236 rti1516e::RegionHandleSet const & theRegionHandleSet,
1237 rti1516e::VariableLengthData const & theUserSuppliedTag,
1238 rti1516e::LogicalTime const & theTime)
1239 throw (rti1516e::InvalidLogicalTime,
1240 rti1516e::InvalidRegionContext,
1241 rti1516e::RegionNotCreatedByThisFederate,
1242 rti1516e::InvalidRegion,
1243 rti1516e::InteractionClassNotPublished,
1244 rti1516e::InteractionParameterNotDefined,
1245 rti1516e::InteractionClassNotDefined,
1246 rti1516e::SaveInProgress,
1247 rti1516e::RestoreInProgress,
1248 rti1516e::FederateNotExecutionMember,
1249 rti1516e::NotConnected,
1250 rti1516e::RTIinternalError);
1253 virtual
void requestAttributeValueUpdateWithRegions (
1255 rti1516e::AttributeHandleSetRegionHandleSetPairVector const & theSet,
1256 rti1516e::VariableLengthData const & theUserSuppliedTag)
1257 throw (rti1516e::InvalidRegionContext,
1258 rti1516e::RegionNotCreatedByThisFederate,
1259 rti1516e::InvalidRegion,
1260 rti1516e::AttributeNotDefined,
1261 rti1516e::ObjectClassNotDefined,
1262 rti1516e::SaveInProgress,
1263 rti1516e::RestoreInProgress,
1264 rti1516e::FederateNotExecutionMember,
1265 rti1516e::NotConnected,
1266 rti1516e::RTIinternalError);
1273 virtual rti1516e::
ResignAction getAutomaticResignDirective ()
1274 throw (rti1516e::FederateNotExecutionMember,
1275 rti1516e::NotConnected,
1276 rti1516e::RTIinternalError);
1279 virtual
void setAutomaticResignDirective (
1281 throw (rti1516e::InvalidResignAction,
1282 rti1516e::FederateNotExecutionMember,
1283 rti1516e::NotConnected,
1284 rti1516e::RTIinternalError);
1288 std::wstring const & theName)
1289 throw (rti1516e::NameNotFound,
1290 rti1516e::FederateNotExecutionMember,
1291 rti1516e::NotConnected,
1292 rti1516e::RTIinternalError);
1295 virtual std::wstring getFederateName (
1297 throw (rti1516e::InvalidFederateHandle,
1298 rti1516e::FederateHandleNotKnown,
1299 rti1516e::FederateNotExecutionMember,
1300 rti1516e::NotConnected,
1301 rti1516e::RTIinternalError);
1305 std::wstring const & theName)
1306 throw (rti1516e::NameNotFound,
1307 rti1516e::FederateNotExecutionMember,
1308 rti1516e::NotConnected,
1309 rti1516e::RTIinternalError);
1314 throw (rti1516e::InvalidObjectClassHandle,
1315 rti1516e::FederateNotExecutionMember,
1316 rti1516e::NotConnected,
1317 rti1516e::RTIinternalError);
1321 rti1516e::ObjectInstanceHandle const & theObject)
1322 throw (rti1516e::ObjectInstanceNotKnown,
1323 rti1516e::FederateNotExecutionMember,
1324 rti1516e::NotConnected,
1325 rti1516e::RTIinternalError);
1329 std::wstring const & theName)
1330 throw (rti1516e::ObjectInstanceNotKnown,
1331 rti1516e::FederateNotExecutionMember,
1332 rti1516e::NotConnected,
1333 rti1516e::RTIinternalError);
1337 rti1516e::ObjectInstanceHandle const & theHandle)
1338 throw (rti1516e::ObjectInstanceNotKnown,
1339 rti1516e::FederateNotExecutionMember,
1340 rti1516e::NotConnected,
1341 rti1516e::RTIinternalError);
1346 std::wstring const & theAttributeName)
1347 throw (rti1516e::NameNotFound,
1348 rti1516e::InvalidObjectClassHandle,
1349 rti1516e::FederateNotExecutionMember,
1350 rti1516e::NotConnected,
1351 rti1516e::RTIinternalError);
1357 throw (rti1516e::AttributeNotDefined,
1358 rti1516e::InvalidAttributeHandle,
1359 rti1516e::InvalidObjectClassHandle,
1360 rti1516e::FederateNotExecutionMember,
1361 rti1516e::NotConnected,
1362 rti1516e::RTIinternalError);
1365 virtual
double getUpdateRateValue (
1366 std::wstring const & updateRateDesignator)
1367 throw (rti1516e::InvalidUpdateRateDesignator,
1368 rti1516e::FederateNotExecutionMember,
1369 rti1516e::NotConnected,
1370 rti1516e::RTIinternalError);
1373 virtual
double getUpdateRateValueForAttribute (
1374 rti1516e::ObjectInstanceHandle const & theObject,
1376 throw (rti1516e::ObjectInstanceNotKnown,
1377 rti1516e::AttributeNotDefined,
1378 rti1516e::FederateNotExecutionMember,
1379 rti1516e::NotConnected,
1380 rti1516e::RTIinternalError);
1384 std::wstring const & theName)
1385 throw (rti1516e::NameNotFound,
1386 rti1516e::FederateNotExecutionMember,
1387 rti1516e::NotConnected,
1388 rti1516e::RTIinternalError);
1393 throw (rti1516e::InvalidInteractionClassHandle,
1394 rti1516e::FederateNotExecutionMember,
1395 rti1516e::NotConnected,
1396 rti1516e::RTIinternalError);
1401 std::wstring const & theName)
1402 throw (rti1516e::NameNotFound,
1403 rti1516e::InvalidInteractionClassHandle,
1404 rti1516e::FederateNotExecutionMember,
1405 rti1516e::NotConnected,
1406 rti1516e::RTIinternalError);
1412 throw (rti1516e::InteractionParameterNotDefined,
1413 rti1516e::InvalidParameterHandle,
1414 rti1516e::InvalidInteractionClassHandle,
1415 rti1516e::FederateNotExecutionMember,
1416 rti1516e::NotConnected,
1417 rti1516e::RTIinternalError);
1420 virtual rti1516e::
OrderType getOrderType (
1421 std::wstring const & orderName)
1422 throw (rti1516e::InvalidOrderName,
1423 rti1516e::FederateNotExecutionMember,
1424 rti1516e::NotConnected,
1425 rti1516e::RTIinternalError);
1428 virtual std::wstring getOrderName (
1430 throw (rti1516e::InvalidOrderType,
1431 rti1516e::FederateNotExecutionMember,
1432 rti1516e::NotConnected,
1433 rti1516e::RTIinternalError);
1436 virtual rti1516e::TransportationType getTransportationType (
1437 std::wstring const & transportationName)
1438 throw (rti1516e::InvalidTransportationName,
1439 rti1516e::FederateNotExecutionMember,
1440 rti1516e::NotConnected,
1441 rti1516e::RTIinternalError);
1445 rti1516e::TransportationType transportationType)
1446 throw (rti1516e::InvalidTransportationType,
1447 rti1516e::FederateNotExecutionMember,
1448 rti1516e::NotConnected,
1449 rti1516e::RTIinternalError);
1452 virtual rti1516e::DimensionHandleSet getAvailableDimensionsForClassAttribute (
1455 throw (rti1516e::AttributeNotDefined,
1456 rti1516e::InvalidAttributeHandle,
1457 rti1516e::InvalidObjectClassHandle,
1458 rti1516e::FederateNotExecutionMember,
1459 rti1516e::NotConnected,
1460 rti1516e::RTIinternalError);
1463 virtual rti1516e::DimensionHandleSet getAvailableDimensionsForInteractionClass (
1465 throw (rti1516e::InvalidInteractionClassHandle,
1466 rti1516e::FederateNotExecutionMember,
1467 rti1516e::NotConnected,
1468 rti1516e::RTIinternalError);
1472 std::wstring const & theName)
1473 throw (rti1516e::NameNotFound,
1474 rti1516e::FederateNotExecutionMember,
1475 rti1516e::NotConnected,
1476 rti1516e::RTIinternalError);
1481 throw (rti1516e::InvalidDimensionHandle,
1482 rti1516e::FederateNotExecutionMember,
1483 rti1516e::NotConnected,
1484 rti1516e::RTIinternalError);
1487 virtual
unsigned long getDimensionUpperBound (
1489 throw (rti1516e::InvalidDimensionHandle,
1490 rti1516e::FederateNotExecutionMember,
1491 rti1516e::NotConnected,
1492 rti1516e::RTIinternalError);
1495 virtual rti1516e::DimensionHandleSet getDimensionHandleSet (
1496 rti1516e::RegionHandle const & theRegionHandle)
1497 throw (rti1516e::InvalidRegion,
1498 rti1516e::SaveInProgress,
1499 rti1516e::RestoreInProgress,
1500 rti1516e::FederateNotExecutionMember,
1501 rti1516e::NotConnected,
1502 rti1516e::RTIinternalError);
1505 virtual rti1516e::RangeBounds getRangeBounds (
1506 rti1516e::RegionHandle const & theRegionHandle,
1508 throw (rti1516e::RegionDoesNotContainSpecifiedDimension,
1509 rti1516e::InvalidRegion,
1510 rti1516e::SaveInProgress,
1511 rti1516e::RestoreInProgress,
1512 rti1516e::FederateNotExecutionMember,
1513 rti1516e::NotConnected,
1514 rti1516e::RTIinternalError);
1517 virtual
void setRangeBounds (
1518 rti1516e::RegionHandle const & theRegionHandle,
1520 rti1516e::RangeBounds const & theRangeBounds)
1521 throw (rti1516e::InvalidRangeBound,
1522 rti1516e::RegionDoesNotContainSpecifiedDimension,
1523 rti1516e::RegionNotCreatedByThisFederate,
1524 rti1516e::InvalidRegion,
1525 rti1516e::SaveInProgress,
1526 rti1516e::RestoreInProgress,
1527 rti1516e::FederateNotExecutionMember,
1528 rti1516e::NotConnected,
1529 rti1516e::RTIinternalError);
1532 virtual
unsigned long normalizeFederateHandle (
1534 throw (rti1516e::InvalidFederateHandle,
1535 rti1516e::FederateNotExecutionMember,
1536 rti1516e::NotConnected,
1537 rti1516e::RTIinternalError);
1540 virtual
unsigned long normalizeServiceGroup (
1541 rti1516e::ServiceGroup theServiceGroup)
1542 throw (rti1516e::InvalidServiceGroup,
1543 rti1516e::FederateNotExecutionMember,
1544 rti1516e::NotConnected,
1545 rti1516e::RTIinternalError);
1548 virtual
void enableObjectClassRelevanceAdvisorySwitch ()
1549 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOn,
1550 rti1516e::SaveInProgress,
1551 rti1516e::RestoreInProgress,
1552 rti1516e::FederateNotExecutionMember,
1553 rti1516e::NotConnected,
1554 rti1516e::RTIinternalError);
1557 virtual
void disableObjectClassRelevanceAdvisorySwitch ()
1558 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOff,
1559 rti1516e::SaveInProgress,
1560 rti1516e::RestoreInProgress,
1561 rti1516e::FederateNotExecutionMember,
1562 rti1516e::NotConnected,
1563 rti1516e::RTIinternalError);
1567 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOn,
1568 rti1516e::SaveInProgress,
1569 rti1516e::RestoreInProgress,
1570 rti1516e::FederateNotExecutionMember,
1571 rti1516e::NotConnected,
1572 rti1516e::RTIinternalError);
1576 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOff,
1577 rti1516e::SaveInProgress,
1578 rti1516e::RestoreInProgress,
1579 rti1516e::FederateNotExecutionMember,
1580 rti1516e::NotConnected,
1581 rti1516e::RTIinternalError);
1585 throw (rti1516e::AttributeScopeAdvisorySwitchIsOn,
1586 rti1516e::SaveInProgress,
1587 rti1516e::RestoreInProgress,
1588 rti1516e::FederateNotExecutionMember,
1589 rti1516e::NotConnected,
1590 rti1516e::RTIinternalError);
1594 throw (rti1516e::AttributeScopeAdvisorySwitchIsOff,
1595 rti1516e::SaveInProgress,
1596 rti1516e::RestoreInProgress,
1597 rti1516e::FederateNotExecutionMember,
1598 rti1516e::NotConnected,
1599 rti1516e::RTIinternalError);
1603 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOn,
1604 rti1516e::SaveInProgress,
1605 rti1516e::RestoreInProgress,
1606 rti1516e::FederateNotExecutionMember,
1607 rti1516e::NotConnected,
1608 rti1516e::RTIinternalError);
1612 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOff,
1613 rti1516e::SaveInProgress,
1614 rti1516e::RestoreInProgress,
1615 rti1516e::FederateNotExecutionMember,
1616 rti1516e::NotConnected,
1617 rti1516e::RTIinternalError);
1620 virtual
bool evokeCallback (
1621 double approximateMinimumTimeInSeconds,
1622 bool unlockWhileWaiting=false)
1623 throw (rti1516e::CallNotAllowedFromWithinCallback,
1624 rti1516e::RTIinternalError);
1627 virtual
bool evokeMultipleCallbacks (
1628 double approximateMinimumTimeInSeconds,
1629 double approximateMaximumTimeInSeconds,
1630 bool unlockWhileWaiting=false)
1631 throw (rti1516e::CallNotAllowedFromWithinCallback,
1632 rti1516e::RTIinternalError);
1635 virtual
void enableCallbacks ()
1636 throw (rti1516e::SaveInProgress,
1637 rti1516e::RestoreInProgress,
1638 rti1516e::RTIinternalError);
1641 virtual
void disableCallbacks ()
1642 throw (rti1516e::SaveInProgress,
1643 rti1516e::RestoreInProgress,
1644 rti1516e::RTIinternalError);
1649 virtual std::auto_ptr<rti1516e::LogicalTimeFactory> getTimeFactory () const
1650 throw (rti1516e::FederateNotExecutionMember,
1651 rti1516e::NotConnected,
1652 rti1516e::RTIinternalError);
1656 rti1516e::VariableLengthData const & encodedValue) const
1657 throw (rti1516e::CouldNotDecode,
1658 rti1516e::FederateNotExecutionMember,
1659 rti1516e::NotConnected,
1660 rti1516e::RTIinternalError);
1663 rti1516e::VariableLengthData const & encodedValue) const
1664 throw (rti1516e::CouldNotDecode,
1665 rti1516e::FederateNotExecutionMember,
1666 rti1516e::NotConnected,
1667 rti1516e::RTIinternalError);
1670 rti1516e::VariableLengthData const & encodedValue) const
1671 throw (rti1516e::CouldNotDecode,
1672 rti1516e::FederateNotExecutionMember,
1673 rti1516e::NotConnected,
1674 rti1516e::RTIinternalError);
1676 virtual rti1516e::ObjectInstanceHandle decodeObjectInstanceHandle (
1677 rti1516e::VariableLengthData const & encodedValue) const
1678 throw (rti1516e::CouldNotDecode,
1679 rti1516e::FederateNotExecutionMember,
1680 rti1516e::NotConnected,
1681 rti1516e::RTIinternalError);
1684 rti1516e::VariableLengthData const & encodedValue) const
1685 throw (rti1516e::CouldNotDecode,
1686 rti1516e::FederateNotExecutionMember,
1687 rti1516e::NotConnected,
1688 rti1516e::RTIinternalError);
1691 rti1516e::VariableLengthData const & encodedValue) const
1692 throw (rti1516e::CouldNotDecode,
1693 rti1516e::FederateNotExecutionMember,
1694 rti1516e::NotConnected,
1695 rti1516e::RTIinternalError);
1698 rti1516e::VariableLengthData const & encodedValue) const
1699 throw (rti1516e::CouldNotDecode,
1700 rti1516e::FederateNotExecutionMember,
1701 rti1516e::NotConnected,
1702 rti1516e::RTIinternalError);
1704 virtual rti1516e::MessageRetractionHandle decodeMessageRetractionHandle (
1705 rti1516e::VariableLengthData const & encodedValue) const
1706 throw (rti1516e::CouldNotDecode,
1707 rti1516e::FederateNotExecutionMember,
1708 rti1516e::NotConnected,
1709 rti1516e::RTIinternalError);
1711 virtual rti1516e::RegionHandle decodeRegionHandle (
1712 rti1516e::VariableLengthData const & encodedValue) const
1713 throw (rti1516e::CouldNotDecode,
1714 rti1516e::FederateNotExecutionMember,
1715 rti1516e::NotConnected,
1716 rti1516e::RTIinternalError);
1728 static DtRtiAmbassadorImplementor* create(rti1516e::RTIambassador* topLevelAmbPtr);
1733 static
void setCreatorFunction(DtRtiAmbassadorImplementorCreator creator);
1738 virtual
void throwInternalError(const MAKRti::DtString & errorMessage) const;
1741 virtual
void throwNotConnected(const MAKRti::DtString & errorMessage) const;
1744 virtual
void throwNotJoined(const MAKRti::DtString & errorMessage) const;
1749 rti1516e::RTIambassador* myTopLevelAmb;
1752 bool myCallbacksEnabled;
1760 bool myThrowCallNotAllowedFromWithinCallback;
1765 static DtRtiAmbassadorImplementorCreator theCreator;
virtual void deleteRegion(Region *theRegion)
virtual void enableInteractionRelevanceAdvisorySwitch()
virtual char * getAttributeName(AttributeHandle theHandle, ObjectClassHandle whichClass)
virtual void federateSaveNotComplete()
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:49
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)
ResignAction
Definition: RTItypes13.h:89
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...
Handle ParameterHandle
Definition: RTItypes13.h:114
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)
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)
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:126
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)
OrderingHandle OrderType
Definition: RTItypes13.h:128
virtual void enableAttributeRelevanceAdvisorySwitch()
Handle AttributeHandle
Definition: RTItypes13.h:112
virtual ObjectClassHandle getObjectClassHandle(const char *theName)
Contains the DtRtiAmbassadorBaseImplementor class declaration.