6 #ifndef netStatsRtiAmb1516e_h__
7 #define netStatsRtiAmb1516e_h__
14 #include <vlutil/vlTime.h>
16 class DtNetStatsFedAmbWrapper;
25 class DtNetStatsRtiAmbImpl :
public DtRtiAmbassadorImplementor
39 virtual ~DtNetStatsRtiAmbImpl()
50 virtual
void connect (
51 rti1516e::FederateAmbassador & federateAmbassador,
53 std::wstring const & localSettingsDesignator=L"")
54 throw (rti1516e::ConnectionFailed,
55 rti1516e::InvalidLocalSettingsDesignator,
56 rti1516e::UnsupportedCallbackModel,
57 rti1516e::AlreadyConnected,
58 rti1516e::CallNotAllowedFromWithinCallback,
59 rti1516e::RTIinternalError);
62 virtual
void disconnect ()
63 throw (rti1516e::FederateIsExecutionMember,
64 rti1516e::CallNotAllowedFromWithinCallback,
65 rti1516e::RTIinternalError);
68 virtual
void createFederationExecution (
69 std::wstring const & federationExecutionName,
70 std::wstring const & fomModule,
71 std::wstring const & logicalTimeImplementationName)
72 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
73 rti1516e::InconsistentFDD,
74 rti1516e::ErrorReadingFDD,
75 rti1516e::CouldNotOpenFDD,
76 rti1516e::FederationExecutionAlreadyExists,
77 rti1516e::NotConnected,
78 rti1516e::RTIinternalError);
80 virtual
void createFederationExecution (
81 std::wstring const & federationExecutionName,
82 std::vector<std::wstring> const & fomModules,
83 std::wstring const & logicalTimeImplementationName)
84 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
85 rti1516e::InconsistentFDD,
86 rti1516e::ErrorReadingFDD,
87 rti1516e::CouldNotOpenFDD,
88 rti1516e::FederationExecutionAlreadyExists,
89 rti1516e::NotConnected,
90 rti1516e::RTIinternalError);
92 virtual
void createFederationExecutionWithMIM (
93 std::wstring const & federationExecutionName,
94 std::vector<std::wstring> const & fomModules,
95 std::wstring const & mimModule,
96 std::wstring const & logicalTimeImplementationName)
97 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
98 rti1516e::InconsistentFDD,
99 rti1516e::ErrorReadingFDD,
100 rti1516e::CouldNotOpenFDD,
101 rti1516e::DesignatorIsHLAstandardMIM,
102 rti1516e::ErrorReadingMIM,
103 rti1516e::CouldNotOpenMIM,
104 rti1516e::FederationExecutionAlreadyExists,
105 rti1516e::NotConnected,
106 rti1516e::RTIinternalError);
109 virtual
void destroyFederationExecution (
110 std::wstring const & federationExecutionName)
111 throw (rti1516e::FederatesCurrentlyJoined,
112 rti1516e::FederationExecutionDoesNotExist,
113 rti1516e::NotConnected,
114 rti1516e::RTIinternalError);
117 virtual
void listFederationExecutions ()
118 throw (rti1516e::NotConnected,
119 rti1516e::RTIinternalError);
122 virtual rti1516e::FederateHandle joinFederationExecution (
123 std::wstring const & federateType,
124 std::wstring const & federationExecutionName,
125 std::vector<std::wstring> const & additionalFomModules,
127 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
128 rti1516e::FederationExecutionDoesNotExist,
129 rti1516e::InconsistentFDD,
130 rti1516e::ErrorReadingFDD,
131 rti1516e::CouldNotOpenFDD,
132 rti1516e::SaveInProgress,
133 rti1516e::RestoreInProgress,
134 rti1516e::FederateAlreadyExecutionMember,
135 rti1516e::NotConnected,
136 rti1516e::CallNotAllowedFromWithinCallback,
137 rti1516e::RTIinternalError);
139 virtual rti1516e::FederateHandle joinFederationExecution (
140 std::wstring const & federateName,
141 std::wstring const & federateType,
142 std::wstring const & federationExecutionName,
143 std::vector<std::wstring> const & additionalFomModules,
145 throw (rti1516e::CouldNotCreateLogicalTimeFactory,
146 rti1516e::FederateNameAlreadyInUse,
147 rti1516e::FederationExecutionDoesNotExist,
148 rti1516e::InconsistentFDD,
149 rti1516e::ErrorReadingFDD,
150 rti1516e::CouldNotOpenFDD,
151 rti1516e::SaveInProgress,
152 rti1516e::RestoreInProgress,
153 rti1516e::FederateAlreadyExecutionMember,
154 rti1516e::NotConnected,
155 rti1516e::CallNotAllowedFromWithinCallback,
156 rti1516e::RTIinternalError);
159 virtual
void resignFederationExecution (
161 throw (rti1516e::InvalidResignAction,
162 rti1516e::OwnershipAcquisitionPending,
163 rti1516e::FederateOwnsAttributes,
164 rti1516e::FederateNotExecutionMember,
165 rti1516e::NotConnected,
166 rti1516e::CallNotAllowedFromWithinCallback,
167 rti1516e::RTIinternalError);
170 virtual
void registerFederationSynchronizationPoint (
171 std::wstring const & label,
172 rti1516e::VariableLengthData const & theUserSuppliedTag)
173 throw (rti1516e::SaveInProgress,
174 rti1516e::RestoreInProgress,
175 rti1516e::FederateNotExecutionMember,
176 rti1516e::NotConnected,
177 rti1516e::RTIinternalError);
179 virtual
void registerFederationSynchronizationPoint (
180 std::wstring const & label,
181 rti1516e::VariableLengthData const & theUserSuppliedTag,
183 throw (rti1516e::InvalidFederateHandle,
184 rti1516e::SaveInProgress,
185 rti1516e::RestoreInProgress,
186 rti1516e::FederateNotExecutionMember,
187 rti1516e::NotConnected,
188 rti1516e::RTIinternalError);
191 virtual
void synchronizationPointAchieved (
192 std::wstring const & label,
194 throw (rti1516e::SynchronizationPointLabelNotAnnounced,
195 rti1516e::SaveInProgress,
196 rti1516e::RestoreInProgress,
197 rti1516e::FederateNotExecutionMember,
198 rti1516e::NotConnected,
199 rti1516e::RTIinternalError);
202 virtual
void requestFederationSave (
203 std::wstring const & label)
204 throw (rti1516e::SaveInProgress,
205 rti1516e::RestoreInProgress,
206 rti1516e::FederateNotExecutionMember,
207 rti1516e::NotConnected,
208 rti1516e::RTIinternalError);
210 virtual
void requestFederationSave (
211 std::wstring const & label,
212 rti1516e::LogicalTime const & theTime)
213 throw (rti1516e::LogicalTimeAlreadyPassed,
214 rti1516e::InvalidLogicalTime,
215 rti1516e::FederateUnableToUseTime,
216 rti1516e::SaveInProgress,
217 rti1516e::RestoreInProgress,
218 rti1516e::FederateNotExecutionMember,
219 rti1516e::NotConnected,
220 rti1516e::RTIinternalError);
223 virtual
void federateSaveBegun ()
224 throw (rti1516e::SaveNotInitiated,
225 rti1516e::RestoreInProgress,
226 rti1516e::FederateNotExecutionMember,
227 rti1516e::NotConnected,
228 rti1516e::RTIinternalError);
231 virtual
void federateSaveComplete ()
232 throw (rti1516e::FederateHasNotBegunSave,
233 rti1516e::RestoreInProgress,
234 rti1516e::FederateNotExecutionMember,
235 rti1516e::NotConnected,
236 rti1516e::RTIinternalError);
238 virtual
void federateSaveNotComplete ()
239 throw (rti1516e::FederateHasNotBegunSave,
240 rti1516e::RestoreInProgress,
241 rti1516e::FederateNotExecutionMember,
242 rti1516e::NotConnected,
243 rti1516e::RTIinternalError);
246 virtual
void abortFederationSave ()
247 throw (rti1516e::SaveNotInProgress,
248 rti1516e::FederateNotExecutionMember,
249 rti1516e::NotConnected,
250 rti1516e::RTIinternalError);
253 virtual
void queryFederationSaveStatus ()
254 throw (rti1516e::RestoreInProgress,
255 rti1516e::FederateNotExecutionMember,
256 rti1516e::NotConnected,
257 rti1516e::RTIinternalError);
260 virtual
void requestFederationRestore (
261 std::wstring const & label)
262 throw (rti1516e::SaveInProgress,
263 rti1516e::RestoreInProgress,
264 rti1516e::FederateNotExecutionMember,
265 rti1516e::NotConnected,
266 rti1516e::RTIinternalError);
269 virtual
void federateRestoreComplete ()
270 throw (rti1516e::RestoreNotRequested,
271 rti1516e::SaveInProgress,
272 rti1516e::FederateNotExecutionMember,
273 rti1516e::NotConnected,
274 rti1516e::RTIinternalError);
276 virtual
void federateRestoreNotComplete ()
277 throw (rti1516e::RestoreNotRequested,
278 rti1516e::SaveInProgress,
279 rti1516e::FederateNotExecutionMember,
280 rti1516e::NotConnected,
281 rti1516e::RTIinternalError);
284 virtual
void abortFederationRestore ()
285 throw (rti1516e::RestoreNotInProgress,
286 rti1516e::FederateNotExecutionMember,
287 rti1516e::NotConnected,
288 rti1516e::RTIinternalError);
291 virtual
void queryFederationRestoreStatus ()
292 throw (rti1516e::SaveInProgress,
293 rti1516e::FederateNotExecutionMember,
294 rti1516e::NotConnected,
295 rti1516e::RTIinternalError);
302 virtual
void publishObjectClassAttributes (
303 rti1516e::ObjectClassHandle const & theClass,
305 throw (rti1516e::AttributeNotDefined,
306 rti1516e::ObjectClassNotDefined,
307 rti1516e::SaveInProgress,
308 rti1516e::RestoreInProgress,
309 rti1516e::FederateNotExecutionMember,
310 rti1516e::NotConnected,
311 rti1516e::RTIinternalError);
314 virtual
void unpublishObjectClass (
315 rti1516e::ObjectClassHandle const & theClass)
316 throw (rti1516e::OwnershipAcquisitionPending,
317 rti1516e::ObjectClassNotDefined,
318 rti1516e::SaveInProgress,
319 rti1516e::RestoreInProgress,
320 rti1516e::FederateNotExecutionMember,
321 rti1516e::NotConnected,
322 rti1516e::RTIinternalError);
324 virtual
void unpublishObjectClassAttributes (
325 rti1516e::ObjectClassHandle const & theClass,
327 throw (rti1516e::OwnershipAcquisitionPending,
328 rti1516e::AttributeNotDefined,
329 rti1516e::ObjectClassNotDefined,
330 rti1516e::SaveInProgress,
331 rti1516e::RestoreInProgress,
332 rti1516e::FederateNotExecutionMember,
333 rti1516e::NotConnected,
334 rti1516e::RTIinternalError);
337 virtual
void publishInteractionClass (
338 rti1516e::InteractionClassHandle const & theInteraction)
339 throw (rti1516e::InteractionClassNotDefined,
340 rti1516e::SaveInProgress,
341 rti1516e::RestoreInProgress,
342 rti1516e::FederateNotExecutionMember,
343 rti1516e::NotConnected,
344 rti1516e::RTIinternalError);
347 virtual
void unpublishInteractionClass (
348 rti1516e::InteractionClassHandle const & theInteraction)
349 throw (rti1516e::InteractionClassNotDefined,
350 rti1516e::SaveInProgress,
351 rti1516e::RestoreInProgress,
352 rti1516e::FederateNotExecutionMember,
353 rti1516e::NotConnected,
354 rti1516e::RTIinternalError);
357 virtual
void subscribeObjectClassAttributes (
358 rti1516e::ObjectClassHandle const & theClass,
361 std::wstring const & updateRateDesignator)
362 throw (rti1516e::AttributeNotDefined,
363 rti1516e::ObjectClassNotDefined,
364 rti1516e::InvalidUpdateRateDesignator,
365 rti1516e::SaveInProgress,
366 rti1516e::RestoreInProgress,
367 rti1516e::FederateNotExecutionMember,
368 rti1516e::NotConnected,
369 rti1516e::RTIinternalError);
372 virtual
void unsubscribeObjectClass (
373 rti1516e::ObjectClassHandle const & theClass)
374 throw (rti1516e::ObjectClassNotDefined,
375 rti1516e::SaveInProgress,
376 rti1516e::RestoreInProgress,
377 rti1516e::FederateNotExecutionMember,
378 rti1516e::NotConnected,
379 rti1516e::RTIinternalError);
381 virtual
void unsubscribeObjectClassAttributes (
382 rti1516e::ObjectClassHandle const & theClass,
384 throw (rti1516e::AttributeNotDefined,
385 rti1516e::ObjectClassNotDefined,
386 rti1516e::SaveInProgress,
387 rti1516e::RestoreInProgress,
388 rti1516e::FederateNotExecutionMember,
389 rti1516e::NotConnected,
390 rti1516e::RTIinternalError);
393 virtual
void subscribeInteractionClass (
394 rti1516e::InteractionClassHandle const & theClass,
396 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
397 rti1516e::InteractionClassNotDefined,
398 rti1516e::SaveInProgress,
399 rti1516e::RestoreInProgress,
400 rti1516e::FederateNotExecutionMember,
401 rti1516e::NotConnected,
402 rti1516e::RTIinternalError);
405 virtual
void unsubscribeInteractionClass (
406 rti1516e::InteractionClassHandle const & theClass)
407 throw (rti1516e::InteractionClassNotDefined,
408 rti1516e::SaveInProgress,
409 rti1516e::RestoreInProgress,
410 rti1516e::FederateNotExecutionMember,
411 rti1516e::NotConnected,
412 rti1516e::RTIinternalError);
419 virtual
void reserveObjectInstanceName (
420 std::wstring const & theObjectInstanceName)
421 throw (rti1516e::IllegalName,
422 rti1516e::SaveInProgress,
423 rti1516e::RestoreInProgress,
424 rti1516e::FederateNotExecutionMember,
425 rti1516e::NotConnected,
426 rti1516e::RTIinternalError);
429 virtual
void releaseObjectInstanceName (
430 std::wstring const & theObjectInstanceName)
431 throw (rti1516e::ObjectInstanceNameNotReserved,
432 rti1516e::SaveInProgress,
433 rti1516e::RestoreInProgress,
434 rti1516e::FederateNotExecutionMember,
435 rti1516e::NotConnected,
436 rti1516e::RTIinternalError);
439 virtual
void reserveMultipleObjectInstanceName (
440 std::set<std::wstring> const & theObjectInstanceNames)
441 throw (rti1516e::IllegalName,
442 rti1516e::NameSetWasEmpty,
443 rti1516e::SaveInProgress,
444 rti1516e::RestoreInProgress,
445 rti1516e::FederateNotExecutionMember,
446 rti1516e::NotConnected,
447 rti1516e::RTIinternalError);
450 virtual
void releaseMultipleObjectInstanceName (
451 std::set<std::wstring> const & theObjectInstanceNames)
452 throw (rti1516e::ObjectInstanceNameNotReserved,
453 rti1516e::SaveInProgress,
454 rti1516e::RestoreInProgress,
455 rti1516e::FederateNotExecutionMember,
456 rti1516e::NotConnected,
457 rti1516e::RTIinternalError);
460 virtual rti1516e::ObjectInstanceHandle registerObjectInstance (
461 rti1516e::ObjectClassHandle const & theClass)
462 throw (rti1516e::ObjectClassNotPublished,
463 rti1516e::ObjectClassNotDefined,
464 rti1516e::SaveInProgress,
465 rti1516e::RestoreInProgress,
466 rti1516e::FederateNotExecutionMember,
467 rti1516e::NotConnected,
468 rti1516e::RTIinternalError);
470 virtual rti1516e::ObjectInstanceHandle registerObjectInstance (
471 rti1516e::ObjectClassHandle const & theClass,
472 std::wstring const & theObjectInstanceName)
473 throw (rti1516e::ObjectInstanceNameInUse,
474 rti1516e::ObjectInstanceNameNotReserved,
475 rti1516e::ObjectClassNotPublished,
476 rti1516e::ObjectClassNotDefined,
477 rti1516e::SaveInProgress,
478 rti1516e::RestoreInProgress,
479 rti1516e::FederateNotExecutionMember,
480 rti1516e::NotConnected,
481 rti1516e::RTIinternalError);
484 virtual
void updateAttributeValues (
485 rti1516e::ObjectInstanceHandle const & theObject,
487 rti1516e::VariableLengthData const & theUserSuppliedTag)
488 throw (rti1516e::AttributeNotOwned,
489 rti1516e::AttributeNotDefined,
490 rti1516e::ObjectInstanceNotKnown,
491 rti1516e::SaveInProgress,
492 rti1516e::RestoreInProgress,
493 rti1516e::FederateNotExecutionMember,
494 rti1516e::NotConnected,
495 rti1516e::RTIinternalError);
497 virtual rti1516e::MessageRetractionHandle updateAttributeValues (
498 rti1516e::ObjectInstanceHandle const & theObject,
500 rti1516e::VariableLengthData const & theUserSuppliedTag,
501 rti1516e::LogicalTime const & theTime)
502 throw (rti1516e::InvalidLogicalTime,
503 rti1516e::AttributeNotOwned,
504 rti1516e::AttributeNotDefined,
505 rti1516e::ObjectInstanceNotKnown,
506 rti1516e::SaveInProgress,
507 rti1516e::RestoreInProgress,
508 rti1516e::FederateNotExecutionMember,
509 rti1516e::NotConnected,
510 rti1516e::RTIinternalError);
513 virtual
void sendInteraction (
514 rti1516e::InteractionClassHandle const & theInteraction,
516 rti1516e::VariableLengthData const & theUserSuppliedTag)
517 throw (rti1516e::InteractionClassNotPublished,
518 rti1516e::InteractionParameterNotDefined,
519 rti1516e::InteractionClassNotDefined,
520 rti1516e::SaveInProgress,
521 rti1516e::RestoreInProgress,
522 rti1516e::FederateNotExecutionMember,
523 rti1516e::NotConnected,
524 rti1516e::RTIinternalError);
526 virtual rti1516e::MessageRetractionHandle sendInteraction (
527 rti1516e::InteractionClassHandle const & theInteraction,
529 rti1516e::VariableLengthData const & theUserSuppliedTag,
530 rti1516e::LogicalTime const & theTime)
531 throw (rti1516e::InvalidLogicalTime,
532 rti1516e::InteractionClassNotPublished,
533 rti1516e::InteractionParameterNotDefined,
534 rti1516e::InteractionClassNotDefined,
535 rti1516e::SaveInProgress,
536 rti1516e::RestoreInProgress,
537 rti1516e::FederateNotExecutionMember,
538 rti1516e::NotConnected,
539 rti1516e::RTIinternalError);
542 virtual
void deleteObjectInstance (
543 rti1516e::ObjectInstanceHandle const & theObject,
544 rti1516e::VariableLengthData const & theUserSuppliedTag)
545 throw (rti1516e::DeletePrivilegeNotHeld,
546 rti1516e::ObjectInstanceNotKnown,
547 rti1516e::SaveInProgress,
548 rti1516e::RestoreInProgress,
549 rti1516e::FederateNotExecutionMember,
550 rti1516e::NotConnected,
551 rti1516e::RTIinternalError);
553 virtual rti1516e::MessageRetractionHandle deleteObjectInstance (
554 rti1516e::ObjectInstanceHandle const & theObject,
555 rti1516e::VariableLengthData const & theUserSuppliedTag,
556 rti1516e::LogicalTime const & theTime)
557 throw (rti1516e::InvalidLogicalTime,
558 rti1516e::DeletePrivilegeNotHeld,
559 rti1516e::ObjectInstanceNotKnown,
560 rti1516e::SaveInProgress,
561 rti1516e::RestoreInProgress,
562 rti1516e::FederateNotExecutionMember,
563 rti1516e::NotConnected,
564 rti1516e::RTIinternalError);
567 virtual
void localDeleteObjectInstance (
568 rti1516e::ObjectInstanceHandle const & theObject)
569 throw (rti1516e::OwnershipAcquisitionPending,
570 rti1516e::FederateOwnsAttributes,
571 rti1516e::ObjectInstanceNotKnown,
572 rti1516e::SaveInProgress,
573 rti1516e::RestoreInProgress,
574 rti1516e::FederateNotExecutionMember,
575 rti1516e::NotConnected,
576 rti1516e::RTIinternalError);
579 virtual
void requestAttributeValueUpdate (
580 rti1516e::ObjectInstanceHandle const & theObject,
582 rti1516e::VariableLengthData const & theUserSuppliedTag)
583 throw (rti1516e::AttributeNotDefined,
584 rti1516e::ObjectInstanceNotKnown,
585 rti1516e::SaveInProgress,
586 rti1516e::RestoreInProgress,
587 rti1516e::FederateNotExecutionMember,
588 rti1516e::NotConnected,
589 rti1516e::RTIinternalError);
591 virtual
void requestAttributeValueUpdate (
592 rti1516e::ObjectClassHandle const & theClass,
594 rti1516e::VariableLengthData const & theUserSuppliedTag)
595 throw (rti1516e::AttributeNotDefined,
596 rti1516e::ObjectClassNotDefined,
597 rti1516e::SaveInProgress,
598 rti1516e::RestoreInProgress,
599 rti1516e::FederateNotExecutionMember,
600 rti1516e::NotConnected,
601 rti1516e::RTIinternalError);
604 virtual
void requestAttributeTransportationTypeChange (
605 rti1516e::ObjectInstanceHandle const & theObject,
608 throw (rti1516e::AttributeAlreadyBeingChanged,
609 rti1516e::AttributeNotOwned,
610 rti1516e::AttributeNotDefined,
611 rti1516e::ObjectInstanceNotKnown,
612 rti1516e::InvalidTransportationType,
613 rti1516e::SaveInProgress,
614 rti1516e::RestoreInProgress,
615 rti1516e::FederateNotExecutionMember,
616 rti1516e::NotConnected,
617 rti1516e::RTIinternalError);
620 virtual
void queryAttributeTransportationType (
621 rti1516e::ObjectInstanceHandle const & theObject,
622 rti1516e::AttributeHandle const & theAttribute)
623 throw (rti1516e::AttributeNotDefined,
624 rti1516e::ObjectInstanceNotKnown,
625 rti1516e::SaveInProgress,
626 rti1516e::RestoreInProgress,
627 rti1516e::FederateNotExecutionMember,
628 rti1516e::NotConnected,
629 rti1516e::RTIinternalError);
632 virtual
void requestInteractionTransportationTypeChange (
633 rti1516e::InteractionClassHandle const & theClass,
635 throw (rti1516e::InteractionClassAlreadyBeingChanged,
636 rti1516e::InteractionClassNotPublished,
637 rti1516e::InteractionClassNotDefined,
638 rti1516e::InvalidTransportationType,
639 rti1516e::SaveInProgress,
640 rti1516e::RestoreInProgress,
641 rti1516e::FederateNotExecutionMember,
642 rti1516e::NotConnected,
643 rti1516e::RTIinternalError);
646 virtual
void queryInteractionTransportationType (
647 rti1516e::FederateHandle const & theFederate,
648 rti1516e::InteractionClassHandle const & theInteraction)
649 throw (rti1516e::InteractionClassNotDefined,
650 rti1516e::SaveInProgress,
651 rti1516e::RestoreInProgress,
652 rti1516e::FederateNotExecutionMember,
653 rti1516e::NotConnected,
654 rti1516e::RTIinternalError);
662 virtual
void unconditionalAttributeOwnershipDivestiture (
663 rti1516e::ObjectInstanceHandle const & theObject,
665 throw (rti1516e::AttributeNotOwned,
666 rti1516e::AttributeNotDefined,
667 rti1516e::ObjectInstanceNotKnown,
668 rti1516e::SaveInProgress,
669 rti1516e::RestoreInProgress,
670 rti1516e::FederateNotExecutionMember,
671 rti1516e::NotConnected,
672 rti1516e::RTIinternalError);
675 virtual
void negotiatedAttributeOwnershipDivestiture (
676 rti1516e::ObjectInstanceHandle const & theObject,
678 rti1516e::VariableLengthData const & theUserSuppliedTag)
679 throw (rti1516e::AttributeAlreadyBeingDivested,
680 rti1516e::AttributeNotOwned,
681 rti1516e::AttributeNotDefined,
682 rti1516e::ObjectInstanceNotKnown,
683 rti1516e::SaveInProgress,
684 rti1516e::RestoreInProgress,
685 rti1516e::FederateNotExecutionMember,
686 rti1516e::NotConnected,
687 rti1516e::RTIinternalError);
690 virtual
void confirmDivestiture (
691 rti1516e::ObjectInstanceHandle const & theObject,
693 rti1516e::VariableLengthData const & theUserSuppliedTag)
694 throw (rti1516e::NoAcquisitionPending,
695 rti1516e::AttributeDivestitureWasNotRequested,
696 rti1516e::AttributeNotOwned,
697 rti1516e::AttributeNotDefined,
698 rti1516e::ObjectInstanceNotKnown,
699 rti1516e::SaveInProgress,
700 rti1516e::RestoreInProgress,
701 rti1516e::FederateNotExecutionMember,
702 rti1516e::NotConnected,
703 rti1516e::RTIinternalError);
706 virtual
void attributeOwnershipAcquisition (
707 rti1516e::ObjectInstanceHandle const & theObject,
709 rti1516e::VariableLengthData const & theUserSuppliedTag)
710 throw (rti1516e::AttributeNotPublished,
711 rti1516e::ObjectClassNotPublished,
712 rti1516e::FederateOwnsAttributes,
713 rti1516e::AttributeNotDefined,
714 rti1516e::ObjectInstanceNotKnown,
715 rti1516e::SaveInProgress,
716 rti1516e::RestoreInProgress,
717 rti1516e::FederateNotExecutionMember,
718 rti1516e::NotConnected,
719 rti1516e::RTIinternalError);
722 virtual
void attributeOwnershipAcquisitionIfAvailable (
723 rti1516e::ObjectInstanceHandle const & theObject,
725 throw (rti1516e::AttributeAlreadyBeingAcquired,
726 rti1516e::AttributeNotPublished,
727 rti1516e::ObjectClassNotPublished,
728 rti1516e::FederateOwnsAttributes,
729 rti1516e::AttributeNotDefined,
730 rti1516e::ObjectInstanceNotKnown,
731 rti1516e::SaveInProgress,
732 rti1516e::RestoreInProgress,
733 rti1516e::FederateNotExecutionMember,
734 rti1516e::NotConnected,
735 rti1516e::RTIinternalError);
738 virtual
void attributeOwnershipReleaseDenied (
739 rti1516e::ObjectInstanceHandle const & theObject,
741 throw (rti1516e::AttributeNotOwned,
742 rti1516e::AttributeNotDefined,
743 rti1516e::ObjectInstanceNotKnown,
744 rti1516e::SaveInProgress,
745 rti1516e::RestoreInProgress,
746 rti1516e::FederateNotExecutionMember,
747 rti1516e::NotConnected,
748 rti1516e::RTIinternalError);
751 virtual
void attributeOwnershipDivestitureIfWanted (
752 rti1516e::ObjectInstanceHandle const & theObject,
755 throw (rti1516e::AttributeNotOwned,
756 rti1516e::AttributeNotDefined,
757 rti1516e::ObjectInstanceNotKnown,
758 rti1516e::SaveInProgress,
759 rti1516e::RestoreInProgress,
760 rti1516e::FederateNotExecutionMember,
761 rti1516e::NotConnected,
762 rti1516e::RTIinternalError);
765 virtual
void cancelNegotiatedAttributeOwnershipDivestiture (
766 rti1516e::ObjectInstanceHandle const & theObject,
768 throw (rti1516e::AttributeDivestitureWasNotRequested,
769 rti1516e::AttributeNotOwned,
770 rti1516e::AttributeNotDefined,
771 rti1516e::ObjectInstanceNotKnown,
772 rti1516e::SaveInProgress,
773 rti1516e::RestoreInProgress,
774 rti1516e::FederateNotExecutionMember,
775 rti1516e::NotConnected,
776 rti1516e::RTIinternalError);
779 virtual
void cancelAttributeOwnershipAcquisition (
780 rti1516e::ObjectInstanceHandle const & theObject,
782 throw (rti1516e::AttributeAcquisitionWasNotRequested,
783 rti1516e::AttributeAlreadyOwned,
784 rti1516e::AttributeNotDefined,
785 rti1516e::ObjectInstanceNotKnown,
786 rti1516e::SaveInProgress,
787 rti1516e::RestoreInProgress,
788 rti1516e::FederateNotExecutionMember,
789 rti1516e::NotConnected,
790 rti1516e::RTIinternalError);
793 virtual
void queryAttributeOwnership (
794 rti1516e::ObjectInstanceHandle const & theObject,
795 rti1516e::AttributeHandle const & theAttribute)
796 throw (rti1516e::AttributeNotDefined,
797 rti1516e::ObjectInstanceNotKnown,
798 rti1516e::SaveInProgress,
799 rti1516e::RestoreInProgress,
800 rti1516e::FederateNotExecutionMember,
801 rti1516e::NotConnected,
802 rti1516e::RTIinternalError);
805 virtual
bool isAttributeOwnedByFederate (
806 rti1516e::ObjectInstanceHandle const & theObject,
807 rti1516e::AttributeHandle const & theAttribute)
808 throw (rti1516e::AttributeNotDefined,
809 rti1516e::ObjectInstanceNotKnown,
810 rti1516e::SaveInProgress,
811 rti1516e::RestoreInProgress,
812 rti1516e::FederateNotExecutionMember,
813 rti1516e::NotConnected,
814 rti1516e::RTIinternalError);
821 virtual
void enableTimeRegulation (
822 rti1516e::LogicalTimeInterval const & theLookahead)
823 throw (rti1516e::InvalidLookahead,
824 rti1516e::InTimeAdvancingState,
825 rti1516e::RequestForTimeRegulationPending,
826 rti1516e::TimeRegulationAlreadyEnabled,
827 rti1516e::SaveInProgress,
828 rti1516e::RestoreInProgress,
829 rti1516e::FederateNotExecutionMember,
830 rti1516e::NotConnected,
831 rti1516e::RTIinternalError);
834 virtual
void disableTimeRegulation ()
835 throw (rti1516e::TimeRegulationIsNotEnabled,
836 rti1516e::SaveInProgress,
837 rti1516e::RestoreInProgress,
838 rti1516e::FederateNotExecutionMember,
839 rti1516e::NotConnected,
840 rti1516e::RTIinternalError);
843 virtual
void enableTimeConstrained ()
844 throw (rti1516e::InTimeAdvancingState,
845 rti1516e::RequestForTimeConstrainedPending,
846 rti1516e::TimeConstrainedAlreadyEnabled,
847 rti1516e::SaveInProgress,
848 rti1516e::RestoreInProgress,
849 rti1516e::FederateNotExecutionMember,
850 rti1516e::NotConnected,
851 rti1516e::RTIinternalError);
854 virtual
void disableTimeConstrained ()
855 throw (rti1516e::TimeConstrainedIsNotEnabled,
856 rti1516e::SaveInProgress,
857 rti1516e::RestoreInProgress,
858 rti1516e::FederateNotExecutionMember,
859 rti1516e::NotConnected,
860 rti1516e::RTIinternalError);
863 virtual
void timeAdvanceRequest (
864 rti1516e::LogicalTime const & theTime)
865 throw (rti1516e::LogicalTimeAlreadyPassed,
866 rti1516e::InvalidLogicalTime,
867 rti1516e::InTimeAdvancingState,
868 rti1516e::RequestForTimeRegulationPending,
869 rti1516e::RequestForTimeConstrainedPending,
870 rti1516e::SaveInProgress,
871 rti1516e::RestoreInProgress,
872 rti1516e::FederateNotExecutionMember,
873 rti1516e::NotConnected,
874 rti1516e::RTIinternalError);
877 virtual
void timeAdvanceRequestAvailable (
878 rti1516e::LogicalTime const & theTime)
879 throw (rti1516e::LogicalTimeAlreadyPassed,
880 rti1516e::InvalidLogicalTime,
881 rti1516e::InTimeAdvancingState,
882 rti1516e::RequestForTimeRegulationPending,
883 rti1516e::RequestForTimeConstrainedPending,
884 rti1516e::SaveInProgress,
885 rti1516e::RestoreInProgress,
886 rti1516e::FederateNotExecutionMember,
887 rti1516e::NotConnected,
888 rti1516e::RTIinternalError);
891 virtual
void nextMessageRequest (
892 rti1516e::LogicalTime const & theTime)
893 throw (rti1516e::LogicalTimeAlreadyPassed,
894 rti1516e::InvalidLogicalTime,
895 rti1516e::InTimeAdvancingState,
896 rti1516e::RequestForTimeRegulationPending,
897 rti1516e::RequestForTimeConstrainedPending,
898 rti1516e::SaveInProgress,
899 rti1516e::RestoreInProgress,
900 rti1516e::FederateNotExecutionMember,
901 rti1516e::NotConnected,
902 rti1516e::RTIinternalError);
905 virtual
void nextMessageRequestAvailable (
906 rti1516e::LogicalTime const & theTime)
907 throw (rti1516e::LogicalTimeAlreadyPassed,
908 rti1516e::InvalidLogicalTime,
909 rti1516e::InTimeAdvancingState,
910 rti1516e::RequestForTimeRegulationPending,
911 rti1516e::RequestForTimeConstrainedPending,
912 rti1516e::SaveInProgress,
913 rti1516e::RestoreInProgress,
914 rti1516e::FederateNotExecutionMember,
915 rti1516e::NotConnected,
916 rti1516e::RTIinternalError);
919 virtual
void flushQueueRequest (
920 rti1516e::LogicalTime const & theTime)
921 throw (rti1516e::LogicalTimeAlreadyPassed,
922 rti1516e::InvalidLogicalTime,
923 rti1516e::InTimeAdvancingState,
924 rti1516e::RequestForTimeRegulationPending,
925 rti1516e::RequestForTimeConstrainedPending,
926 rti1516e::SaveInProgress,
927 rti1516e::RestoreInProgress,
928 rti1516e::FederateNotExecutionMember,
929 rti1516e::NotConnected,
930 rti1516e::RTIinternalError);
933 virtual
void enableAsynchronousDelivery ()
934 throw (rti1516e::AsynchronousDeliveryAlreadyEnabled,
935 rti1516e::SaveInProgress,
936 rti1516e::RestoreInProgress,
937 rti1516e::FederateNotExecutionMember,
938 rti1516e::NotConnected,
939 rti1516e::RTIinternalError);
942 virtual
void disableAsynchronousDelivery ()
944 rti1516e::AsynchronousDeliveryAlreadyDisabled,
945 rti1516e::SaveInProgress,
946 rti1516e::RestoreInProgress,
947 rti1516e::FederateNotExecutionMember,
948 rti1516e::NotConnected,
949 rti1516e::RTIinternalError);
952 virtual
bool queryGALT (rti1516e::LogicalTime & theTime)
953 throw (rti1516e::SaveInProgress,
954 rti1516e::RestoreInProgress,
955 rti1516e::FederateNotExecutionMember,
956 rti1516e::NotConnected,
957 rti1516e::RTIinternalError);
960 virtual
void queryLogicalTime (rti1516e::LogicalTime & theTime)
961 throw (rti1516e::SaveInProgress,
962 rti1516e::RestoreInProgress,
963 rti1516e::FederateNotExecutionMember,
964 rti1516e::NotConnected,
965 rti1516e::RTIinternalError);
968 virtual
bool queryLITS (rti1516e::LogicalTime & theTime)
969 throw (rti1516e::SaveInProgress,
970 rti1516e::RestoreInProgress,
971 rti1516e::FederateNotExecutionMember,
972 rti1516e::NotConnected,
973 rti1516e::RTIinternalError);
976 virtual
void modifyLookahead (
977 rti1516e::LogicalTimeInterval const & theLookahead)
978 throw (rti1516e::InvalidLookahead,
979 rti1516e::InTimeAdvancingState,
980 rti1516e::TimeRegulationIsNotEnabled,
981 rti1516e::SaveInProgress,
982 rti1516e::RestoreInProgress,
983 rti1516e::FederateNotExecutionMember,
984 rti1516e::NotConnected,
985 rti1516e::RTIinternalError);
988 virtual
void queryLookahead (rti1516e::LogicalTimeInterval & interval)
989 throw (rti1516e::TimeRegulationIsNotEnabled,
990 rti1516e::SaveInProgress,
991 rti1516e::RestoreInProgress,
992 rti1516e::FederateNotExecutionMember,
993 rti1516e::NotConnected,
994 rti1516e::RTIinternalError);
997 virtual
void retract (
998 rti1516e::MessageRetractionHandle const & theHandle)
999 throw (rti1516e::MessageCanNoLongerBeRetracted,
1000 rti1516e::InvalidMessageRetractionHandle,
1001 rti1516e::TimeRegulationIsNotEnabled,
1002 rti1516e::SaveInProgress,
1003 rti1516e::RestoreInProgress,
1004 rti1516e::FederateNotExecutionMember,
1005 rti1516e::NotConnected,
1006 rti1516e::RTIinternalError);
1009 virtual
void changeAttributeOrderType (
1010 rti1516e::ObjectInstanceHandle const & theObject,
1013 throw (rti1516e::AttributeNotOwned,
1014 rti1516e::AttributeNotDefined,
1015 rti1516e::ObjectInstanceNotKnown,
1016 rti1516e::SaveInProgress,
1017 rti1516e::RestoreInProgress,
1018 rti1516e::FederateNotExecutionMember,
1019 rti1516e::NotConnected,
1020 rti1516e::RTIinternalError);
1023 virtual
void changeInteractionOrderType (
1024 rti1516e::InteractionClassHandle const & theClass,
1026 throw (rti1516e::InteractionClassNotPublished,
1027 rti1516e::InteractionClassNotDefined,
1028 rti1516e::SaveInProgress,
1029 rti1516e::RestoreInProgress,
1030 rti1516e::FederateNotExecutionMember,
1031 rti1516e::NotConnected,
1032 rti1516e::RTIinternalError);
1039 virtual rti1516e::RegionHandle createRegion (
1041 throw (rti1516e::InvalidDimensionHandle,
1042 rti1516e::SaveInProgress,
1043 rti1516e::RestoreInProgress,
1044 rti1516e::FederateNotExecutionMember,
1045 rti1516e::NotConnected,
1046 rti1516e::RTIinternalError);
1049 virtual
void commitRegionModifications (
1051 throw (rti1516e::RegionNotCreatedByThisFederate,
1052 rti1516e::InvalidRegion,
1053 rti1516e::SaveInProgress,
1054 rti1516e::RestoreInProgress,
1055 rti1516e::FederateNotExecutionMember,
1056 rti1516e::NotConnected,
1057 rti1516e::RTIinternalError);
1060 virtual
void deleteRegion (
1061 rti1516e::RegionHandle const & theRegion)
1062 throw (rti1516e::RegionInUseForUpdateOrSubscription,
1063 rti1516e::RegionNotCreatedByThisFederate,
1064 rti1516e::InvalidRegion,
1065 rti1516e::SaveInProgress,
1066 rti1516e::RestoreInProgress,
1067 rti1516e::FederateNotExecutionMember,
1068 rti1516e::NotConnected,
1069 rti1516e::RTIinternalError);
1072 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1073 rti1516e::ObjectClassHandle const & theClass,
1075 theAttributeHandleSetRegionHandleSetPairVector)
1076 throw (rti1516e::InvalidRegionContext,
1077 rti1516e::RegionNotCreatedByThisFederate,
1078 rti1516e::InvalidRegion,
1079 rti1516e::AttributeNotPublished,
1080 rti1516e::ObjectClassNotPublished,
1081 rti1516e::AttributeNotDefined,
1082 rti1516e::ObjectClassNotDefined,
1083 rti1516e::SaveInProgress,
1084 rti1516e::RestoreInProgress,
1085 rti1516e::FederateNotExecutionMember,
1086 rti1516e::NotConnected,
1087 rti1516e::RTIinternalError);
1089 virtual rti1516e::ObjectInstanceHandle registerObjectInstanceWithRegions (
1090 rti1516e::ObjectClassHandle const & theClass,
1092 theAttributeHandleSetRegionHandleSetPairVector,
1093 std::wstring const & theObjectInstanceName)
1094 throw (rti1516e::ObjectInstanceNameInUse,
1095 rti1516e::ObjectInstanceNameNotReserved,
1096 rti1516e::InvalidRegionContext,
1097 rti1516e::RegionNotCreatedByThisFederate,
1098 rti1516e::InvalidRegion,
1099 rti1516e::AttributeNotPublished,
1100 rti1516e::ObjectClassNotPublished,
1101 rti1516e::AttributeNotDefined,
1102 rti1516e::ObjectClassNotDefined,
1103 rti1516e::SaveInProgress,
1104 rti1516e::RestoreInProgress,
1105 rti1516e::FederateNotExecutionMember,
1106 rti1516e::NotConnected,
1107 rti1516e::RTIinternalError);
1110 virtual
void associateRegionsForUpdates (
1111 rti1516e::ObjectInstanceHandle const & theObject,
1113 theAttributeHandleSetRegionHandleSetPairVector)
1114 throw (rti1516e::InvalidRegionContext,
1115 rti1516e::RegionNotCreatedByThisFederate,
1116 rti1516e::InvalidRegion,
1117 rti1516e::AttributeNotDefined,
1118 rti1516e::ObjectInstanceNotKnown,
1119 rti1516e::SaveInProgress,
1120 rti1516e::RestoreInProgress,
1121 rti1516e::FederateNotExecutionMember,
1122 rti1516e::NotConnected,
1123 rti1516e::RTIinternalError);
1126 virtual
void unassociateRegionsForUpdates (
1127 rti1516e::ObjectInstanceHandle const & theObject,
1129 theAttributeHandleSetRegionHandleSetPairVector)
1130 throw (rti1516e::RegionNotCreatedByThisFederate,
1131 rti1516e::InvalidRegion,
1132 rti1516e::AttributeNotDefined,
1133 rti1516e::ObjectInstanceNotKnown,
1134 rti1516e::SaveInProgress,
1135 rti1516e::RestoreInProgress,
1136 rti1516e::FederateNotExecutionMember,
1137 rti1516e::NotConnected,
1138 rti1516e::RTIinternalError);
1141 virtual
void subscribeObjectClassAttributesWithRegions (
1142 rti1516e::ObjectClassHandle const & theClass,
1144 theAttributeHandleSetRegionHandleSetPairVector,
1146 std::wstring const & updateRateDesignator)
1147 throw (rti1516e::InvalidRegionContext,
1148 rti1516e::RegionNotCreatedByThisFederate,
1149 rti1516e::InvalidRegion,
1150 rti1516e::AttributeNotDefined,
1151 rti1516e::ObjectClassNotDefined,
1152 rti1516e::InvalidUpdateRateDesignator,
1153 rti1516e::SaveInProgress,
1154 rti1516e::RestoreInProgress,
1155 rti1516e::FederateNotExecutionMember,
1156 rti1516e::NotConnected,
1157 rti1516e::RTIinternalError);
1161 virtual
void unsubscribeObjectClassAttributesWithRegions (
1162 rti1516e::ObjectClassHandle const & theClass,
1164 theAttributeHandleSetRegionHandleSetPairVector)
1165 throw (rti1516e::RegionNotCreatedByThisFederate,
1166 rti1516e::InvalidRegion,
1167 rti1516e::AttributeNotDefined,
1168 rti1516e::ObjectClassNotDefined,
1169 rti1516e::SaveInProgress,
1170 rti1516e::RestoreInProgress,
1171 rti1516e::FederateNotExecutionMember,
1172 rti1516e::NotConnected,
1173 rti1516e::RTIinternalError);
1176 virtual
void subscribeInteractionClassWithRegions (
1177 rti1516e::InteractionClassHandle const & theClass,
1180 throw (rti1516e::FederateServiceInvocationsAreBeingReportedViaMOM,
1181 rti1516e::InvalidRegionContext,
1182 rti1516e::RegionNotCreatedByThisFederate,
1183 rti1516e::InvalidRegion,
1184 rti1516e::InteractionClassNotDefined,
1185 rti1516e::SaveInProgress,
1186 rti1516e::RestoreInProgress,
1187 rti1516e::FederateNotExecutionMember,
1188 rti1516e::NotConnected,
1189 rti1516e::RTIinternalError);
1192 virtual
void unsubscribeInteractionClassWithRegions (
1193 rti1516e::InteractionClassHandle const & theClass,
1195 throw (rti1516e::RegionNotCreatedByThisFederate,
1196 rti1516e::InvalidRegion,
1197 rti1516e::InteractionClassNotDefined,
1198 rti1516e::SaveInProgress,
1199 rti1516e::RestoreInProgress,
1200 rti1516e::FederateNotExecutionMember,
1201 rti1516e::NotConnected,
1202 rti1516e::RTIinternalError);
1205 virtual
void sendInteractionWithRegions (
1206 rti1516e::InteractionClassHandle const & theInteraction,
1209 rti1516e::VariableLengthData const & theUserSuppliedTag)
1210 throw (rti1516e::InvalidRegionContext,
1211 rti1516e::RegionNotCreatedByThisFederate,
1212 rti1516e::InvalidRegion,
1213 rti1516e::InteractionClassNotPublished,
1214 rti1516e::InteractionParameterNotDefined,
1215 rti1516e::InteractionClassNotDefined,
1216 rti1516e::SaveInProgress,
1217 rti1516e::RestoreInProgress,
1218 rti1516e::FederateNotExecutionMember,
1219 rti1516e::NotConnected,
1220 rti1516e::RTIinternalError);
1222 virtual rti1516e::MessageRetractionHandle sendInteractionWithRegions (
1223 rti1516e::InteractionClassHandle const & theInteraction,
1226 rti1516e::VariableLengthData const & theUserSuppliedTag,
1227 rti1516e::LogicalTime const & theTime)
1228 throw (rti1516e::InvalidLogicalTime,
1229 rti1516e::InvalidRegionContext,
1230 rti1516e::RegionNotCreatedByThisFederate,
1231 rti1516e::InvalidRegion,
1232 rti1516e::InteractionClassNotPublished,
1233 rti1516e::InteractionParameterNotDefined,
1234 rti1516e::InteractionClassNotDefined,
1235 rti1516e::SaveInProgress,
1236 rti1516e::RestoreInProgress,
1237 rti1516e::FederateNotExecutionMember,
1238 rti1516e::NotConnected,
1239 rti1516e::RTIinternalError);
1242 virtual
void requestAttributeValueUpdateWithRegions (
1243 rti1516e::ObjectClassHandle const & theClass,
1245 rti1516e::VariableLengthData const & theUserSuppliedTag)
1246 throw (rti1516e::InvalidRegionContext,
1247 rti1516e::RegionNotCreatedByThisFederate,
1248 rti1516e::InvalidRegion,
1249 rti1516e::AttributeNotDefined,
1250 rti1516e::ObjectClassNotDefined,
1251 rti1516e::SaveInProgress,
1252 rti1516e::RestoreInProgress,
1253 rti1516e::FederateNotExecutionMember,
1254 rti1516e::NotConnected,
1255 rti1516e::RTIinternalError);
1262 virtual rti1516e::
ResignAction getAutomaticResignDirective ()
1263 throw (rti1516e::FederateNotExecutionMember,
1264 rti1516e::NotConnected,
1265 rti1516e::RTIinternalError);
1268 virtual
void setAutomaticResignDirective (
1270 throw (rti1516e::InvalidResignAction,
1271 rti1516e::FederateNotExecutionMember,
1272 rti1516e::NotConnected,
1273 rti1516e::RTIinternalError);
1276 virtual rti1516e::FederateHandle getFederateHandle (
1277 std::wstring const & theName)
1278 throw (rti1516e::NameNotFound,
1279 rti1516e::FederateNotExecutionMember,
1280 rti1516e::NotConnected,
1281 rti1516e::RTIinternalError);
1284 virtual std::wstring getFederateName (
1285 rti1516e::FederateHandle const & theHandle)
1286 throw (rti1516e::InvalidFederateHandle,
1287 rti1516e::FederateHandleNotKnown,
1288 rti1516e::FederateNotExecutionMember,
1289 rti1516e::NotConnected,
1290 rti1516e::RTIinternalError);
1293 virtual rti1516e::ObjectClassHandle getObjectClassHandle (
1294 std::wstring const & theName)
1295 throw (rti1516e::NameNotFound,
1296 rti1516e::FederateNotExecutionMember,
1297 rti1516e::NotConnected,
1298 rti1516e::RTIinternalError);
1301 virtual std::wstring getObjectClassName (
1302 rti1516e::ObjectClassHandle const & theHandle)
1303 throw (rti1516e::InvalidObjectClassHandle,
1304 rti1516e::FederateNotExecutionMember,
1305 rti1516e::NotConnected,
1306 rti1516e::RTIinternalError);
1309 virtual rti1516e::ObjectClassHandle getKnownObjectClassHandle (
1310 rti1516e::ObjectInstanceHandle const & theObject)
1311 throw (rti1516e::ObjectInstanceNotKnown,
1312 rti1516e::FederateNotExecutionMember,
1313 rti1516e::NotConnected,
1314 rti1516e::RTIinternalError);
1317 virtual rti1516e::ObjectInstanceHandle getObjectInstanceHandle (
1318 std::wstring const & theName)
1319 throw (rti1516e::ObjectInstanceNotKnown,
1320 rti1516e::FederateNotExecutionMember,
1321 rti1516e::NotConnected,
1322 rti1516e::RTIinternalError);
1325 virtual std::wstring getObjectInstanceName (
1326 rti1516e::ObjectInstanceHandle const & theHandle)
1327 throw (rti1516e::ObjectInstanceNotKnown,
1328 rti1516e::FederateNotExecutionMember,
1329 rti1516e::NotConnected,
1330 rti1516e::RTIinternalError);
1333 virtual rti1516e::AttributeHandle getAttributeHandle (
1334 rti1516e::ObjectClassHandle const & whichClass,
1335 std::wstring const & theAttributeName)
1336 throw (rti1516e::NameNotFound,
1337 rti1516e::InvalidObjectClassHandle,
1338 rti1516e::FederateNotExecutionMember,
1339 rti1516e::NotConnected,
1340 rti1516e::RTIinternalError);
1343 virtual std::wstring getAttributeName (
1344 rti1516e::ObjectClassHandle const & whichClass,
1345 rti1516e::AttributeHandle const & theHandle)
1346 throw (rti1516e::AttributeNotDefined,
1347 rti1516e::InvalidAttributeHandle,
1348 rti1516e::InvalidObjectClassHandle,
1349 rti1516e::FederateNotExecutionMember,
1350 rti1516e::NotConnected,
1351 rti1516e::RTIinternalError);
1354 virtual
double getUpdateRateValue (
1355 std::wstring const & updateRateDesignator)
1356 throw (rti1516e::InvalidUpdateRateDesignator,
1357 rti1516e::FederateNotExecutionMember,
1358 rti1516e::NotConnected,
1359 rti1516e::RTIinternalError);
1362 virtual
double getUpdateRateValueForAttribute (
1363 rti1516e::ObjectInstanceHandle const & theObject,
1364 rti1516e::AttributeHandle const & theAttribute)
1365 throw (rti1516e::ObjectInstanceNotKnown,
1366 rti1516e::AttributeNotDefined,
1367 rti1516e::FederateNotExecutionMember,
1368 rti1516e::NotConnected,
1369 rti1516e::RTIinternalError);
1372 virtual rti1516e::InteractionClassHandle getInteractionClassHandle (
1373 std::wstring const & theName)
1374 throw (rti1516e::NameNotFound,
1375 rti1516e::FederateNotExecutionMember,
1376 rti1516e::NotConnected,
1377 rti1516e::RTIinternalError);
1380 virtual std::wstring getInteractionClassName (
1381 rti1516e::InteractionClassHandle const & theHandle)
1382 throw (rti1516e::InvalidInteractionClassHandle,
1383 rti1516e::FederateNotExecutionMember,
1384 rti1516e::NotConnected,
1385 rti1516e::RTIinternalError);
1388 virtual rti1516e::ParameterHandle getParameterHandle (
1389 rti1516e::InteractionClassHandle const & whichClass,
1390 std::wstring const & theName)
1391 throw (rti1516e::NameNotFound,
1392 rti1516e::InvalidInteractionClassHandle,
1393 rti1516e::FederateNotExecutionMember,
1394 rti1516e::NotConnected,
1395 rti1516e::RTIinternalError);
1398 virtual std::wstring getParameterName (
1399 rti1516e::InteractionClassHandle const & whichClass,
1400 rti1516e::ParameterHandle const & theHandle)
1401 throw (rti1516e::InteractionParameterNotDefined,
1402 rti1516e::InvalidParameterHandle,
1403 rti1516e::InvalidInteractionClassHandle,
1404 rti1516e::FederateNotExecutionMember,
1405 rti1516e::NotConnected,
1406 rti1516e::RTIinternalError);
1409 virtual rti1516e::
OrderType getOrderType (
1410 std::wstring const & orderName)
1411 throw (rti1516e::InvalidOrderName,
1412 rti1516e::FederateNotExecutionMember,
1413 rti1516e::NotConnected,
1414 rti1516e::RTIinternalError);
1417 virtual std::wstring getOrderName (
1419 throw (rti1516e::InvalidOrderType,
1420 rti1516e::FederateNotExecutionMember,
1421 rti1516e::NotConnected,
1422 rti1516e::RTIinternalError);
1426 std::wstring const & transportationName)
1427 throw (rti1516e::InvalidTransportationName,
1428 rti1516e::FederateNotExecutionMember,
1429 rti1516e::NotConnected,
1430 rti1516e::RTIinternalError);
1433 virtual std::wstring getTransportationName (
1435 throw (rti1516e::InvalidTransportationType,
1436 rti1516e::FederateNotExecutionMember,
1437 rti1516e::NotConnected,
1438 rti1516e::RTIinternalError);
1442 rti1516e::ObjectClassHandle const & theClass,
1443 rti1516e::AttributeHandle const & theHandle)
1444 throw (rti1516e::AttributeNotDefined,
1445 rti1516e::InvalidAttributeHandle,
1446 rti1516e::InvalidObjectClassHandle,
1447 rti1516e::FederateNotExecutionMember,
1448 rti1516e::NotConnected,
1449 rti1516e::RTIinternalError);
1453 rti1516e::InteractionClassHandle const & theClass)
1454 throw (rti1516e::InvalidInteractionClassHandle,
1455 rti1516e::FederateNotExecutionMember,
1456 rti1516e::NotConnected,
1457 rti1516e::RTIinternalError);
1460 virtual rti1516e::DimensionHandle getDimensionHandle (
1461 std::wstring const & theName)
1462 throw (rti1516e::NameNotFound,
1463 rti1516e::FederateNotExecutionMember,
1464 rti1516e::NotConnected,
1465 rti1516e::RTIinternalError);
1468 virtual std::wstring getDimensionName (
1469 rti1516e::DimensionHandle const & theHandle)
1470 throw (rti1516e::InvalidDimensionHandle,
1471 rti1516e::FederateNotExecutionMember,
1472 rti1516e::NotConnected,
1473 rti1516e::RTIinternalError);
1476 virtual
unsigned long getDimensionUpperBound (
1477 rti1516e::DimensionHandle const & theHandle)
1478 throw (rti1516e::InvalidDimensionHandle,
1479 rti1516e::FederateNotExecutionMember,
1480 rti1516e::NotConnected,
1481 rti1516e::RTIinternalError);
1485 rti1516e::RegionHandle const & theRegionHandle)
1486 throw (rti1516e::InvalidRegion,
1487 rti1516e::SaveInProgress,
1488 rti1516e::RestoreInProgress,
1489 rti1516e::FederateNotExecutionMember,
1490 rti1516e::NotConnected,
1491 rti1516e::RTIinternalError);
1494 virtual rti1516e::RangeBounds getRangeBounds (
1495 rti1516e::RegionHandle const & theRegionHandle,
1496 rti1516e::DimensionHandle const & theDimensionHandle)
1497 throw (rti1516e::RegionDoesNotContainSpecifiedDimension,
1498 rti1516e::InvalidRegion,
1499 rti1516e::SaveInProgress,
1500 rti1516e::RestoreInProgress,
1501 rti1516e::FederateNotExecutionMember,
1502 rti1516e::NotConnected,
1503 rti1516e::RTIinternalError);
1506 virtual
void setRangeBounds (
1507 rti1516e::RegionHandle const & theRegionHandle,
1508 rti1516e::DimensionHandle const & theDimensionHandle,
1509 rti1516e::RangeBounds const & theRangeBounds)
1510 throw (rti1516e::InvalidRangeBound,
1511 rti1516e::RegionDoesNotContainSpecifiedDimension,
1512 rti1516e::RegionNotCreatedByThisFederate,
1513 rti1516e::InvalidRegion,
1514 rti1516e::SaveInProgress,
1515 rti1516e::RestoreInProgress,
1516 rti1516e::FederateNotExecutionMember,
1517 rti1516e::NotConnected,
1518 rti1516e::RTIinternalError);
1521 virtual
unsigned long normalizeFederateHandle (
1522 rti1516e::FederateHandle const & theFederateHandle)
1523 throw (rti1516e::InvalidFederateHandle,
1524 rti1516e::FederateNotExecutionMember,
1525 rti1516e::NotConnected,
1526 rti1516e::RTIinternalError);
1529 virtual
unsigned long normalizeServiceGroup (
1531 throw (rti1516e::InvalidServiceGroup,
1532 rti1516e::FederateNotExecutionMember,
1533 rti1516e::NotConnected,
1534 rti1516e::RTIinternalError);
1537 virtual
void enableObjectClassRelevanceAdvisorySwitch ()
1538 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOn,
1539 rti1516e::SaveInProgress,
1540 rti1516e::RestoreInProgress,
1541 rti1516e::FederateNotExecutionMember,
1542 rti1516e::NotConnected,
1543 rti1516e::RTIinternalError);
1546 virtual
void disableObjectClassRelevanceAdvisorySwitch ()
1547 throw (rti1516e::ObjectClassRelevanceAdvisorySwitchIsOff,
1548 rti1516e::SaveInProgress,
1549 rti1516e::RestoreInProgress,
1550 rti1516e::FederateNotExecutionMember,
1551 rti1516e::NotConnected,
1552 rti1516e::RTIinternalError);
1555 virtual
void enableAttributeRelevanceAdvisorySwitch ()
1556 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOn,
1557 rti1516e::SaveInProgress,
1558 rti1516e::RestoreInProgress,
1559 rti1516e::FederateNotExecutionMember,
1560 rti1516e::NotConnected,
1561 rti1516e::RTIinternalError);
1564 virtual
void disableAttributeRelevanceAdvisorySwitch ()
1565 throw (rti1516e::AttributeRelevanceAdvisorySwitchIsOff,
1566 rti1516e::SaveInProgress,
1567 rti1516e::RestoreInProgress,
1568 rti1516e::FederateNotExecutionMember,
1569 rti1516e::NotConnected,
1570 rti1516e::RTIinternalError);
1573 virtual
void enableAttributeScopeAdvisorySwitch ()
1574 throw (rti1516e::AttributeScopeAdvisorySwitchIsOn,
1575 rti1516e::SaveInProgress,
1576 rti1516e::RestoreInProgress,
1577 rti1516e::FederateNotExecutionMember,
1578 rti1516e::NotConnected,
1579 rti1516e::RTIinternalError);
1582 virtual
void disableAttributeScopeAdvisorySwitch ()
1583 throw (rti1516e::AttributeScopeAdvisorySwitchIsOff,
1584 rti1516e::SaveInProgress,
1585 rti1516e::RestoreInProgress,
1586 rti1516e::FederateNotExecutionMember,
1587 rti1516e::NotConnected,
1588 rti1516e::RTIinternalError);
1591 virtual
void enableInteractionRelevanceAdvisorySwitch ()
1592 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOn,
1593 rti1516e::SaveInProgress,
1594 rti1516e::RestoreInProgress,
1595 rti1516e::FederateNotExecutionMember,
1596 rti1516e::NotConnected,
1597 rti1516e::RTIinternalError);
1600 virtual
void disableInteractionRelevanceAdvisorySwitch ()
1601 throw (rti1516e::InteractionRelevanceAdvisorySwitchIsOff,
1602 rti1516e::SaveInProgress,
1603 rti1516e::RestoreInProgress,
1604 rti1516e::FederateNotExecutionMember,
1605 rti1516e::NotConnected,
1606 rti1516e::RTIinternalError);
1609 virtual
bool evokeCallback (
1610 double approximateMinimumTimeInSeconds,
1611 bool unlockWhileWaiting=false)
1612 throw (rti1516e::CallNotAllowedFromWithinCallback,
1613 rti1516e::RTIinternalError);
1616 virtual
bool evokeMultipleCallbacks (
1617 double approximateMinimumTimeInSeconds,
1618 double approximateMaximumTimeInSeconds,
1619 bool unlockWhileWaiting=false)
1620 throw (rti1516e::CallNotAllowedFromWithinCallback,
1621 rti1516e::RTIinternalError);
1624 virtual
void enableCallbacks ()
1625 throw (rti1516e::SaveInProgress,
1626 rti1516e::RestoreInProgress,
1627 rti1516e::RTIinternalError);
1630 virtual
void disableCallbacks ()
1631 throw (rti1516e::SaveInProgress,
1632 rti1516e::RestoreInProgress,
1633 rti1516e::RTIinternalError);
1638 virtual std::auto_ptr<rti1516e::LogicalTimeFactory> getTimeFactory () const
1639 throw (rti1516e::FederateNotExecutionMember,
1640 rti1516e::NotConnected,
1641 rti1516e::RTIinternalError);
1644 virtual rti1516e::FederateHandle decodeFederateHandle (
1645 rti1516e::VariableLengthData const & encodedValue) const
1646 throw (rti1516e::CouldNotDecode,
1647 rti1516e::FederateNotExecutionMember,
1648 rti1516e::NotConnected,
1649 rti1516e::RTIinternalError);
1651 virtual rti1516e::ObjectClassHandle decodeObjectClassHandle (
1652 rti1516e::VariableLengthData const & encodedValue) const
1653 throw (rti1516e::CouldNotDecode,
1654 rti1516e::FederateNotExecutionMember,
1655 rti1516e::NotConnected,
1656 rti1516e::RTIinternalError);
1658 virtual rti1516e::InteractionClassHandle decodeInteractionClassHandle (
1659 rti1516e::VariableLengthData const & encodedValue) const
1660 throw (rti1516e::CouldNotDecode,
1661 rti1516e::FederateNotExecutionMember,
1662 rti1516e::NotConnected,
1663 rti1516e::RTIinternalError);
1665 virtual rti1516e::ObjectInstanceHandle decodeObjectInstanceHandle (
1666 rti1516e::VariableLengthData const & encodedValue) const
1667 throw (rti1516e::CouldNotDecode,
1668 rti1516e::FederateNotExecutionMember,
1669 rti1516e::NotConnected,
1670 rti1516e::RTIinternalError);
1672 virtual rti1516e::AttributeHandle decodeAttributeHandle (
1673 rti1516e::VariableLengthData const & encodedValue) const
1674 throw (rti1516e::CouldNotDecode,
1675 rti1516e::FederateNotExecutionMember,
1676 rti1516e::NotConnected,
1677 rti1516e::RTIinternalError);
1679 virtual rti1516e::ParameterHandle decodeParameterHandle (
1680 rti1516e::VariableLengthData const & encodedValue) const
1681 throw (rti1516e::CouldNotDecode,
1682 rti1516e::FederateNotExecutionMember,
1683 rti1516e::NotConnected,
1684 rti1516e::RTIinternalError);
1686 virtual rti1516e::DimensionHandle decodeDimensionHandle (
1687 rti1516e::VariableLengthData const & encodedValue) const
1688 throw (rti1516e::CouldNotDecode,
1689 rti1516e::FederateNotExecutionMember,
1690 rti1516e::NotConnected,
1691 rti1516e::RTIinternalError);
1693 virtual rti1516e::MessageRetractionHandle decodeMessageRetractionHandle (
1694 rti1516e::VariableLengthData const & encodedValue) const
1695 throw (rti1516e::CouldNotDecode,
1696 rti1516e::FederateNotExecutionMember,
1697 rti1516e::NotConnected,
1698 rti1516e::RTIinternalError);
1700 virtual rti1516e::RegionHandle decodeRegionHandle (
1701 rti1516e::VariableLengthData const & encodedValue) const
1702 throw (rti1516e::CouldNotDecode,
1703 rti1516e::FederateNotExecutionMember,
1704 rti1516e::NotConnected,
1705 rti1516e::RTIinternalError);
1713 static DtRtiAmbassadorImplementor* create(rti1516e::RTIambassador* topLevelAmbPtr);
1718 virtual
void clearManagers();
1723 DtNetStatsFedAmbWrapper* myStatisticsFedAmb;
1724 const DtString myStatisticsFedAmbName;
1730 MAKRti::DtClock myTimer;
1736 inline
void DtNetStatsRtiAmbImpl::recordApiStats(const
DtRtiAmbAPIType serviceCallName)
const
1739 myNetStats->
recordApiStats(serviceCallName, myTimer.elapsedRealTime() );
1741 #endif // DtIFSPEC1516E
1742 #endif // netStatsRtiAmb1516e_h__