6 #ifndef netStatsRtiAmb1516e_h__
7 #define netStatsRtiAmb1516e_h__
14 #include <vlutil/vlTime.h>
16 class DtNetStatsFedAmbWrapper;
25 class DtNetStatsRtiAmbImpl :
public DtRtiAmbassadorImplementor
39 virtual ~DtNetStatsRtiAmbImpl()
42 virtual
bool netStatsEnabled() const;
43 virtual
void setNetStatsEnabled(
bool shouldEnable);
46 virtual
void startTimer();
47 virtual
void startTimer() const;
58 virtual
void connect (
59 rti1516e::FederateAmbassador & federateAmbassador,
60 rti1516e::CallbackModel theCallbackModel,
61 std::wstring const & localSettingsDesignator=L"")
62 throw (rti1516e::ConnectionFailed,
63 rti1516e::InvalidLocalSettingsDesignator,
64 rti1516e::UnsupportedCallbackModel,
65 rti1516e::AlreadyConnected,
66 rti1516e::CallNotAllowedFromWithinCallback,
67 rti1516e::RTIinternalError);
70 virtual
void disconnect ()
71 throw (rti1516e::FederateIsExecutionMember,
72 rti1516e::CallNotAllowedFromWithinCallback,
73 rti1516e::RTIinternalError);
77 std::wstring const & federationExecutionName,
78 std::wstring const & fomModule,
79 std::wstring const & logicalTimeImplementationName)
80 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
81 rti1516e::InconsistentFDD,
82 rti1516e::ErrorReadingFDD,
83 rti1516e::CouldNotOpenFDD,
84 rti1516e::FederationExecutionAlreadyExists,
85 rti1516e::NotConnected,
86 rti1516e::RTIinternalError);
89 std::wstring const & federationExecutionName,
90 std::vector<std::wstring> const & fomModules,
91 std::wstring const & logicalTimeImplementationName)
92 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
93 rti1516e::InconsistentFDD,
94 rti1516e::ErrorReadingFDD,
95 rti1516e::CouldNotOpenFDD,
96 rti1516e::FederationExecutionAlreadyExists,
97 rti1516e::NotConnected,
98 rti1516e::RTIinternalError);
100 virtual
void createFederationExecutionWithMIM (
101 std::wstring const & federationExecutionName,
102 std::vector<std::wstring> const & fomModules,
103 std::wstring const & mimModule,
104 std::wstring const & logicalTimeImplementationName)
105 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
106 rti1516e::InconsistentFDD,
107 rti1516e::ErrorReadingFDD,
108 rti1516e::CouldNotOpenFDD,
109 rti1516e::DesignatorIsHLAstandardMIM,
110 rti1516e::ErrorReadingMIM,
111 rti1516e::CouldNotOpenMIM,
112 rti1516e::FederationExecutionAlreadyExists,
113 rti1516e::NotConnected,
114 rti1516e::RTIinternalError);
118 std::wstring const & federationExecutionName)
119 throw (rti1516e::FederatesCurrentlyJoined,
120 rti1516e::FederationExecutionDoesNotExist,
121 rti1516e::NotConnected,
122 rti1516e::RTIinternalError);
125 virtual
void listFederationExecutions ()
126 throw (rti1516e::NotConnected,
127 rti1516e::RTIinternalError);
131 std::wstring const & federateType,
132 std::wstring const & federationExecutionName,
133 std::vector<std::wstring> const & additionalFomModules,
135 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
136 rti1516e::FederationExecutionDoesNotExist,
137 rti1516e::InconsistentFDD,
138 rti1516e::ErrorReadingFDD,
139 rti1516e::CouldNotOpenFDD,
140 rti1516e::SaveInProgress,
141 rti1516e::RestoreInProgress,
142 rti1516e::FederateAlreadyExecutionMember,
143 rti1516e::NotConnected,
144 rti1516e::CallNotAllowedFromWithinCallback,
145 rti1516e::RTIinternalError);
148 std::wstring const & federateName,
149 std::wstring const & federateType,
150 std::wstring const & federationExecutionName,
151 std::vector<std::wstring> const & additionalFomModules,
153 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
154 rti1516e::FederateNameAlreadyInUse,
155 rti1516e::FederationExecutionDoesNotExist,
156 rti1516e::InconsistentFDD,
157 rti1516e::ErrorReadingFDD,
158 rti1516e::CouldNotOpenFDD,
159 rti1516e::SaveInProgress,
160 rti1516e::RestoreInProgress,
161 rti1516e::FederateAlreadyExecutionMember,
162 rti1516e::NotConnected,
163 rti1516e::CallNotAllowedFromWithinCallback,
164 rti1516e::RTIinternalError);
169 throw (rti1516e::InvalidResignAction,
170 rti1516e::OwnershipAcquisitionPending,
171 rti1516e::FederateOwnsAttributes,
172 rti1516e::FederateNotExecutionMember,
173 rti1516e::NotConnected,
174 rti1516e::CallNotAllowedFromWithinCallback,
175 rti1516e::RTIinternalError);
179 std::wstring const & label,
180 rti1516e::VariableLengthData const & theUserSuppliedTag)
181 throw (rti1516e::SaveInProgress,
182 rti1516e::RestoreInProgress,
183 rti1516e::FederateNotExecutionMember,
184 rti1516e::NotConnected,
185 rti1516e::RTIinternalError);
188 std::wstring const & label,
189 rti1516e::VariableLengthData const & theUserSuppliedTag,
190 rti1516e::FederateHandleSet const & synchronizationSet)
191 throw (rti1516e::InvalidFederateHandle,
192 rti1516e::SaveInProgress,
193 rti1516e::RestoreInProgress,
194 rti1516e::FederateNotExecutionMember,
195 rti1516e::NotConnected,
196 rti1516e::RTIinternalError);
200 std::wstring const & label,
202 throw (rti1516e::SynchronizationPointLabelNotAnnounced,
203 rti1516e::SaveInProgress,
204 rti1516e::RestoreInProgress,
205 rti1516e::FederateNotExecutionMember,
206 rti1516e::NotConnected,
207 rti1516e::RTIinternalError);
211 std::wstring const & label)
212 throw (rti1516e::SaveInProgress,
213 rti1516e::RestoreInProgress,
214 rti1516e::FederateNotExecutionMember,
215 rti1516e::NotConnected,
216 rti1516e::RTIinternalError);
219 std::wstring const & label,
220 rti1516e::LogicalTime const & theTime)
221 throw (rti1516e::LogicalTimeAlreadyPassed,
222 rti1516e::InvalidLogicalTime,
223 rti1516e::FederateUnableToUseTime,
224 rti1516e::SaveInProgress,
225 rti1516e::RestoreInProgress,
226 rti1516e::FederateNotExecutionMember,
227 rti1516e::NotConnected,
228 rti1516e::RTIinternalError);
232 throw (rti1516e::SaveNotInitiated,
233 rti1516e::RestoreInProgress,
234 rti1516e::FederateNotExecutionMember,
235 rti1516e::NotConnected,
236 rti1516e::RTIinternalError);
240 throw (rti1516e::FederateHasNotBegunSave,
241 rti1516e::RestoreInProgress,
242 rti1516e::FederateNotExecutionMember,
243 rti1516e::NotConnected,
244 rti1516e::RTIinternalError);
247 throw (rti1516e::FederateHasNotBegunSave,
248 rti1516e::RestoreInProgress,
249 rti1516e::FederateNotExecutionMember,
250 rti1516e::NotConnected,
251 rti1516e::RTIinternalError);
254 virtual
void abortFederationSave ()
255 throw (rti1516e::SaveNotInProgress,
256 rti1516e::FederateNotExecutionMember,
257 rti1516e::NotConnected,
258 rti1516e::RTIinternalError);
261 virtual
void queryFederationSaveStatus ()
262 throw (rti1516e::RestoreInProgress,
263 rti1516e::FederateNotExecutionMember,
264 rti1516e::NotConnected,
265 rti1516e::RTIinternalError);
269 std::wstring const & label)
270 throw (rti1516e::SaveInProgress,
271 rti1516e::RestoreInProgress,
272 rti1516e::FederateNotExecutionMember,
273 rti1516e::NotConnected,
274 rti1516e::RTIinternalError);
278 throw (rti1516e::RestoreNotRequested,
279 rti1516e::SaveInProgress,
280 rti1516e::FederateNotExecutionMember,
281 rti1516e::NotConnected,
282 rti1516e::RTIinternalError);
285 throw (rti1516e::RestoreNotRequested,
286 rti1516e::SaveInProgress,
287 rti1516e::FederateNotExecutionMember,
288 rti1516e::NotConnected,
289 rti1516e::RTIinternalError);
292 virtual
void abortFederationRestore ()
293 throw (rti1516e::RestoreNotInProgress,
294 rti1516e::FederateNotExecutionMember,
295 rti1516e::NotConnected,
296 rti1516e::RTIinternalError);
299 virtual
void queryFederationRestoreStatus ()
300 throw (rti1516e::SaveInProgress,
301 rti1516e::FederateNotExecutionMember,
302 rti1516e::NotConnected,
303 rti1516e::RTIinternalError);
310 virtual
void publishObjectClassAttributes (
312 rti1516e::AttributeHandleSet const & attributeList)
313 throw (rti1516e::AttributeNotDefined,
314 rti1516e::ObjectClassNotDefined,
315 rti1516e::SaveInProgress,
316 rti1516e::RestoreInProgress,
317 rti1516e::FederateNotExecutionMember,
318 rti1516e::NotConnected,
319 rti1516e::RTIinternalError);
324 throw (rti1516e::OwnershipAcquisitionPending,
325 rti1516e::ObjectClassNotDefined,
326 rti1516e::SaveInProgress,
327 rti1516e::RestoreInProgress,
328 rti1516e::FederateNotExecutionMember,
329 rti1516e::NotConnected,
330 rti1516e::RTIinternalError);
332 virtual
void unpublishObjectClassAttributes (
334 rti1516e::AttributeHandleSet const & attributeList)
335 throw (rti1516e::OwnershipAcquisitionPending,
336 rti1516e::AttributeNotDefined,
337 rti1516e::ObjectClassNotDefined,
338 rti1516e::SaveInProgress,
339 rti1516e::RestoreInProgress,
340 rti1516e::FederateNotExecutionMember,
341 rti1516e::NotConnected,
342 rti1516e::RTIinternalError);
347 throw (rti1516e::InteractionClassNotDefined,
348 rti1516e::SaveInProgress,
349 rti1516e::RestoreInProgress,
350 rti1516e::FederateNotExecutionMember,
351 rti1516e::NotConnected,
352 rti1516e::RTIinternalError);
357 throw (rti1516e::InteractionClassNotDefined,
358 rti1516e::SaveInProgress,
359 rti1516e::RestoreInProgress,
360 rti1516e::FederateNotExecutionMember,
361 rti1516e::NotConnected,
362 rti1516e::RTIinternalError);
367 rti1516e::AttributeHandleSet const & attributeList,
369 std::wstring const & updateRateDesignator)
370 throw (rti1516e::AttributeNotDefined,
371 rti1516e::ObjectClassNotDefined,
372 rti1516e::InvalidUpdateRateDesignator,
373 rti1516e::SaveInProgress,
374 rti1516e::RestoreInProgress,
375 rti1516e::FederateNotExecutionMember,
376 rti1516e::NotConnected,
377 rti1516e::RTIinternalError);
382 throw (rti1516e::ObjectClassNotDefined,
383 rti1516e::SaveInProgress,
384 rti1516e::RestoreInProgress,
385 rti1516e::FederateNotExecutionMember,
386 rti1516e::NotConnected,
387 rti1516e::RTIinternalError);
389 virtual
void unsubscribeObjectClassAttributes (
391 rti1516e::AttributeHandleSet const & attributeList)
392 throw (rti1516e::AttributeNotDefined,
393 rti1516e::ObjectClassNotDefined,
394 rti1516e::SaveInProgress,
395 rti1516e::RestoreInProgress,
396 rti1516e::FederateNotExecutionMember,
397 rti1516e::NotConnected,
398 rti1516e::RTIinternalError);
404 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
405 rti1516e::InteractionClassNotDefined,
406 rti1516e::SaveInProgress,
407 rti1516e::RestoreInProgress,
408 rti1516e::FederateNotExecutionMember,
409 rti1516e::NotConnected,
410 rti1516e::RTIinternalError);
415 throw (rti1516e::InteractionClassNotDefined,
416 rti1516e::SaveInProgress,
417 rti1516e::RestoreInProgress,
418 rti1516e::FederateNotExecutionMember,
419 rti1516e::NotConnected,
420 rti1516e::RTIinternalError);
427 virtual
void reserveObjectInstanceName (
428 std::wstring const & theObjectInstanceName)
429 throw (rti1516e::IllegalName,
430 rti1516e::SaveInProgress,
431 rti1516e::RestoreInProgress,
432 rti1516e::FederateNotExecutionMember,
433 rti1516e::NotConnected,
434 rti1516e::RTIinternalError);
437 virtual
void releaseObjectInstanceName (
438 std::wstring const & theObjectInstanceName)
439 throw (rti1516e::ObjectInstanceNameNotReserved,
440 rti1516e::SaveInProgress,
441 rti1516e::RestoreInProgress,
442 rti1516e::FederateNotExecutionMember,
443 rti1516e::NotConnected,
444 rti1516e::RTIinternalError);
447 virtual
void reserveMultipleObjectInstanceName (
448 std::set<std::wstring> const & theObjectInstanceNames)
449 throw (rti1516e::IllegalName,
450 rti1516e::NameSetWasEmpty,
451 rti1516e::SaveInProgress,
452 rti1516e::RestoreInProgress,
453 rti1516e::FederateNotExecutionMember,
454 rti1516e::NotConnected,
455 rti1516e::RTIinternalError);
458 virtual
void releaseMultipleObjectInstanceName (
459 std::set<std::wstring> const & theObjectInstanceNames)
460 throw (rti1516e::ObjectInstanceNameNotReserved,
461 rti1516e::SaveInProgress,
462 rti1516e::RestoreInProgress,
463 rti1516e::FederateNotExecutionMember,
464 rti1516e::NotConnected,
465 rti1516e::RTIinternalError);
470 throw (rti1516e::ObjectClassNotPublished,
471 rti1516e::ObjectClassNotDefined,
472 rti1516e::SaveInProgress,
473 rti1516e::RestoreInProgress,
474 rti1516e::FederateNotExecutionMember,
475 rti1516e::NotConnected,
476 rti1516e::RTIinternalError);
480 std::wstring const & theObjectInstanceName)
481 throw (rti1516e::ObjectInstanceNameInUse,
482 rti1516e::ObjectInstanceNameNotReserved,
483 rti1516e::ObjectClassNotPublished,
484 rti1516e::ObjectClassNotDefined,
485 rti1516e::SaveInProgress,
486 rti1516e::RestoreInProgress,
487 rti1516e::FederateNotExecutionMember,
488 rti1516e::NotConnected,
489 rti1516e::RTIinternalError);
493 rti1516e::ObjectInstanceHandle const & theObject,
494 rti1516e::AttributeHandleValueMap const & theAttributeValues,
495 rti1516e::VariableLengthData const & theUserSuppliedTag)
496 throw (rti1516e::AttributeNotOwned,
497 rti1516e::AttributeNotDefined,
498 rti1516e::ObjectInstanceNotKnown,
499 rti1516e::SaveInProgress,
500 rti1516e::RestoreInProgress,
501 rti1516e::FederateNotExecutionMember,
502 rti1516e::NotConnected,
503 rti1516e::RTIinternalError);
506 rti1516e::ObjectInstanceHandle const & theObject,
507 rti1516e::AttributeHandleValueMap const & theAttributeValues,
508 rti1516e::VariableLengthData const & theUserSuppliedTag,
509 rti1516e::LogicalTime const & theTime)
510 throw (rti1516e::InvalidLogicalTime,
511 rti1516e::AttributeNotOwned,
512 rti1516e::AttributeNotDefined,
513 rti1516e::ObjectInstanceNotKnown,
514 rti1516e::SaveInProgress,
515 rti1516e::RestoreInProgress,
516 rti1516e::FederateNotExecutionMember,
517 rti1516e::NotConnected,
518 rti1516e::RTIinternalError);
523 rti1516e::ParameterHandleValueMap const & theParameterValues,
524 rti1516e::VariableLengthData const & theUserSuppliedTag)
525 throw (rti1516e::InteractionClassNotPublished,
526 rti1516e::InteractionParameterNotDefined,
527 rti1516e::InteractionClassNotDefined,
528 rti1516e::SaveInProgress,
529 rti1516e::RestoreInProgress,
530 rti1516e::FederateNotExecutionMember,
531 rti1516e::NotConnected,
532 rti1516e::RTIinternalError);
536 rti1516e::ParameterHandleValueMap const & theParameterValues,
537 rti1516e::VariableLengthData const & theUserSuppliedTag,
538 rti1516e::LogicalTime const & theTime)
539 throw (rti1516e::InvalidLogicalTime,
540 rti1516e::InteractionClassNotPublished,
541 rti1516e::InteractionParameterNotDefined,
542 rti1516e::InteractionClassNotDefined,
543 rti1516e::SaveInProgress,
544 rti1516e::RestoreInProgress,
545 rti1516e::FederateNotExecutionMember,
546 rti1516e::NotConnected,
547 rti1516e::RTIinternalError);
551 rti1516e::ObjectInstanceHandle const & theObject,
552 rti1516e::VariableLengthData const & theUserSuppliedTag)
553 throw (rti1516e::DeletePrivilegeNotHeld,
554 rti1516e::ObjectInstanceNotKnown,
555 rti1516e::SaveInProgress,
556 rti1516e::RestoreInProgress,
557 rti1516e::FederateNotExecutionMember,
558 rti1516e::NotConnected,
559 rti1516e::RTIinternalError);
562 rti1516e::ObjectInstanceHandle const & theObject,
563 rti1516e::VariableLengthData const & theUserSuppliedTag,
564 rti1516e::LogicalTime const & theTime)
565 throw (rti1516e::InvalidLogicalTime,
566 rti1516e::DeletePrivilegeNotHeld,
567 rti1516e::ObjectInstanceNotKnown,
568 rti1516e::SaveInProgress,
569 rti1516e::RestoreInProgress,
570 rti1516e::FederateNotExecutionMember,
571 rti1516e::NotConnected,
572 rti1516e::RTIinternalError);
576 rti1516e::ObjectInstanceHandle const & theObject)
577 throw (rti1516e::OwnershipAcquisitionPending,
578 rti1516e::FederateOwnsAttributes,
579 rti1516e::ObjectInstanceNotKnown,
580 rti1516e::SaveInProgress,
581 rti1516e::RestoreInProgress,
582 rti1516e::FederateNotExecutionMember,
583 rti1516e::NotConnected,
584 rti1516e::RTIinternalError);
587 virtual
void requestAttributeValueUpdate (
588 rti1516e::ObjectInstanceHandle const & theObject,
589 rti1516e::AttributeHandleSet const & theAttributes,
590 rti1516e::VariableLengthData const & theUserSuppliedTag)
591 throw (rti1516e::AttributeNotDefined,
592 rti1516e::ObjectInstanceNotKnown,
593 rti1516e::SaveInProgress,
594 rti1516e::RestoreInProgress,
595 rti1516e::FederateNotExecutionMember,
596 rti1516e::NotConnected,
597 rti1516e::RTIinternalError);
599 virtual
void requestAttributeValueUpdate (
601 rti1516e::AttributeHandleSet const & theAttributes,
602 rti1516e::VariableLengthData const & theUserSuppliedTag)
603 throw (rti1516e::AttributeNotDefined,
604 rti1516e::ObjectClassNotDefined,
605 rti1516e::SaveInProgress,
606 rti1516e::RestoreInProgress,
607 rti1516e::FederateNotExecutionMember,
608 rti1516e::NotConnected,
609 rti1516e::RTIinternalError);
612 virtual
void requestAttributeTransportationTypeChange (
613 rti1516e::ObjectInstanceHandle const & theObject,
614 rti1516e::AttributeHandleSet const & theAttributes,
615 rti1516e::TransportationType theType)
616 throw (rti1516e::AttributeAlreadyBeingChanged,
617 rti1516e::AttributeNotOwned,
618 rti1516e::AttributeNotDefined,
619 rti1516e::ObjectInstanceNotKnown,
620 rti1516e::InvalidTransportationType,
621 rti1516e::SaveInProgress,
622 rti1516e::RestoreInProgress,
623 rti1516e::FederateNotExecutionMember,
624 rti1516e::NotConnected,
625 rti1516e::RTIinternalError);
628 virtual
void queryAttributeTransportationType (
629 rti1516e::ObjectInstanceHandle const & theObject,
631 throw (rti1516e::AttributeNotDefined,
632 rti1516e::ObjectInstanceNotKnown,
633 rti1516e::SaveInProgress,
634 rti1516e::RestoreInProgress,
635 rti1516e::FederateNotExecutionMember,
636 rti1516e::NotConnected,
637 rti1516e::RTIinternalError);
640 virtual
void requestInteractionTransportationTypeChange (
642 rti1516e::TransportationType theType)
643 throw (rti1516e::InteractionClassAlreadyBeingChanged,
644 rti1516e::InteractionClassNotPublished,
645 rti1516e::InteractionClassNotDefined,
646 rti1516e::InvalidTransportationType,
647 rti1516e::SaveInProgress,
648 rti1516e::RestoreInProgress,
649 rti1516e::FederateNotExecutionMember,
650 rti1516e::NotConnected,
651 rti1516e::RTIinternalError);
654 virtual
void queryInteractionTransportationType (
657 throw (rti1516e::InteractionClassNotDefined,
658 rti1516e::SaveInProgress,
659 rti1516e::RestoreInProgress,
660 rti1516e::FederateNotExecutionMember,
661 rti1516e::NotConnected,
662 rti1516e::RTIinternalError);
671 rti1516e::ObjectInstanceHandle const & theObject,
672 rti1516e::AttributeHandleSet const & theAttributes)
673 throw (rti1516e::AttributeNotOwned,
674 rti1516e::AttributeNotDefined,
675 rti1516e::ObjectInstanceNotKnown,
676 rti1516e::SaveInProgress,
677 rti1516e::RestoreInProgress,
678 rti1516e::FederateNotExecutionMember,
679 rti1516e::NotConnected,
680 rti1516e::RTIinternalError);
684 rti1516e::ObjectInstanceHandle const & theObject,
685 rti1516e::AttributeHandleSet const & theAttributes,
686 rti1516e::VariableLengthData const & theUserSuppliedTag)
687 throw (rti1516e::AttributeAlreadyBeingDivested,
688 rti1516e::AttributeNotOwned,
689 rti1516e::AttributeNotDefined,
690 rti1516e::ObjectInstanceNotKnown,
691 rti1516e::SaveInProgress,
692 rti1516e::RestoreInProgress,
693 rti1516e::FederateNotExecutionMember,
694 rti1516e::NotConnected,
695 rti1516e::RTIinternalError);
698 virtual
void confirmDivestiture (
699 rti1516e::ObjectInstanceHandle const & theObject,
700 rti1516e::AttributeHandleSet const & confirmedAttributes,
701 rti1516e::VariableLengthData const & theUserSuppliedTag)
702 throw (rti1516e::NoAcquisitionPending,
703 rti1516e::AttributeDivestitureWasNotRequested,
704 rti1516e::AttributeNotOwned,
705 rti1516e::AttributeNotDefined,
706 rti1516e::ObjectInstanceNotKnown,
707 rti1516e::SaveInProgress,
708 rti1516e::RestoreInProgress,
709 rti1516e::FederateNotExecutionMember,
710 rti1516e::NotConnected,
711 rti1516e::RTIinternalError);
715 rti1516e::ObjectInstanceHandle const & theObject,
716 rti1516e::AttributeHandleSet const & desiredAttributes,
717 rti1516e::VariableLengthData const & theUserSuppliedTag)
718 throw (rti1516e::AttributeNotPublished,
719 rti1516e::ObjectClassNotPublished,
720 rti1516e::FederateOwnsAttributes,
721 rti1516e::AttributeNotDefined,
722 rti1516e::ObjectInstanceNotKnown,
723 rti1516e::SaveInProgress,
724 rti1516e::RestoreInProgress,
725 rti1516e::FederateNotExecutionMember,
726 rti1516e::NotConnected,
727 rti1516e::RTIinternalError);
731 rti1516e::ObjectInstanceHandle const & theObject,
732 rti1516e::AttributeHandleSet const & desiredAttributes)
733 throw (rti1516e::AttributeAlreadyBeingAcquired,
734 rti1516e::AttributeNotPublished,
735 rti1516e::ObjectClassNotPublished,
736 rti1516e::FederateOwnsAttributes,
737 rti1516e::AttributeNotDefined,
738 rti1516e::ObjectInstanceNotKnown,
739 rti1516e::SaveInProgress,
740 rti1516e::RestoreInProgress,
741 rti1516e::FederateNotExecutionMember,
742 rti1516e::NotConnected,
743 rti1516e::RTIinternalError);
746 virtual
void attributeOwnershipReleaseDenied (
747 rti1516e::ObjectInstanceHandle const & theObject,
748 rti1516e::AttributeHandleSet const & theAttributes)
749 throw (rti1516e::AttributeNotOwned,
750 rti1516e::AttributeNotDefined,
751 rti1516e::ObjectInstanceNotKnown,
752 rti1516e::SaveInProgress,
753 rti1516e::RestoreInProgress,
754 rti1516e::FederateNotExecutionMember,
755 rti1516e::NotConnected,
756 rti1516e::RTIinternalError);
759 virtual
void attributeOwnershipDivestitureIfWanted (
760 rti1516e::ObjectInstanceHandle const & theObject,
761 rti1516e::AttributeHandleSet const & theAttributes,
762 rti1516e::AttributeHandleSet & theDivestedAttributes)
763 throw (rti1516e::AttributeNotOwned,
764 rti1516e::AttributeNotDefined,
765 rti1516e::ObjectInstanceNotKnown,
766 rti1516e::SaveInProgress,
767 rti1516e::RestoreInProgress,
768 rti1516e::FederateNotExecutionMember,
769 rti1516e::NotConnected,
770 rti1516e::RTIinternalError);
774 rti1516e::ObjectInstanceHandle const & theObject,
775 rti1516e::AttributeHandleSet const & theAttributes)
776 throw (rti1516e::AttributeDivestitureWasNotRequested,
777 rti1516e::AttributeNotOwned,
778 rti1516e::AttributeNotDefined,
779 rti1516e::ObjectInstanceNotKnown,
780 rti1516e::SaveInProgress,
781 rti1516e::RestoreInProgress,
782 rti1516e::FederateNotExecutionMember,
783 rti1516e::NotConnected,
784 rti1516e::RTIinternalError);
788 rti1516e::ObjectInstanceHandle const & theObject,
789 rti1516e::AttributeHandleSet const & theAttributes)
790 throw (rti1516e::AttributeAcquisitionWasNotRequested,
791 rti1516e::AttributeAlreadyOwned,
792 rti1516e::AttributeNotDefined,
793 rti1516e::ObjectInstanceNotKnown,
794 rti1516e::SaveInProgress,
795 rti1516e::RestoreInProgress,
796 rti1516e::FederateNotExecutionMember,
797 rti1516e::NotConnected,
798 rti1516e::RTIinternalError);
802 rti1516e::ObjectInstanceHandle const & theObject,
804 throw (rti1516e::AttributeNotDefined,
805 rti1516e::ObjectInstanceNotKnown,
806 rti1516e::SaveInProgress,
807 rti1516e::RestoreInProgress,
808 rti1516e::FederateNotExecutionMember,
809 rti1516e::NotConnected,
810 rti1516e::RTIinternalError);
814 rti1516e::ObjectInstanceHandle const & theObject,
816 throw (rti1516e::AttributeNotDefined,
817 rti1516e::ObjectInstanceNotKnown,
818 rti1516e::SaveInProgress,
819 rti1516e::RestoreInProgress,
820 rti1516e::FederateNotExecutionMember,
821 rti1516e::NotConnected,
822 rti1516e::RTIinternalError);
830 rti1516e::LogicalTimeInterval const & theLookahead)
831 throw (rti1516e::InvalidLookahead,
832 rti1516e::InTimeAdvancingState,
833 rti1516e::RequestForTimeRegulationPending,
834 rti1516e::TimeRegulationAlreadyEnabled,
835 rti1516e::SaveInProgress,
836 rti1516e::RestoreInProgress,
837 rti1516e::FederateNotExecutionMember,
838 rti1516e::NotConnected,
839 rti1516e::RTIinternalError);
843 throw (rti1516e::TimeRegulationIsNotEnabled,
844 rti1516e::SaveInProgress,
845 rti1516e::RestoreInProgress,
846 rti1516e::FederateNotExecutionMember,
847 rti1516e::NotConnected,
848 rti1516e::RTIinternalError);
852 throw (rti1516e::InTimeAdvancingState,
853 rti1516e::RequestForTimeConstrainedPending,
854 rti1516e::TimeConstrainedAlreadyEnabled,
855 rti1516e::SaveInProgress,
856 rti1516e::RestoreInProgress,
857 rti1516e::FederateNotExecutionMember,
858 rti1516e::NotConnected,
859 rti1516e::RTIinternalError);
863 throw (rti1516e::TimeConstrainedIsNotEnabled,
864 rti1516e::SaveInProgress,
865 rti1516e::RestoreInProgress,
866 rti1516e::FederateNotExecutionMember,
867 rti1516e::NotConnected,
868 rti1516e::RTIinternalError);
872 rti1516e::LogicalTime const & theTime)
873 throw (rti1516e::LogicalTimeAlreadyPassed,
874 rti1516e::InvalidLogicalTime,
875 rti1516e::InTimeAdvancingState,
876 rti1516e::RequestForTimeRegulationPending,
877 rti1516e::RequestForTimeConstrainedPending,
878 rti1516e::SaveInProgress,
879 rti1516e::RestoreInProgress,
880 rti1516e::FederateNotExecutionMember,
881 rti1516e::NotConnected,
882 rti1516e::RTIinternalError);
886 rti1516e::LogicalTime const & theTime)
887 throw (rti1516e::LogicalTimeAlreadyPassed,
888 rti1516e::InvalidLogicalTime,
889 rti1516e::InTimeAdvancingState,
890 rti1516e::RequestForTimeRegulationPending,
891 rti1516e::RequestForTimeConstrainedPending,
892 rti1516e::SaveInProgress,
893 rti1516e::RestoreInProgress,
894 rti1516e::FederateNotExecutionMember,
895 rti1516e::NotConnected,
896 rti1516e::RTIinternalError);
899 virtual
void nextMessageRequest (
900 rti1516e::LogicalTime const & theTime)
901 throw (rti1516e::LogicalTimeAlreadyPassed,
902 rti1516e::InvalidLogicalTime,
903 rti1516e::InTimeAdvancingState,
904 rti1516e::RequestForTimeRegulationPending,
905 rti1516e::RequestForTimeConstrainedPending,
906 rti1516e::SaveInProgress,
907 rti1516e::RestoreInProgress,
908 rti1516e::FederateNotExecutionMember,
909 rti1516e::NotConnected,
910 rti1516e::RTIinternalError);
913 virtual
void nextMessageRequestAvailable (
914 rti1516e::LogicalTime const & theTime)
915 throw (rti1516e::LogicalTimeAlreadyPassed,
916 rti1516e::InvalidLogicalTime,
917 rti1516e::InTimeAdvancingState,
918 rti1516e::RequestForTimeRegulationPending,
919 rti1516e::RequestForTimeConstrainedPending,
920 rti1516e::SaveInProgress,
921 rti1516e::RestoreInProgress,
922 rti1516e::FederateNotExecutionMember,
923 rti1516e::NotConnected,
924 rti1516e::RTIinternalError);
928 rti1516e::LogicalTime const & theTime)
929 throw (rti1516e::LogicalTimeAlreadyPassed,
930 rti1516e::InvalidLogicalTime,
931 rti1516e::InTimeAdvancingState,
932 rti1516e::RequestForTimeRegulationPending,
933 rti1516e::RequestForTimeConstrainedPending,
934 rti1516e::SaveInProgress,
935 rti1516e::RestoreInProgress,
936 rti1516e::FederateNotExecutionMember,
937 rti1516e::NotConnected,
938 rti1516e::RTIinternalError);
942 throw (rti1516e::AsynchronousDeliveryAlreadyEnabled,
943 rti1516e::SaveInProgress,
944 rti1516e::RestoreInProgress,
945 rti1516e::FederateNotExecutionMember,
946 rti1516e::NotConnected,
947 rti1516e::RTIinternalError);
952 rti1516e::AsynchronousDeliveryAlreadyDisabled,
953 rti1516e::SaveInProgress,
954 rti1516e::RestoreInProgress,
955 rti1516e::FederateNotExecutionMember,
956 rti1516e::NotConnected,
957 rti1516e::RTIinternalError);
960 virtual
bool queryGALT (rti1516e::LogicalTime & theTime)
961 throw (rti1516e::SaveInProgress,
962 rti1516e::RestoreInProgress,
963 rti1516e::FederateNotExecutionMember,
964 rti1516e::NotConnected,
965 rti1516e::RTIinternalError);
968 virtual
void queryLogicalTime (rti1516e::LogicalTime & theTime)
969 throw (rti1516e::SaveInProgress,
970 rti1516e::RestoreInProgress,
971 rti1516e::FederateNotExecutionMember,
972 rti1516e::NotConnected,
973 rti1516e::RTIinternalError);
976 virtual
bool queryLITS (rti1516e::LogicalTime & theTime)
977 throw (rti1516e::SaveInProgress,
978 rti1516e::RestoreInProgress,
979 rti1516e::FederateNotExecutionMember,
980 rti1516e::NotConnected,
981 rti1516e::RTIinternalError);
985 rti1516e::LogicalTimeInterval const & theLookahead)
986 throw (rti1516e::InvalidLookahead,
987 rti1516e::InTimeAdvancingState,
988 rti1516e::TimeRegulationIsNotEnabled,
989 rti1516e::SaveInProgress,
990 rti1516e::RestoreInProgress,
991 rti1516e::FederateNotExecutionMember,
992 rti1516e::NotConnected,
993 rti1516e::RTIinternalError);
996 virtual
void queryLookahead (rti1516e::LogicalTimeInterval & interval)
997 throw (rti1516e::TimeRegulationIsNotEnabled,
998 rti1516e::SaveInProgress,
999 rti1516e::RestoreInProgress,
1000 rti1516e::FederateNotExecutionMember,
1001 rti1516e::NotConnected,
1002 rti1516e::RTIinternalError);
1006 rti1516e::MessageRetractionHandle const & theHandle)
1007 throw (rti1516e::MessageCanNoLongerBeRetracted,
1008 rti1516e::InvalidMessageRetractionHandle,
1009 rti1516e::TimeRegulationIsNotEnabled,
1010 rti1516e::SaveInProgress,
1011 rti1516e::RestoreInProgress,
1012 rti1516e::FederateNotExecutionMember,
1013 rti1516e::NotConnected,
1014 rti1516e::RTIinternalError);
1018 rti1516e::ObjectInstanceHandle const & theObject,
1019 rti1516e::AttributeHandleSet const & theAttributes,
1021 throw (rti1516e::AttributeNotOwned,
1022 rti1516e::AttributeNotDefined,
1023 rti1516e::ObjectInstanceNotKnown,
1024 rti1516e::SaveInProgress,
1025 rti1516e::RestoreInProgress,
1026 rti1516e::FederateNotExecutionMember,
1027 rti1516e::NotConnected,
1028 rti1516e::RTIinternalError);
1034 throw (rti1516e::InteractionClassNotPublished,
1035 rti1516e::InteractionClassNotDefined,
1036 rti1516e::SaveInProgress,
1037 rti1516e::RestoreInProgress,
1038 rti1516e::FederateNotExecutionMember,
1039 rti1516e::NotConnected,
1040 rti1516e::RTIinternalError);
1048 rti1516e::DimensionHandleSet const & theDimensions)
1049 throw (rti1516e::InvalidDimensionHandle,
1050 rti1516e::SaveInProgress,
1051 rti1516e::RestoreInProgress,
1052 rti1516e::FederateNotExecutionMember,
1053 rti1516e::NotConnected,
1054 rti1516e::RTIinternalError);
1057 virtual
void commitRegionModifications (
1058 rti1516e::RegionHandleSet const & theRegionHandleSet)
1059 throw (rti1516e::RegionNotCreatedByThisFederate,
1060 rti1516e::InvalidRegion,
1061 rti1516e::SaveInProgress,
1062 rti1516e::RestoreInProgress,
1063 rti1516e::FederateNotExecutionMember,
1064 rti1516e::NotConnected,
1065 rti1516e::RTIinternalError);
1069 rti1516e::RegionHandle const & theRegion)
1070 throw (rti1516e::RegionInUseForUpdateOrSubscription,
1071 rti1516e::RegionNotCreatedByThisFederate,
1072 rti1516e::InvalidRegion,
1073 rti1516e::SaveInProgress,
1074 rti1516e::RestoreInProgress,
1075 rti1516e::FederateNotExecutionMember,
1076 rti1516e::NotConnected,
1077 rti1516e::RTIinternalError);
1080 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1082 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1083 theAttributeHandleSetRegionHandleSetPairVector)
1084 throw (rti1516e::InvalidRegionContext,
1085 rti1516e::RegionNotCreatedByThisFederate,
1086 rti1516e::InvalidRegion,
1087 rti1516e::AttributeNotPublished,
1088 rti1516e::ObjectClassNotPublished,
1089 rti1516e::AttributeNotDefined,
1090 rti1516e::ObjectClassNotDefined,
1091 rti1516e::SaveInProgress,
1092 rti1516e::RestoreInProgress,
1093 rti1516e::FederateNotExecutionMember,
1094 rti1516e::NotConnected,
1095 rti1516e::RTIinternalError);
1097 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1099 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1100 theAttributeHandleSetRegionHandleSetPairVector,
1101 std::wstring const & theObjectInstanceName)
1102 throw (rti1516e::ObjectInstanceNameInUse,
1103 rti1516e::ObjectInstanceNameNotReserved,
1104 rti1516e::InvalidRegionContext,
1105 rti1516e::RegionNotCreatedByThisFederate,
1106 rti1516e::InvalidRegion,
1107 rti1516e::AttributeNotPublished,
1108 rti1516e::ObjectClassNotPublished,
1109 rti1516e::AttributeNotDefined,
1110 rti1516e::ObjectClassNotDefined,
1111 rti1516e::SaveInProgress,
1112 rti1516e::RestoreInProgress,
1113 rti1516e::FederateNotExecutionMember,
1114 rti1516e::NotConnected,
1115 rti1516e::RTIinternalError);
1118 virtual
void associateRegionsForUpdates (
1119 rti1516e::ObjectInstanceHandle const & theObject,
1120 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1121 theAttributeHandleSetRegionHandleSetPairVector)
1122 throw (rti1516e::InvalidRegionContext,
1123 rti1516e::RegionNotCreatedByThisFederate,
1124 rti1516e::InvalidRegion,
1125 rti1516e::AttributeNotDefined,
1126 rti1516e::ObjectInstanceNotKnown,
1127 rti1516e::SaveInProgress,
1128 rti1516e::RestoreInProgress,
1129 rti1516e::FederateNotExecutionMember,
1130 rti1516e::NotConnected,
1131 rti1516e::RTIinternalError);
1134 virtual
void unassociateRegionsForUpdates (
1135 rti1516e::ObjectInstanceHandle const & theObject,
1136 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1137 theAttributeHandleSetRegionHandleSetPairVector)
1138 throw (rti1516e::RegionNotCreatedByThisFederate,
1139 rti1516e::InvalidRegion,
1140 rti1516e::AttributeNotDefined,
1141 rti1516e::ObjectInstanceNotKnown,
1142 rti1516e::SaveInProgress,
1143 rti1516e::RestoreInProgress,
1144 rti1516e::FederateNotExecutionMember,
1145 rti1516e::NotConnected,
1146 rti1516e::RTIinternalError);
1149 virtual
void subscribeObjectClassAttributesWithRegions (
1151 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1152 theAttributeHandleSetRegionHandleSetPairVector,
1154 std::wstring const & updateRateDesignator)
1155 throw (rti1516e::InvalidRegionContext,
1156 rti1516e::RegionNotCreatedByThisFederate,
1157 rti1516e::InvalidRegion,
1158 rti1516e::AttributeNotDefined,
1159 rti1516e::ObjectClassNotDefined,
1160 rti1516e::InvalidUpdateRateDesignator,
1161 rti1516e::SaveInProgress,
1162 rti1516e::RestoreInProgress,
1163 rti1516e::FederateNotExecutionMember,
1164 rti1516e::NotConnected,
1165 rti1516e::RTIinternalError);
1169 virtual
void unsubscribeObjectClassAttributesWithRegions (
1171 rti1516e::AttributeHandleSetRegionHandleSetPairVector const &
1172 theAttributeHandleSetRegionHandleSetPairVector)
1173 throw (rti1516e::RegionNotCreatedByThisFederate,
1174 rti1516e::InvalidRegion,
1175 rti1516e::AttributeNotDefined,
1176 rti1516e::ObjectClassNotDefined,
1177 rti1516e::SaveInProgress,
1178 rti1516e::RestoreInProgress,
1179 rti1516e::FederateNotExecutionMember,
1180 rti1516e::NotConnected,
1181 rti1516e::RTIinternalError);
1184 virtual
void subscribeInteractionClassWithRegions (
1186 rti1516e::RegionHandleSet const & theRegionHandleSet,
1188 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
1189 rti1516e::InvalidRegionContext,
1190 rti1516e::RegionNotCreatedByThisFederate,
1191 rti1516e::InvalidRegion,
1192 rti1516e::InteractionClassNotDefined,
1193 rti1516e::SaveInProgress,
1194 rti1516e::RestoreInProgress,
1195 rti1516e::FederateNotExecutionMember,
1196 rti1516e::NotConnected,
1197 rti1516e::RTIinternalError);
1200 virtual
void unsubscribeInteractionClassWithRegions (
1202 rti1516e::RegionHandleSet const & theRegionHandleSet)
1203 throw (rti1516e::RegionNotCreatedByThisFederate,
1204 rti1516e::InvalidRegion,
1205 rti1516e::InteractionClassNotDefined,
1206 rti1516e::SaveInProgress,
1207 rti1516e::RestoreInProgress,
1208 rti1516e::FederateNotExecutionMember,
1209 rti1516e::NotConnected,
1210 rti1516e::RTIinternalError);
1213 virtual
void sendInteractionWithRegions (
1215 rti1516e::ParameterHandleValueMap const & theParameterValues,
1216 rti1516e::RegionHandleSet const & theRegionHandleSet,
1217 rti1516e::VariableLengthData const & theUserSuppliedTag)
1218 throw (rti1516e::InvalidRegionContext,
1219 rti1516e::RegionNotCreatedByThisFederate,
1220 rti1516e::InvalidRegion,
1221 rti1516e::InteractionClassNotPublished,
1222 rti1516e::InteractionParameterNotDefined,
1223 rti1516e::InteractionClassNotDefined,
1224 rti1516e::SaveInProgress,
1225 rti1516e::RestoreInProgress,
1226 rti1516e::FederateNotExecutionMember,
1227 rti1516e::NotConnected,
1228 rti1516e::RTIinternalError);
1230 virtual rti1516e::MessageRetractionHandle sendInteractionWithRegions (
1232 rti1516e::ParameterHandleValueMap const & theParameterValues,
1233 rti1516e::RegionHandleSet const & theRegionHandleSet,
1234 rti1516e::VariableLengthData const & theUserSuppliedTag,
1235 rti1516e::LogicalTime const & theTime)
1236 throw (rti1516e::InvalidLogicalTime,
1237 rti1516e::InvalidRegionContext,
1238 rti1516e::RegionNotCreatedByThisFederate,
1239 rti1516e::InvalidRegion,
1240 rti1516e::InteractionClassNotPublished,
1241 rti1516e::InteractionParameterNotDefined,
1242 rti1516e::InteractionClassNotDefined,
1243 rti1516e::SaveInProgress,
1244 rti1516e::RestoreInProgress,
1245 rti1516e::FederateNotExecutionMember,
1246 rti1516e::NotConnected,
1247 rti1516e::RTIinternalError);
1250 virtual
void requestAttributeValueUpdateWithRegions (
1252 rti1516e::AttributeHandleSetRegionHandleSetPairVector const & theSet,
1253 rti1516e::VariableLengthData const & theUserSuppliedTag)
1254 throw (rti1516e::InvalidRegionContext,
1255 rti1516e::RegionNotCreatedByThisFederate,
1256 rti1516e::InvalidRegion,
1257 rti1516e::AttributeNotDefined,
1258 rti1516e::ObjectClassNotDefined,
1259 rti1516e::SaveInProgress,
1260 rti1516e::RestoreInProgress,
1261 rti1516e::FederateNotExecutionMember,
1262 rti1516e::NotConnected,
1263 rti1516e::RTIinternalError);
1270 virtual rti1516e::
ResignAction getAutomaticResignDirective ()
1271 throw (rti1516e::FederateNotExecutionMember,
1272 rti1516e::NotConnected,
1273 rti1516e::RTIinternalError);
1276 virtual
void setAutomaticResignDirective (
1278 throw (rti1516e::InvalidResignAction,
1279 rti1516e::FederateNotExecutionMember,
1280 rti1516e::NotConnected,
1281 rti1516e::RTIinternalError);
1285 std::wstring const & theName)
1286 throw (rti1516e::NameNotFound,
1287 rti1516e::FederateNotExecutionMember,
1288 rti1516e::NotConnected,
1289 rti1516e::RTIinternalError);
1292 virtual std::wstring getFederateName (
1294 throw (rti1516e::InvalidFederateHandle,
1295 rti1516e::FederateHandleNotKnown,
1296 rti1516e::FederateNotExecutionMember,
1297 rti1516e::NotConnected,
1298 rti1516e::RTIinternalError);
1302 std::wstring const & theName)
1303 throw (rti1516e::NameNotFound,
1304 rti1516e::FederateNotExecutionMember,
1305 rti1516e::NotConnected,
1306 rti1516e::RTIinternalError);
1311 throw (rti1516e::InvalidObjectClassHandle,
1312 rti1516e::FederateNotExecutionMember,
1313 rti1516e::NotConnected,
1314 rti1516e::RTIinternalError);
1318 rti1516e::ObjectInstanceHandle const & theObject)
1319 throw (rti1516e::ObjectInstanceNotKnown,
1320 rti1516e::FederateNotExecutionMember,
1321 rti1516e::NotConnected,
1322 rti1516e::RTIinternalError);
1326 std::wstring const & theName)
1327 throw (rti1516e::ObjectInstanceNotKnown,
1328 rti1516e::FederateNotExecutionMember,
1329 rti1516e::NotConnected,
1330 rti1516e::RTIinternalError);
1334 rti1516e::ObjectInstanceHandle const & theHandle)
1335 throw (rti1516e::ObjectInstanceNotKnown,
1336 rti1516e::FederateNotExecutionMember,
1337 rti1516e::NotConnected,
1338 rti1516e::RTIinternalError);
1343 std::wstring const & theAttributeName)
1344 throw (rti1516e::NameNotFound,
1345 rti1516e::InvalidObjectClassHandle,
1346 rti1516e::FederateNotExecutionMember,
1347 rti1516e::NotConnected,
1348 rti1516e::RTIinternalError);
1354 throw (rti1516e::AttributeNotDefined,
1355 rti1516e::InvalidAttributeHandle,
1356 rti1516e::InvalidObjectClassHandle,
1357 rti1516e::FederateNotExecutionMember,
1358 rti1516e::NotConnected,
1359 rti1516e::RTIinternalError);
1362 virtual
double getUpdateRateValue (
1363 std::wstring const & updateRateDesignator)
1364 throw (rti1516e::InvalidUpdateRateDesignator,
1365 rti1516e::FederateNotExecutionMember,
1366 rti1516e::NotConnected,
1367 rti1516e::RTIinternalError);
1370 virtual
double getUpdateRateValueForAttribute (
1371 rti1516e::ObjectInstanceHandle const & theObject,
1373 throw (rti1516e::ObjectInstanceNotKnown,
1374 rti1516e::AttributeNotDefined,
1375 rti1516e::FederateNotExecutionMember,
1376 rti1516e::NotConnected,
1377 rti1516e::RTIinternalError);
1381 std::wstring const & theName)
1382 throw (rti1516e::NameNotFound,
1383 rti1516e::FederateNotExecutionMember,
1384 rti1516e::NotConnected,
1385 rti1516e::RTIinternalError);
1390 throw (rti1516e::InvalidInteractionClassHandle,
1391 rti1516e::FederateNotExecutionMember,
1392 rti1516e::NotConnected,
1393 rti1516e::RTIinternalError);
1398 std::wstring const & theName)
1399 throw (rti1516e::NameNotFound,
1400 rti1516e::InvalidInteractionClassHandle,
1401 rti1516e::FederateNotExecutionMember,
1402 rti1516e::NotConnected,
1403 rti1516e::RTIinternalError);
1409 throw (rti1516e::InteractionParameterNotDefined,
1410 rti1516e::InvalidParameterHandle,
1411 rti1516e::InvalidInteractionClassHandle,
1412 rti1516e::FederateNotExecutionMember,
1413 rti1516e::NotConnected,
1414 rti1516e::RTIinternalError);
1417 virtual rti1516e::
OrderType getOrderType (
1418 std::wstring const & orderName)
1419 throw (rti1516e::InvalidOrderName,
1420 rti1516e::FederateNotExecutionMember,
1421 rti1516e::NotConnected,
1422 rti1516e::RTIinternalError);
1425 virtual std::wstring getOrderName (
1427 throw (rti1516e::InvalidOrderType,
1428 rti1516e::FederateNotExecutionMember,
1429 rti1516e::NotConnected,
1430 rti1516e::RTIinternalError);
1433 virtual rti1516e::TransportationType getTransportationType (
1434 std::wstring const & transportationName)
1435 throw (rti1516e::InvalidTransportationName,
1436 rti1516e::FederateNotExecutionMember,
1437 rti1516e::NotConnected,
1438 rti1516e::RTIinternalError);
1442 rti1516e::TransportationType transportationType)
1443 throw (rti1516e::InvalidTransportationType,
1444 rti1516e::FederateNotExecutionMember,
1445 rti1516e::NotConnected,
1446 rti1516e::RTIinternalError);
1449 virtual rti1516e::DimensionHandleSet getAvailableDimensionsForClassAttribute (
1452 throw (rti1516e::AttributeNotDefined,
1453 rti1516e::InvalidAttributeHandle,
1454 rti1516e::InvalidObjectClassHandle,
1455 rti1516e::FederateNotExecutionMember,
1456 rti1516e::NotConnected,
1457 rti1516e::RTIinternalError);
1460 virtual rti1516e::DimensionHandleSet getAvailableDimensionsForInteractionClass (
1462 throw (rti1516e::InvalidInteractionClassHandle,
1463 rti1516e::FederateNotExecutionMember,
1464 rti1516e::NotConnected,
1465 rti1516e::RTIinternalError);
1469 std::wstring const & theName)
1470 throw (rti1516e::NameNotFound,
1471 rti1516e::FederateNotExecutionMember,
1472 rti1516e::NotConnected,
1473 rti1516e::RTIinternalError);
1478 throw (rti1516e::InvalidDimensionHandle,
1479 rti1516e::FederateNotExecutionMember,
1480 rti1516e::NotConnected,
1481 rti1516e::RTIinternalError);
1484 virtual
unsigned long getDimensionUpperBound (
1486 throw (rti1516e::InvalidDimensionHandle,
1487 rti1516e::FederateNotExecutionMember,
1488 rti1516e::NotConnected,
1489 rti1516e::RTIinternalError);
1492 virtual rti1516e::DimensionHandleSet getDimensionHandleSet (
1493 rti1516e::RegionHandle const & theRegionHandle)
1494 throw (rti1516e::InvalidRegion,
1495 rti1516e::SaveInProgress,
1496 rti1516e::RestoreInProgress,
1497 rti1516e::FederateNotExecutionMember,
1498 rti1516e::NotConnected,
1499 rti1516e::RTIinternalError);
1502 virtual rti1516e::RangeBounds getRangeBounds (
1503 rti1516e::RegionHandle const & theRegionHandle,
1505 throw (rti1516e::RegionDoesNotContainSpecifiedDimension,
1506 rti1516e::InvalidRegion,
1507 rti1516e::SaveInProgress,
1508 rti1516e::RestoreInProgress,
1509 rti1516e::FederateNotExecutionMember,
1510 rti1516e::NotConnected,
1511 rti1516e::RTIinternalError);
1514 virtual
void setRangeBounds (
1515 rti1516e::RegionHandle const & theRegionHandle,
1517 rti1516e::RangeBounds const & theRangeBounds)
1518 throw (rti1516e::InvalidRangeBound,
1519 rti1516e::RegionDoesNotContainSpecifiedDimension,
1520 rti1516e::RegionNotCreatedByThisFederate,
1521 rti1516e::InvalidRegion,
1522 rti1516e::SaveInProgress,
1523 rti1516e::RestoreInProgress,
1524 rti1516e::FederateNotExecutionMember,
1525 rti1516e::NotConnected,
1526 rti1516e::RTIinternalError);
1529 virtual
unsigned long normalizeFederateHandle (
1531 throw (rti1516e::InvalidFederateHandle,
1532 rti1516e::FederateNotExecutionMember,
1533 rti1516e::NotConnected,
1534 rti1516e::RTIinternalError);
1537 virtual
unsigned long normalizeServiceGroup (
1538 rti1516e::ServiceGroup theServiceGroup)
1539 throw (rti1516e::InvalidServiceGroup,
1540 rti1516e::FederateNotExecutionMember,
1541 rti1516e::NotConnected,
1542 rti1516e::RTIinternalError);
1545 virtual
void enableObjectClassRelevanceAdvisorySwitch ()
1546 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOn,
1547 rti1516e::SaveInProgress,
1548 rti1516e::RestoreInProgress,
1549 rti1516e::FederateNotExecutionMember,
1550 rti1516e::NotConnected,
1551 rti1516e::RTIinternalError);
1554 virtual
void disableObjectClassRelevanceAdvisorySwitch ()
1555 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOff,
1556 rti1516e::SaveInProgress,
1557 rti1516e::RestoreInProgress,
1558 rti1516e::FederateNotExecutionMember,
1559 rti1516e::NotConnected,
1560 rti1516e::RTIinternalError);
1564 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOn,
1565 rti1516e::SaveInProgress,
1566 rti1516e::RestoreInProgress,
1567 rti1516e::FederateNotExecutionMember,
1568 rti1516e::NotConnected,
1569 rti1516e::RTIinternalError);
1573 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOff,
1574 rti1516e::SaveInProgress,
1575 rti1516e::RestoreInProgress,
1576 rti1516e::FederateNotExecutionMember,
1577 rti1516e::NotConnected,
1578 rti1516e::RTIinternalError);
1582 throw (rti1516e::AttributeScopeAdvisorySwitchIsOn,
1583 rti1516e::SaveInProgress,
1584 rti1516e::RestoreInProgress,
1585 rti1516e::FederateNotExecutionMember,
1586 rti1516e::NotConnected,
1587 rti1516e::RTIinternalError);
1591 throw (rti1516e::AttributeScopeAdvisorySwitchIsOff,
1592 rti1516e::SaveInProgress,
1593 rti1516e::RestoreInProgress,
1594 rti1516e::FederateNotExecutionMember,
1595 rti1516e::NotConnected,
1596 rti1516e::RTIinternalError);
1600 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOn,
1601 rti1516e::SaveInProgress,
1602 rti1516e::RestoreInProgress,
1603 rti1516e::FederateNotExecutionMember,
1604 rti1516e::NotConnected,
1605 rti1516e::RTIinternalError);
1609 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOff,
1610 rti1516e::SaveInProgress,
1611 rti1516e::RestoreInProgress,
1612 rti1516e::FederateNotExecutionMember,
1613 rti1516e::NotConnected,
1614 rti1516e::RTIinternalError);
1617 virtual
bool evokeCallback (
1618 double approximateMinimumTimeInSeconds,
1619 bool unlockWhileWaiting=false)
1620 throw (rti1516e::CallNotAllowedFromWithinCallback,
1621 rti1516e::RTIinternalError);
1624 virtual
bool evokeMultipleCallbacks (
1625 double approximateMinimumTimeInSeconds,
1626 double approximateMaximumTimeInSeconds,
1627 bool unlockWhileWaiting=false)
1628 throw (rti1516e::CallNotAllowedFromWithinCallback,
1629 rti1516e::RTIinternalError);
1632 virtual
void enableCallbacks ()
1633 throw (rti1516e::SaveInProgress,
1634 rti1516e::RestoreInProgress,
1635 rti1516e::RTIinternalError);
1638 virtual
void disableCallbacks ()
1639 throw (rti1516e::SaveInProgress,
1640 rti1516e::RestoreInProgress,
1641 rti1516e::RTIinternalError);
1646 virtual std::auto_ptr<rti1516e::LogicalTimeFactory> getTimeFactory () const
1647 throw (rti1516e::FederateNotExecutionMember,
1648 rti1516e::NotConnected,
1649 rti1516e::RTIinternalError);
1653 rti1516e::VariableLengthData const & encodedValue) const
1654 throw (rti1516e::CouldNotDecode,
1655 rti1516e::FederateNotExecutionMember,
1656 rti1516e::NotConnected,
1657 rti1516e::RTIinternalError);
1660 rti1516e::VariableLengthData const & encodedValue) const
1661 throw (rti1516e::CouldNotDecode,
1662 rti1516e::FederateNotExecutionMember,
1663 rti1516e::NotConnected,
1664 rti1516e::RTIinternalError);
1667 rti1516e::VariableLengthData const & encodedValue) const
1668 throw (rti1516e::CouldNotDecode,
1669 rti1516e::FederateNotExecutionMember,
1670 rti1516e::NotConnected,
1671 rti1516e::RTIinternalError);
1673 virtual rti1516e::ObjectInstanceHandle decodeObjectInstanceHandle (
1674 rti1516e::VariableLengthData const & encodedValue) const
1675 throw (rti1516e::CouldNotDecode,
1676 rti1516e::FederateNotExecutionMember,
1677 rti1516e::NotConnected,
1678 rti1516e::RTIinternalError);
1681 rti1516e::VariableLengthData const & encodedValue) const
1682 throw (rti1516e::CouldNotDecode,
1683 rti1516e::FederateNotExecutionMember,
1684 rti1516e::NotConnected,
1685 rti1516e::RTIinternalError);
1688 rti1516e::VariableLengthData const & encodedValue) const
1689 throw (rti1516e::CouldNotDecode,
1690 rti1516e::FederateNotExecutionMember,
1691 rti1516e::NotConnected,
1692 rti1516e::RTIinternalError);
1695 rti1516e::VariableLengthData const & encodedValue) const
1696 throw (rti1516e::CouldNotDecode,
1697 rti1516e::FederateNotExecutionMember,
1698 rti1516e::NotConnected,
1699 rti1516e::RTIinternalError);
1701 virtual rti1516e::MessageRetractionHandle decodeMessageRetractionHandle (
1702 rti1516e::VariableLengthData const & encodedValue) const
1703 throw (rti1516e::CouldNotDecode,
1704 rti1516e::FederateNotExecutionMember,
1705 rti1516e::NotConnected,
1706 rti1516e::RTIinternalError);
1708 virtual rti1516e::RegionHandle decodeRegionHandle (
1709 rti1516e::VariableLengthData const & encodedValue) const
1710 throw (rti1516e::CouldNotDecode,
1711 rti1516e::FederateNotExecutionMember,
1712 rti1516e::NotConnected,
1713 rti1516e::RTIinternalError);
1721 static DtRtiAmbassadorImplementor* create(rti1516e::RTIambassador* topLevelAmbPtr);
1726 virtual
void clearManagers();
1731 DtNetStatsFedAmbWrapper* myStatisticsFedAmb;
1732 const DtString myStatisticsFedAmbName;
1738 MAKRti::DtClock myTimer;
1743 bool myNetStatsEnabled;
1747 #endif // DtIFSPEC1516E
1748 #endif // netStatsRtiAmb1516e_h__
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)
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)
virtual void disableTimeRegulation()
virtual EventRetractionHandle updateAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet &theAttributes, const FedTime &theTime, const char *theTag)
Definition: netStatsMonitor.h:30
virtual Region * createRegion(SpaceHandle theSpace, ULong numberOfExtents)
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()
DtRtiAmbAPIType
Definition: rtiAmbAPITypes.h:12
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)
virtual void subscribeObjectClassAttributes(ObjectClassHandle theClass, const AttributeHandleSet &attributeList, Boolean active=RTI_TRUE)
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)