![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 2011 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 #pragma once 00007 00008 #ifdef DtIFSPEC1516 00009 00012 00013 #include "rtiMsConfig.h" 00014 #include "ambImpBase.h" 00015 #include "RTI/RTI1516.h" 00016 00017 00028 class DT_DLL_LRC DtRtiAmbassadorImplementor : public DtRtiAmbassadorBaseImplementor 00029 { 00030 public: 00031 00033 typedef DtRtiAmbassadorImplementor* (*DtRtiAmbassadorImplementorCreator) 00034 (rti1516::RTIambassador* topLevelAmbPtr, 00035 const std::vector< std::wstring >& initArgs); 00036 00037 protected: 00038 00040 DtRtiAmbassadorImplementor(rti1516::RTIambassador* topLevelAmbPtr, 00041 const std::vector< std::wstring >& initArgs); 00042 00043 public: 00044 00046 virtual ~DtRtiAmbassadorImplementor(); 00047 00048 private: 00049 00051 DtRtiAmbassadorImplementor(DtRtiAmbassadorImplementor const& ); 00052 00054 DtRtiAmbassadorImplementor& operator= (DtRtiAmbassadorImplementor const& ); 00055 00056 public: 00057 00061 00063 virtual void createFederationExecution 00064 (std::wstring const & federationExecutionName, 00065 std::wstring const & fullPathNameToTheFDDfile, 00066 std::wstring const & logicalTimeImplementationName = L"") 00067 throw (rti1516::FederationExecutionAlreadyExists, 00068 rti1516::CouldNotOpenFDD, 00069 rti1516::ErrorReadingFDD, 00070 rti1516::RTIinternalError); 00071 00073 virtual void destroyFederationExecution 00074 (std::wstring const & federationExecutionName) 00075 throw (rti1516::FederatesCurrentlyJoined, 00076 rti1516::FederationExecutionDoesNotExist, 00077 rti1516::RTIinternalError); 00078 00080 virtual rti1516::FederateHandle joinFederationExecution 00081 (std::wstring const & federateType, 00082 std::wstring const & federationExecutionName, 00083 rti1516::FederateAmbassador & federateAmbassador, 00084 unsigned long flags) 00085 throw (rti1516::FederateAlreadyExecutionMember, 00086 rti1516::FederationExecutionDoesNotExist, 00087 rti1516::SaveInProgress, 00088 rti1516::RestoreInProgress, 00089 rti1516::RTIinternalError); 00090 00092 virtual void resignFederationExecution 00093 (rti1516::ResignAction resignAction) 00094 throw (rti1516::OwnershipAcquisitionPending, 00095 rti1516::FederateOwnsAttributes, 00096 rti1516::FederateNotExecutionMember, 00097 rti1516::RTIinternalError); 00098 00100 00101 virtual void registerFederationSynchronizationPoint 00102 (std::wstring const & label, 00103 rti1516::VariableLengthData const & theUserSuppliedTag) 00104 throw (rti1516::FederateNotExecutionMember, 00105 rti1516::SaveInProgress, 00106 rti1516::RestoreInProgress, 00107 rti1516::RTIinternalError); 00108 00109 virtual void registerFederationSynchronizationPoint 00110 (std::wstring const & label, 00111 rti1516::VariableLengthData const & theUserSuppliedTag, 00112 rti1516::FederateHandleSet const & syncSet) 00113 throw (rti1516::FederateNotExecutionMember, 00114 rti1516::SaveInProgress, 00115 rti1516::RestoreInProgress, 00116 rti1516::RTIinternalError); 00118 00120 virtual void synchronizationPointAchieved 00121 (std::wstring const & label) 00122 throw (rti1516::SynchronizationPointLabelNotAnnounced, 00123 rti1516::FederateNotExecutionMember, 00124 rti1516::SaveInProgress, 00125 rti1516::RestoreInProgress, 00126 rti1516::RTIinternalError); 00127 00129 00130 virtual void requestFederationSave 00131 (std::wstring const & label) 00132 throw (rti1516::FederateNotExecutionMember, 00133 rti1516::SaveInProgress, 00134 rti1516::RestoreInProgress, 00135 rti1516::RTIinternalError); 00136 00137 virtual void requestFederationSave 00138 (std::wstring const & label, 00139 rti1516::LogicalTime const & theTime) 00140 throw (rti1516::LogicalTimeAlreadyPassed, 00141 rti1516::InvalidLogicalTime, 00142 rti1516::FederateUnableToUseTime, 00143 rti1516::FederateNotExecutionMember, 00144 rti1516::SaveInProgress, 00145 rti1516::RestoreInProgress, 00146 rti1516::RTIinternalError); 00148 00150 virtual void federateSaveBegun () 00151 throw (rti1516::SaveNotInitiated, 00152 rti1516::FederateNotExecutionMember, 00153 rti1516::RestoreInProgress, 00154 rti1516::RTIinternalError); 00155 00157 00158 virtual void federateSaveComplete () 00159 throw (rti1516::FederateHasNotBegunSave, 00160 rti1516::FederateNotExecutionMember, 00161 rti1516::RestoreInProgress, 00162 rti1516::RTIinternalError); 00163 00164 virtual void federateSaveNotComplete() 00165 throw (rti1516::FederateHasNotBegunSave, 00166 rti1516::FederateNotExecutionMember, 00167 rti1516::RestoreInProgress, 00168 rti1516::RTIinternalError); 00170 00172 virtual void queryFederationSaveStatus () 00173 throw (rti1516::FederateNotExecutionMember, 00174 rti1516::RestoreInProgress, 00175 rti1516::RTIinternalError); 00176 00178 virtual void requestFederationRestore 00179 (std::wstring const & label) 00180 throw (rti1516::FederateNotExecutionMember, 00181 rti1516::SaveInProgress, 00182 rti1516::RestoreInProgress, 00183 rti1516::RTIinternalError); 00184 00186 00187 virtual void federateRestoreComplete () 00188 throw (rti1516::RestoreNotRequested, 00189 rti1516::FederateNotExecutionMember, 00190 rti1516::SaveInProgress, 00191 rti1516::RTIinternalError); 00192 00193 virtual void federateRestoreNotComplete () 00194 throw (rti1516::RestoreNotRequested, 00195 rti1516::FederateNotExecutionMember, 00196 rti1516::SaveInProgress, 00197 rti1516::RTIinternalError); 00199 00201 virtual void queryFederationRestoreStatus () 00202 throw (rti1516::FederateNotExecutionMember, 00203 rti1516::SaveInProgress, 00204 rti1516::RTIinternalError); 00205 00209 00211 virtual void publishObjectClassAttributes 00212 (rti1516::ObjectClassHandle theClass, 00213 rti1516::AttributeHandleSet const & attributeList) 00214 throw (rti1516::ObjectClassNotDefined, 00215 rti1516::AttributeNotDefined, 00216 rti1516::FederateNotExecutionMember, 00217 rti1516::SaveInProgress, 00218 rti1516::RestoreInProgress, 00219 rti1516::RTIinternalError); 00220 00222 00223 virtual void unpublishObjectClass 00224 (rti1516::ObjectClassHandle theClass) 00225 throw (rti1516::ObjectClassNotDefined, 00226 rti1516::OwnershipAcquisitionPending, 00227 rti1516::FederateNotExecutionMember, 00228 rti1516::SaveInProgress, 00229 rti1516::RestoreInProgress, 00230 rti1516::RTIinternalError); 00231 00232 virtual void unpublishObjectClassAttributes 00233 (rti1516::ObjectClassHandle theClass, 00234 rti1516::AttributeHandleSet const & attributeList) 00235 throw (rti1516::ObjectClassNotDefined, 00236 rti1516::AttributeNotDefined, 00237 rti1516::OwnershipAcquisitionPending, 00238 rti1516::FederateNotExecutionMember, 00239 rti1516::SaveInProgress, 00240 rti1516::RestoreInProgress, 00241 rti1516::RTIinternalError); 00243 00245 virtual void publishInteractionClass 00246 (rti1516::InteractionClassHandle theInteraction) 00247 throw (rti1516::InteractionClassNotDefined, 00248 rti1516::FederateNotExecutionMember, 00249 rti1516::SaveInProgress, 00250 rti1516::RestoreInProgress, 00251 rti1516::RTIinternalError); 00252 00254 virtual void unpublishInteractionClass 00255 (rti1516::InteractionClassHandle theInteraction) 00256 throw (rti1516::InteractionClassNotDefined, 00257 rti1516::FederateNotExecutionMember, 00258 rti1516::SaveInProgress, 00259 rti1516::RestoreInProgress, 00260 rti1516::RTIinternalError); 00261 00263 virtual void subscribeObjectClassAttributes 00264 (rti1516::ObjectClassHandle theClass, 00265 rti1516::AttributeHandleSet const & attributeList, 00266 bool active = true) 00267 throw (rti1516::ObjectClassNotDefined, 00268 rti1516::AttributeNotDefined, 00269 rti1516::FederateNotExecutionMember, 00270 rti1516::SaveInProgress, 00271 rti1516::RestoreInProgress, 00272 rti1516::RTIinternalError); 00273 00275 00276 virtual void unsubscribeObjectClass 00277 (rti1516::ObjectClassHandle theClass) 00278 throw (rti1516::ObjectClassNotDefined, 00279 rti1516::FederateNotExecutionMember, 00280 rti1516::SaveInProgress, 00281 rti1516::RestoreInProgress, 00282 rti1516::RTIinternalError); 00283 00284 virtual void unsubscribeObjectClassAttributes 00285 (rti1516::ObjectClassHandle theClass, 00286 rti1516::AttributeHandleSet const & attributeList) 00287 throw (rti1516::ObjectClassNotDefined, 00288 rti1516::AttributeNotDefined, 00289 rti1516::FederateNotExecutionMember, 00290 rti1516::SaveInProgress, 00291 rti1516::RestoreInProgress, 00292 rti1516::RTIinternalError); 00294 00296 virtual void subscribeInteractionClass 00297 (rti1516::InteractionClassHandle theClass, 00298 bool active = true) 00299 throw (rti1516::InteractionClassNotDefined, 00300 rti1516::FederateServiceInvocationsAreBeingReportedViaMOM, 00301 rti1516::FederateNotExecutionMember, 00302 rti1516::SaveInProgress, 00303 rti1516::RestoreInProgress, 00304 rti1516::RTIinternalError); 00305 00307 virtual void unsubscribeInteractionClass 00308 (rti1516::InteractionClassHandle theClass) 00309 throw (rti1516::InteractionClassNotDefined, 00310 rti1516::FederateNotExecutionMember, 00311 rti1516::SaveInProgress, 00312 rti1516::RestoreInProgress, 00313 rti1516::RTIinternalError); 00314 00318 00320 virtual void reserveObjectInstanceName 00321 (std::wstring const & theObjectInstanceName) 00322 throw (rti1516::IllegalName, 00323 rti1516::FederateNotExecutionMember, 00324 rti1516::SaveInProgress, 00325 rti1516::RestoreInProgress, 00326 rti1516::RTIinternalError); 00327 00329 00330 virtual rti1516::ObjectInstanceHandle registerObjectInstance 00331 (rti1516::ObjectClassHandle theClass) 00332 throw (rti1516::ObjectClassNotDefined, 00333 rti1516::ObjectClassNotPublished, 00334 rti1516::FederateNotExecutionMember, 00335 rti1516::SaveInProgress, 00336 rti1516::RestoreInProgress, 00337 rti1516::RTIinternalError); 00338 00339 virtual rti1516::ObjectInstanceHandle registerObjectInstance 00340 (rti1516::ObjectClassHandle theClass, 00341 std::wstring const & theObjectInstanceName) 00342 throw (rti1516::ObjectClassNotDefined, 00343 rti1516::ObjectClassNotPublished, 00344 rti1516::ObjectInstanceNameNotReserved, 00345 rti1516::ObjectInstanceNameInUse, 00346 rti1516::FederateNotExecutionMember, 00347 rti1516::SaveInProgress, 00348 rti1516::RestoreInProgress, 00349 rti1516::RTIinternalError); 00351 00353 00354 virtual void updateAttributeValues 00355 (rti1516::ObjectInstanceHandle theObject, 00356 rti1516::AttributeHandleValueMap const & theAttributeValues, 00357 rti1516::VariableLengthData const & theUserSuppliedTag) 00358 throw (rti1516::ObjectInstanceNotKnown, 00359 rti1516::AttributeNotDefined, 00360 rti1516::AttributeNotOwned, 00361 rti1516::FederateNotExecutionMember, 00362 rti1516::SaveInProgress, 00363 rti1516::RestoreInProgress, 00364 rti1516::RTIinternalError); 00365 00366 virtual rti1516::MessageRetractionHandle updateAttributeValues 00367 (rti1516::ObjectInstanceHandle theObject, 00368 rti1516::AttributeHandleValueMap const & theAttributeValues, 00369 rti1516::VariableLengthData const & theUserSuppliedTag, 00370 rti1516::LogicalTime const & theTime) 00371 throw (rti1516::ObjectInstanceNotKnown, 00372 rti1516::AttributeNotDefined, 00373 rti1516::AttributeNotOwned, 00374 rti1516::InvalidLogicalTime, 00375 rti1516::FederateNotExecutionMember, 00376 rti1516::SaveInProgress, 00377 rti1516::RestoreInProgress, 00378 rti1516::RTIinternalError); 00380 00382 00383 virtual void sendInteraction 00384 (rti1516::InteractionClassHandle theInteraction, 00385 rti1516::ParameterHandleValueMap const & theParameterValues, 00386 rti1516::VariableLengthData const & theUserSuppliedTag) 00387 throw (rti1516::InteractionClassNotPublished, 00388 rti1516::InteractionClassNotDefined, 00389 rti1516::InteractionParameterNotDefined, 00390 rti1516::FederateNotExecutionMember, 00391 rti1516::SaveInProgress, 00392 rti1516::RestoreInProgress, 00393 rti1516::RTIinternalError); 00394 00395 virtual rti1516::MessageRetractionHandle sendInteraction 00396 (rti1516::InteractionClassHandle theInteraction, 00397 rti1516::ParameterHandleValueMap const & theParameterValues, 00398 rti1516::VariableLengthData const & theUserSuppliedTag, 00399 rti1516::LogicalTime const & theTime) 00400 throw (rti1516::InteractionClassNotPublished, 00401 rti1516::InteractionClassNotDefined, 00402 rti1516::InteractionParameterNotDefined, 00403 rti1516::InvalidLogicalTime, 00404 rti1516::FederateNotExecutionMember, 00405 rti1516::SaveInProgress, 00406 rti1516::RestoreInProgress, 00407 rti1516::RTIinternalError); 00409 00411 00412 virtual void deleteObjectInstance 00413 (rti1516::ObjectInstanceHandle theObject, 00414 rti1516::VariableLengthData const & theUserSuppliedTag) 00415 throw (rti1516::DeletePrivilegeNotHeld, 00416 rti1516::ObjectInstanceNotKnown, 00417 rti1516::FederateNotExecutionMember, 00418 rti1516::SaveInProgress, 00419 rti1516::RestoreInProgress, 00420 rti1516::RTIinternalError); 00421 00422 virtual rti1516::MessageRetractionHandle deleteObjectInstance 00423 (rti1516::ObjectInstanceHandle theObject, 00424 rti1516::VariableLengthData const & theUserSuppliedTag, 00425 rti1516::LogicalTime const & theTime) 00426 throw (rti1516::DeletePrivilegeNotHeld, 00427 rti1516::ObjectInstanceNotKnown, 00428 rti1516::InvalidLogicalTime, 00429 rti1516::FederateNotExecutionMember, 00430 rti1516::SaveInProgress, 00431 rti1516::RestoreInProgress, 00432 rti1516::RTIinternalError); 00434 00436 virtual void localDeleteObjectInstance 00437 (rti1516::ObjectInstanceHandle theObject) 00438 throw (rti1516::ObjectInstanceNotKnown, 00439 rti1516::FederateOwnsAttributes, 00440 rti1516::OwnershipAcquisitionPending, 00441 rti1516::FederateNotExecutionMember, 00442 rti1516::SaveInProgress, 00443 rti1516::RestoreInProgress, 00444 rti1516::RTIinternalError); 00445 00447 virtual void changeAttributeTransportationType 00448 (rti1516::ObjectInstanceHandle theObject, 00449 rti1516::AttributeHandleSet const & theAttributes, 00450 rti1516::TransportationType theType) 00451 throw (rti1516::ObjectInstanceNotKnown, 00452 rti1516::AttributeNotDefined, 00453 rti1516::AttributeNotOwned, 00454 rti1516::FederateNotExecutionMember, 00455 rti1516::SaveInProgress, 00456 rti1516::RestoreInProgress, 00457 rti1516::RTIinternalError); 00458 00460 virtual void changeInteractionTransportationType 00461 (rti1516::InteractionClassHandle theClass, 00462 rti1516::TransportationType theType) 00463 throw (rti1516::InteractionClassNotDefined, 00464 rti1516::InteractionClassNotPublished, 00465 rti1516::FederateNotExecutionMember, 00466 rti1516::SaveInProgress, 00467 rti1516::RestoreInProgress, 00468 rti1516::RTIinternalError); 00469 00471 00472 virtual void requestAttributeValueUpdate 00473 (rti1516::ObjectInstanceHandle theObject, 00474 rti1516::AttributeHandleSet const & theAttributes, 00475 rti1516::VariableLengthData const & theUserSuppliedTag) 00476 throw (rti1516::ObjectInstanceNotKnown, 00477 rti1516::AttributeNotDefined, 00478 rti1516::FederateNotExecutionMember, 00479 rti1516::SaveInProgress, 00480 rti1516::RestoreInProgress, 00481 rti1516::RTIinternalError); 00482 00483 virtual void requestAttributeValueUpdate 00484 (rti1516::ObjectClassHandle theClass, 00485 rti1516::AttributeHandleSet const & theAttributes, 00486 rti1516::VariableLengthData const & theUserSuppliedTag) 00487 throw (rti1516::ObjectClassNotDefined, 00488 rti1516::AttributeNotDefined, 00489 rti1516::FederateNotExecutionMember, 00490 rti1516::SaveInProgress, 00491 rti1516::RestoreInProgress, 00492 rti1516::RTIinternalError); 00494 00499 virtual void unconditionalAttributeOwnershipDivestiture 00500 (rti1516::ObjectInstanceHandle theObject, 00501 rti1516::AttributeHandleSet const & theAttributes) 00502 throw (rti1516::ObjectInstanceNotKnown, 00503 rti1516::AttributeNotDefined, 00504 rti1516::AttributeNotOwned, 00505 rti1516::FederateNotExecutionMember, 00506 rti1516::SaveInProgress, 00507 rti1516::RestoreInProgress, 00508 rti1516::RTIinternalError); 00509 00511 virtual void negotiatedAttributeOwnershipDivestiture 00512 (rti1516::ObjectInstanceHandle theObject, 00513 rti1516::AttributeHandleSet const & theAttributes, 00514 rti1516::VariableLengthData const & theUserSuppliedTag) 00515 throw (rti1516::ObjectInstanceNotKnown, 00516 rti1516::AttributeNotDefined, 00517 rti1516::AttributeNotOwned, 00518 rti1516::AttributeAlreadyBeingDivested, 00519 rti1516::FederateNotExecutionMember, 00520 rti1516::SaveInProgress, 00521 rti1516::RestoreInProgress, 00522 rti1516::RTIinternalError); 00523 00525 virtual void confirmDivestiture 00526 (rti1516::ObjectInstanceHandle theObject, 00527 rti1516::AttributeHandleSet const & confirmedAttributes, 00528 rti1516::VariableLengthData const & theUserSuppliedTag) 00529 throw (rti1516::ObjectInstanceNotKnown, 00530 rti1516::AttributeNotDefined, 00531 rti1516::AttributeNotOwned, 00532 rti1516::AttributeDivestitureWasNotRequested, 00533 rti1516::NoAcquisitionPending, 00534 rti1516::FederateNotExecutionMember, 00535 rti1516::SaveInProgress, 00536 rti1516::RestoreInProgress, 00537 rti1516::RTIinternalError); 00538 00540 virtual void attributeOwnershipAcquisition 00541 (rti1516::ObjectInstanceHandle theObject, 00542 rti1516::AttributeHandleSet const & desiredAttributes, 00543 rti1516::VariableLengthData const & theUserSuppliedTag) 00544 throw (rti1516::ObjectInstanceNotKnown, 00545 rti1516::ObjectClassNotPublished, 00546 rti1516::AttributeNotDefined, 00547 rti1516::AttributeNotPublished, 00548 rti1516::FederateOwnsAttributes, 00549 rti1516::FederateNotExecutionMember, 00550 rti1516::SaveInProgress, 00551 rti1516::RestoreInProgress, 00552 rti1516::RTIinternalError); 00553 00555 virtual void attributeOwnershipAcquisitionIfAvailable 00556 (rti1516::ObjectInstanceHandle theObject, 00557 rti1516::AttributeHandleSet const & desiredAttributes) 00558 throw (rti1516::ObjectInstanceNotKnown, 00559 rti1516::ObjectClassNotPublished, 00560 rti1516::AttributeNotDefined, 00561 rti1516::AttributeNotPublished, 00562 rti1516::FederateOwnsAttributes, 00563 rti1516::AttributeAlreadyBeingAcquired, 00564 rti1516::FederateNotExecutionMember, 00565 rti1516::SaveInProgress, 00566 rti1516::RestoreInProgress, 00567 rti1516::RTIinternalError); 00568 00570 virtual void attributeOwnershipDivestitureIfWanted 00571 (rti1516::ObjectInstanceHandle theObject, 00572 rti1516::AttributeHandleSet const & theAttributes, 00573 rti1516::AttributeHandleSet & theDivestedAttributes) 00574 throw (rti1516::ObjectInstanceNotKnown, 00575 rti1516::AttributeNotDefined, 00576 rti1516::AttributeNotOwned, 00577 rti1516::FederateNotExecutionMember, 00578 rti1516::SaveInProgress, 00579 rti1516::RestoreInProgress, 00580 rti1516::RTIinternalError); 00581 00583 virtual void cancelNegotiatedAttributeOwnershipDivestiture 00584 (rti1516::ObjectInstanceHandle theObject, 00585 rti1516::AttributeHandleSet const & theAttributes) 00586 throw (rti1516::ObjectInstanceNotKnown, 00587 rti1516::AttributeNotDefined, 00588 rti1516::AttributeNotOwned, 00589 rti1516::AttributeDivestitureWasNotRequested, 00590 rti1516::FederateNotExecutionMember, 00591 rti1516::SaveInProgress, 00592 rti1516::RestoreInProgress, 00593 rti1516::RTIinternalError); 00594 00596 virtual void cancelAttributeOwnershipAcquisition 00597 (rti1516::ObjectInstanceHandle theObject, 00598 rti1516::AttributeHandleSet const & theAttributes) 00599 throw (rti1516::ObjectInstanceNotKnown, 00600 rti1516::AttributeNotDefined, 00601 rti1516::AttributeAlreadyOwned, 00602 rti1516::AttributeAcquisitionWasNotRequested, 00603 rti1516::FederateNotExecutionMember, 00604 rti1516::SaveInProgress, 00605 rti1516::RestoreInProgress, 00606 rti1516::RTIinternalError); 00607 00609 virtual void queryAttributeOwnership 00610 (rti1516::ObjectInstanceHandle theObject, 00611 rti1516::AttributeHandle theAttribute) 00612 throw (rti1516::ObjectInstanceNotKnown, 00613 rti1516::AttributeNotDefined, 00614 rti1516::FederateNotExecutionMember, 00615 rti1516::SaveInProgress, 00616 rti1516::RestoreInProgress, 00617 rti1516::RTIinternalError); 00618 00620 virtual bool isAttributeOwnedByFederate 00621 (rti1516::ObjectInstanceHandle theObject, 00622 rti1516::AttributeHandle theAttribute) 00623 throw (rti1516::ObjectInstanceNotKnown, 00624 rti1516::AttributeNotDefined, 00625 rti1516::FederateNotExecutionMember, 00626 rti1516::SaveInProgress, 00627 rti1516::RestoreInProgress, 00628 rti1516::RTIinternalError); 00629 00633 00635 virtual void enableTimeRegulation 00636 (rti1516::LogicalTimeInterval const & theLookahead) 00637 throw (rti1516::TimeRegulationAlreadyEnabled, 00638 rti1516::InvalidLookahead, 00639 rti1516::InTimeAdvancingState, 00640 rti1516::RequestForTimeRegulationPending, 00641 rti1516::FederateNotExecutionMember, 00642 rti1516::SaveInProgress, 00643 rti1516::RestoreInProgress, 00644 rti1516::RTIinternalError); 00645 00647 virtual void disableTimeRegulation () 00648 throw (rti1516::TimeRegulationIsNotEnabled, 00649 rti1516::FederateNotExecutionMember, 00650 rti1516::SaveInProgress, 00651 rti1516::RestoreInProgress, 00652 rti1516::RTIinternalError); 00653 00655 virtual void enableTimeConstrained () 00656 throw (rti1516::TimeConstrainedAlreadyEnabled, 00657 rti1516::InTimeAdvancingState, 00658 rti1516::RequestForTimeConstrainedPending, 00659 rti1516::FederateNotExecutionMember, 00660 rti1516::SaveInProgress, 00661 rti1516::RestoreInProgress, 00662 rti1516::RTIinternalError); 00663 00665 virtual void disableTimeConstrained () 00666 throw (rti1516::TimeConstrainedIsNotEnabled, 00667 rti1516::FederateNotExecutionMember, 00668 rti1516::SaveInProgress, 00669 rti1516::RestoreInProgress, 00670 rti1516::RTIinternalError); 00671 00673 virtual void timeAdvanceRequest 00674 (rti1516::LogicalTime const & theTime) 00675 throw (rti1516::InvalidLogicalTime, 00676 rti1516::LogicalTimeAlreadyPassed, 00677 rti1516::InTimeAdvancingState, 00678 rti1516::RequestForTimeRegulationPending, 00679 rti1516::RequestForTimeConstrainedPending, 00680 rti1516::FederateNotExecutionMember, 00681 rti1516::SaveInProgress, 00682 rti1516::RestoreInProgress, 00683 rti1516::RTIinternalError); 00684 00686 virtual void timeAdvanceRequestAvailable 00687 (rti1516::LogicalTime const & theTime) 00688 throw (rti1516::InvalidLogicalTime, 00689 rti1516::LogicalTimeAlreadyPassed, 00690 rti1516::InTimeAdvancingState, 00691 rti1516::RequestForTimeRegulationPending, 00692 rti1516::RequestForTimeConstrainedPending, 00693 rti1516::FederateNotExecutionMember, 00694 rti1516::SaveInProgress, 00695 rti1516::RestoreInProgress, 00696 rti1516::RTIinternalError); 00697 00699 virtual void nextMessageRequest 00700 (rti1516::LogicalTime const & theTime) 00701 throw (rti1516::InvalidLogicalTime, 00702 rti1516::LogicalTimeAlreadyPassed, 00703 rti1516::InTimeAdvancingState, 00704 rti1516::RequestForTimeRegulationPending, 00705 rti1516::RequestForTimeConstrainedPending, 00706 rti1516::FederateNotExecutionMember, 00707 rti1516::SaveInProgress, 00708 rti1516::RestoreInProgress, 00709 rti1516::RTIinternalError); 00710 00712 virtual void nextMessageRequestAvailable 00713 (rti1516::LogicalTime const & theTime) 00714 throw (rti1516::InvalidLogicalTime, 00715 rti1516::LogicalTimeAlreadyPassed, 00716 rti1516::InTimeAdvancingState, 00717 rti1516::RequestForTimeRegulationPending, 00718 rti1516::RequestForTimeConstrainedPending, 00719 rti1516::FederateNotExecutionMember, 00720 rti1516::SaveInProgress, 00721 rti1516::RestoreInProgress, 00722 rti1516::RTIinternalError); 00723 00725 virtual void flushQueueRequest 00726 (rti1516::LogicalTime const & theTime) 00727 throw (rti1516::InvalidLogicalTime, 00728 rti1516::LogicalTimeAlreadyPassed, 00729 rti1516::InTimeAdvancingState, 00730 rti1516::RequestForTimeRegulationPending, 00731 rti1516::RequestForTimeConstrainedPending, 00732 rti1516::FederateNotExecutionMember, 00733 rti1516::SaveInProgress, 00734 rti1516::RestoreInProgress, 00735 rti1516::RTIinternalError); 00736 00738 virtual void enableAsynchronousDelivery () 00739 throw (rti1516::AsynchronousDeliveryAlreadyEnabled, 00740 rti1516::FederateNotExecutionMember, 00741 rti1516::SaveInProgress, 00742 rti1516::RestoreInProgress, 00743 rti1516::RTIinternalError); 00744 00746 virtual void disableAsynchronousDelivery () 00747 throw (rti1516::AsynchronousDeliveryAlreadyDisabled, 00748 rti1516::FederateNotExecutionMember, 00749 rti1516::SaveInProgress, 00750 rti1516::RestoreInProgress, 00751 rti1516::RTIinternalError); 00752 00754 virtual bool queryGALT (rti1516::LogicalTime & theTime) 00755 throw (rti1516::FederateNotExecutionMember, 00756 rti1516::SaveInProgress, 00757 rti1516::RestoreInProgress, 00758 rti1516::RTIinternalError); 00759 00761 virtual void queryLogicalTime (rti1516::LogicalTime & theTime) 00762 throw (rti1516::FederateNotExecutionMember, 00763 rti1516::SaveInProgress, 00764 rti1516::RestoreInProgress, 00765 rti1516::RTIinternalError); 00766 00768 virtual bool queryLITS (rti1516::LogicalTime & theTime) 00769 throw (rti1516::FederateNotExecutionMember, 00770 rti1516::SaveInProgress, 00771 rti1516::RestoreInProgress, 00772 rti1516::RTIinternalError); 00773 00775 virtual void modifyLookahead 00776 (rti1516::LogicalTimeInterval const & theLookahead) 00777 throw (rti1516::TimeRegulationIsNotEnabled, 00778 rti1516::InvalidLookahead, 00779 rti1516::InTimeAdvancingState, 00780 rti1516::FederateNotExecutionMember, 00781 rti1516::SaveInProgress, 00782 rti1516::RestoreInProgress, 00783 rti1516::RTIinternalError); 00784 00786 virtual void queryLookahead (rti1516::LogicalTimeInterval & interval) 00787 throw (rti1516::TimeRegulationIsNotEnabled, 00788 rti1516::FederateNotExecutionMember, 00789 rti1516::SaveInProgress, 00790 rti1516::RestoreInProgress, 00791 rti1516::RTIinternalError); 00792 00794 virtual void retract 00795 (rti1516::MessageRetractionHandle theHandle) 00796 throw (rti1516::InvalidRetractionHandle, 00797 rti1516::TimeRegulationIsNotEnabled, 00798 rti1516::MessageCanNoLongerBeRetracted, 00799 rti1516::FederateNotExecutionMember, 00800 rti1516::SaveInProgress, 00801 rti1516::RestoreInProgress, 00802 rti1516::RTIinternalError); 00803 00805 virtual void changeAttributeOrderType 00806 (rti1516::ObjectInstanceHandle theObject, 00807 rti1516::AttributeHandleSet const & theAttributes, 00808 rti1516::OrderType theType) 00809 throw (rti1516::ObjectInstanceNotKnown, 00810 rti1516::AttributeNotDefined, 00811 rti1516::AttributeNotOwned, 00812 rti1516::FederateNotExecutionMember, 00813 rti1516::SaveInProgress, 00814 rti1516::RestoreInProgress, 00815 rti1516::RTIinternalError); 00816 00818 virtual void changeInteractionOrderType 00819 (rti1516::InteractionClassHandle theClass, 00820 rti1516::OrderType theType) 00821 throw (rti1516::InteractionClassNotDefined, 00822 rti1516::InteractionClassNotPublished, 00823 rti1516::FederateNotExecutionMember, 00824 rti1516::SaveInProgress, 00825 rti1516::RestoreInProgress, 00826 rti1516::RTIinternalError); 00827 00831 00833 virtual rti1516::RegionHandle createRegion 00834 (rti1516::DimensionHandleSet const & theDimensions) 00835 throw (rti1516::InvalidDimensionHandle, 00836 rti1516::FederateNotExecutionMember, 00837 rti1516::SaveInProgress, 00838 rti1516::RestoreInProgress, 00839 rti1516::RTIinternalError); 00840 00842 virtual void commitRegionModifications 00843 (rti1516::RegionHandleSet const & theRegionHandleSet) 00844 throw (rti1516::InvalidRegion, 00845 rti1516::RegionNotCreatedByThisFederate, 00846 rti1516::FederateNotExecutionMember, 00847 rti1516::SaveInProgress, 00848 rti1516::RestoreInProgress, 00849 rti1516::RTIinternalError); 00850 00852 virtual void deleteRegion 00853 (rti1516::RegionHandle theRegion) 00854 throw (rti1516::InvalidRegion, 00855 rti1516::RegionNotCreatedByThisFederate, 00856 rti1516::RegionInUseForUpdateOrSubscription, 00857 rti1516::FederateNotExecutionMember, 00858 rti1516::SaveInProgress, 00859 rti1516::RestoreInProgress, 00860 rti1516::RTIinternalError); 00861 00863 00864 virtual rti1516::ObjectInstanceHandle registerObjectInstanceWithRegions 00865 (rti1516::ObjectClassHandle theClass, 00866 rti1516::AttributeHandleSetRegionHandleSetPairVector const & 00867 theAttributeHandleSetRegionHandleSetPairVector) 00868 throw (rti1516::ObjectClassNotDefined, 00869 rti1516::ObjectClassNotPublished, 00870 rti1516::AttributeNotDefined, 00871 rti1516::AttributeNotPublished, 00872 rti1516::InvalidRegion, 00873 rti1516::RegionNotCreatedByThisFederate, 00874 rti1516::InvalidRegionContext, 00875 rti1516::FederateNotExecutionMember, 00876 rti1516::SaveInProgress, 00877 rti1516::RestoreInProgress, 00878 rti1516::RTIinternalError); 00879 00880 virtual rti1516::ObjectInstanceHandle registerObjectInstanceWithRegions 00881 (rti1516::ObjectClassHandle theClass, 00882 rti1516::AttributeHandleSetRegionHandleSetPairVector const & 00883 theAttributeHandleSetRegionHandleSetPairVector, 00884 std::wstring const & theObjectInstanceName) 00885 throw (rti1516::ObjectClassNotDefined, 00886 rti1516::ObjectClassNotPublished, 00887 rti1516::AttributeNotDefined, 00888 rti1516::AttributeNotPublished, 00889 rti1516::InvalidRegion, 00890 rti1516::RegionNotCreatedByThisFederate, 00891 rti1516::InvalidRegionContext, 00892 rti1516::ObjectInstanceNameNotReserved, 00893 rti1516::ObjectInstanceNameInUse, 00894 rti1516::FederateNotExecutionMember, 00895 rti1516::SaveInProgress, 00896 rti1516::RestoreInProgress, 00897 rti1516::RTIinternalError); 00899 00901 virtual void associateRegionsForUpdates 00902 (rti1516::ObjectInstanceHandle theObject, 00903 rti1516::AttributeHandleSetRegionHandleSetPairVector const & 00904 theAttributeHandleSetRegionHandleSetPairVector) 00905 throw (rti1516::ObjectInstanceNotKnown, 00906 rti1516::AttributeNotDefined, 00907 rti1516::InvalidRegion, 00908 rti1516::RegionNotCreatedByThisFederate, 00909 rti1516::InvalidRegionContext, 00910 rti1516::FederateNotExecutionMember, 00911 rti1516::SaveInProgress, 00912 rti1516::RestoreInProgress, 00913 rti1516::RTIinternalError); 00914 00916 virtual void unassociateRegionsForUpdates 00917 (rti1516::ObjectInstanceHandle theObject, 00918 rti1516::AttributeHandleSetRegionHandleSetPairVector const & 00919 theAttributeHandleSetRegionHandleSetPairVector) 00920 throw (rti1516::ObjectInstanceNotKnown, 00921 rti1516::AttributeNotDefined, 00922 rti1516::InvalidRegion, 00923 rti1516::RegionNotCreatedByThisFederate, 00924 rti1516::FederateNotExecutionMember, 00925 rti1516::SaveInProgress, 00926 rti1516::RestoreInProgress, 00927 rti1516::RTIinternalError); 00928 00930 virtual void subscribeObjectClassAttributesWithRegions 00931 (rti1516::ObjectClassHandle theClass, 00932 rti1516::AttributeHandleSetRegionHandleSetPairVector const & 00933 theAttributeHandleSetRegionHandleSetPairVector, 00934 bool active = true) 00935 throw (rti1516::ObjectClassNotDefined, 00936 rti1516::AttributeNotDefined, 00937 rti1516::InvalidRegion, 00938 rti1516::RegionNotCreatedByThisFederate, 00939 rti1516::InvalidRegionContext, 00940 rti1516::FederateNotExecutionMember, 00941 rti1516::SaveInProgress, 00942 rti1516::RestoreInProgress, 00943 rti1516::RTIinternalError); 00944 00946 virtual void unsubscribeObjectClassAttributesWithRegions 00947 (rti1516::ObjectClassHandle theClass, 00948 rti1516::AttributeHandleSetRegionHandleSetPairVector const & 00949 theAttributeHandleSetRegionHandleSetPairVector) 00950 throw (rti1516::ObjectClassNotDefined, 00951 rti1516::AttributeNotDefined, 00952 rti1516::InvalidRegion, 00953 rti1516::RegionNotCreatedByThisFederate, 00954 rti1516::FederateNotExecutionMember, 00955 rti1516::SaveInProgress, 00956 rti1516::RestoreInProgress, 00957 rti1516::RTIinternalError); 00958 00960 virtual void subscribeInteractionClassWithRegions 00961 (rti1516::InteractionClassHandle theClass, 00962 rti1516::RegionHandleSet const & theRegionHandleSet, 00963 bool active = true) 00964 throw (rti1516::InteractionClassNotDefined, 00965 rti1516::InvalidRegion, 00966 rti1516::RegionNotCreatedByThisFederate, 00967 rti1516::InvalidRegionContext, 00968 rti1516::FederateServiceInvocationsAreBeingReportedViaMOM, 00969 rti1516::FederateNotExecutionMember, 00970 rti1516::SaveInProgress, 00971 rti1516::RestoreInProgress, 00972 rti1516::RTIinternalError); 00973 00975 virtual void unsubscribeInteractionClassWithRegions 00976 (rti1516::InteractionClassHandle theClass, 00977 rti1516::RegionHandleSet const & theRegionHandleSet) 00978 throw (rti1516::InteractionClassNotDefined, 00979 rti1516::InvalidRegion, 00980 rti1516::RegionNotCreatedByThisFederate, 00981 rti1516::FederateNotExecutionMember, 00982 rti1516::SaveInProgress, 00983 rti1516::RestoreInProgress, 00984 rti1516::RTIinternalError); 00985 00987 00988 virtual void sendInteractionWithRegions 00989 (rti1516::InteractionClassHandle theInteraction, 00990 rti1516::ParameterHandleValueMap const & theParameterValues, 00991 rti1516::RegionHandleSet const & theRegionHandleSet, 00992 rti1516::VariableLengthData const & theUserSuppliedTag) 00993 throw (rti1516::InteractionClassNotDefined, 00994 rti1516::InteractionClassNotPublished, 00995 rti1516::InteractionParameterNotDefined, 00996 rti1516::InvalidRegion, 00997 rti1516::RegionNotCreatedByThisFederate, 00998 rti1516::InvalidRegionContext, 00999 rti1516::FederateNotExecutionMember, 01000 rti1516::SaveInProgress, 01001 rti1516::RestoreInProgress, 01002 rti1516::RTIinternalError); 01003 01004 virtual rti1516::MessageRetractionHandle sendInteractionWithRegions 01005 (rti1516::InteractionClassHandle theInteraction, 01006 rti1516::ParameterHandleValueMap const & theParameterValues, 01007 rti1516::RegionHandleSet const & theRegionHandleSet, 01008 rti1516::VariableLengthData const & theUserSuppliedTag, 01009 rti1516::LogicalTime const & theTime) 01010 throw (rti1516::InteractionClassNotDefined, 01011 rti1516::InteractionClassNotPublished, 01012 rti1516::InteractionParameterNotDefined, 01013 rti1516::InvalidRegion, 01014 rti1516::RegionNotCreatedByThisFederate, 01015 rti1516::InvalidRegionContext, 01016 rti1516::InvalidLogicalTime, 01017 rti1516::FederateNotExecutionMember, 01018 rti1516::SaveInProgress, 01019 rti1516::RestoreInProgress, 01020 rti1516::RTIinternalError); 01022 01024 virtual void requestAttributeValueUpdateWithRegions 01025 (rti1516::ObjectClassHandle theClass, 01026 rti1516::AttributeHandleSetRegionHandleSetPairVector const & theSet, 01027 rti1516::VariableLengthData const & theUserSuppliedTag) 01028 throw (rti1516::ObjectClassNotDefined, 01029 rti1516::AttributeNotDefined, 01030 rti1516::InvalidRegion, 01031 rti1516::RegionNotCreatedByThisFederate, 01032 rti1516::InvalidRegionContext, 01033 rti1516::FederateNotExecutionMember, 01034 rti1516::SaveInProgress, 01035 rti1516::RestoreInProgress, 01036 rti1516::RTIinternalError); 01037 01041 01043 virtual rti1516::ObjectClassHandle getObjectClassHandle 01044 (std::wstring const & theName) 01045 throw (rti1516::NameNotFound, 01046 rti1516::FederateNotExecutionMember, 01047 rti1516::RTIinternalError); 01048 01050 virtual std::wstring getObjectClassName 01051 (rti1516::ObjectClassHandle theHandle) 01052 throw (rti1516::InvalidObjectClassHandle, 01053 rti1516::FederateNotExecutionMember, 01054 rti1516::RTIinternalError); 01055 01057 virtual rti1516::AttributeHandle getAttributeHandle 01058 (rti1516::ObjectClassHandle whichClass, 01059 std::wstring const & theAttributeName) 01060 throw (rti1516::InvalidObjectClassHandle, 01061 rti1516::NameNotFound, 01062 rti1516::FederateNotExecutionMember, 01063 rti1516::RTIinternalError); 01064 01066 virtual std::wstring getAttributeName 01067 (rti1516::ObjectClassHandle whichClass, 01068 rti1516::AttributeHandle theHandle) 01069 throw (rti1516::InvalidObjectClassHandle, 01070 rti1516::InvalidAttributeHandle, 01071 rti1516::AttributeNotDefined, 01072 rti1516::FederateNotExecutionMember, 01073 rti1516::RTIinternalError); 01074 01076 virtual rti1516::InteractionClassHandle getInteractionClassHandle 01077 (std::wstring const & theName) 01078 throw (rti1516::NameNotFound, 01079 rti1516::FederateNotExecutionMember, 01080 rti1516::RTIinternalError); 01081 01083 virtual std::wstring getInteractionClassName 01084 (rti1516::InteractionClassHandle theHandle) 01085 throw (rti1516::InvalidInteractionClassHandle, 01086 rti1516::FederateNotExecutionMember, 01087 rti1516::RTIinternalError); 01088 01090 virtual rti1516::ParameterHandle getParameterHandle 01091 (rti1516::InteractionClassHandle whichClass, 01092 std::wstring const & theName) 01093 throw (rti1516::InvalidInteractionClassHandle, 01094 rti1516::NameNotFound, 01095 rti1516::FederateNotExecutionMember, 01096 rti1516::RTIinternalError); 01097 01099 virtual std::wstring getParameterName 01100 (rti1516::InteractionClassHandle whichClass, 01101 rti1516::ParameterHandle theHandle) 01102 throw (rti1516::InvalidInteractionClassHandle, 01103 rti1516::InvalidParameterHandle, 01104 rti1516::InteractionParameterNotDefined, 01105 rti1516::FederateNotExecutionMember, 01106 rti1516::RTIinternalError); 01107 01109 virtual rti1516::ObjectInstanceHandle getObjectInstanceHandle 01110 (std::wstring const & theName) 01111 throw (rti1516::ObjectInstanceNotKnown, 01112 rti1516::FederateNotExecutionMember, 01113 rti1516::RTIinternalError); 01114 01116 virtual std::wstring getObjectInstanceName 01117 (rti1516::ObjectInstanceHandle theHandle) 01118 throw (rti1516::ObjectInstanceNotKnown, 01119 rti1516::FederateNotExecutionMember, 01120 rti1516::RTIinternalError); 01121 01123 virtual rti1516::DimensionHandle getDimensionHandle 01124 (std::wstring const & theName) 01125 throw (rti1516::NameNotFound, 01126 rti1516::FederateNotExecutionMember, 01127 rti1516::RTIinternalError); 01128 01130 virtual std::wstring getDimensionName 01131 (rti1516::DimensionHandle theHandle) 01132 throw (rti1516::InvalidDimensionHandle, 01133 rti1516::FederateNotExecutionMember, 01134 rti1516::RTIinternalError); 01135 01137 virtual unsigned long getDimensionUpperBound 01138 (rti1516::DimensionHandle theHandle) 01139 throw (rti1516::InvalidDimensionHandle, 01140 rti1516::FederateNotExecutionMember, 01141 rti1516::RTIinternalError); 01142 01144 virtual rti1516::DimensionHandleSet getAvailableDimensionsForClassAttribute 01145 (rti1516::ObjectClassHandle theClass, 01146 rti1516::AttributeHandle theHandle) 01147 throw (rti1516::InvalidObjectClassHandle, 01148 rti1516::InvalidAttributeHandle, 01149 rti1516::AttributeNotDefined, 01150 rti1516::FederateNotExecutionMember, 01151 rti1516::RTIinternalError); 01152 01154 virtual rti1516::ObjectClassHandle getKnownObjectClassHandle 01155 (rti1516::ObjectInstanceHandle theObject) 01156 throw (rti1516::ObjectInstanceNotKnown, 01157 rti1516::FederateNotExecutionMember, 01158 rti1516::RTIinternalError); 01159 01161 virtual rti1516::DimensionHandleSet getAvailableDimensionsForInteractionClass 01162 (rti1516::InteractionClassHandle theClass) 01163 throw (rti1516::InvalidInteractionClassHandle, 01164 rti1516::FederateNotExecutionMember, 01165 rti1516::RTIinternalError); 01166 01168 virtual rti1516::TransportationType getTransportationType 01169 (std::wstring const & transportationName) 01170 throw (rti1516::InvalidTransportationName, 01171 rti1516::FederateNotExecutionMember, 01172 rti1516::RTIinternalError); 01173 01175 virtual std::wstring getTransportationName 01176 (rti1516::TransportationType transportationType) 01177 throw (rti1516::InvalidTransportationType, 01178 rti1516::FederateNotExecutionMember, 01179 rti1516::RTIinternalError); 01180 01182 virtual rti1516::OrderType getOrderType 01183 (std::wstring const & orderName) 01184 throw (rti1516::InvalidOrderName, 01185 rti1516::FederateNotExecutionMember, 01186 rti1516::RTIinternalError); 01187 01189 virtual std::wstring getOrderName 01190 (rti1516::OrderType orderType) 01191 throw (rti1516::InvalidOrderType, 01192 rti1516::FederateNotExecutionMember, 01193 rti1516::RTIinternalError); 01194 01196 virtual void enableObjectClassRelevanceAdvisorySwitch () 01197 throw (rti1516::ObjectClassRelevanceAdvisorySwitchIsOn, 01198 rti1516::FederateNotExecutionMember, 01199 rti1516::SaveInProgress, 01200 rti1516::RestoreInProgress, 01201 rti1516::RTIinternalError); 01202 01204 virtual void disableObjectClassRelevanceAdvisorySwitch () 01205 throw (rti1516::ObjectClassRelevanceAdvisorySwitchIsOff, 01206 rti1516::FederateNotExecutionMember, 01207 rti1516::SaveInProgress, 01208 rti1516::RestoreInProgress, 01209 rti1516::RTIinternalError); 01210 01212 virtual void enableAttributeRelevanceAdvisorySwitch () 01213 throw (rti1516::AttributeRelevanceAdvisorySwitchIsOn, 01214 rti1516::FederateNotExecutionMember, 01215 rti1516::SaveInProgress, 01216 rti1516::RestoreInProgress, 01217 rti1516::RTIinternalError); 01218 01220 virtual void disableAttributeRelevanceAdvisorySwitch () 01221 throw (rti1516::AttributeRelevanceAdvisorySwitchIsOff, 01222 rti1516::FederateNotExecutionMember, 01223 rti1516::SaveInProgress, 01224 rti1516::RestoreInProgress, 01225 rti1516::RTIinternalError); 01226 01228 virtual void enableAttributeScopeAdvisorySwitch () 01229 throw (rti1516::AttributeScopeAdvisorySwitchIsOn, 01230 rti1516::FederateNotExecutionMember, 01231 rti1516::SaveInProgress, 01232 rti1516::RestoreInProgress, 01233 rti1516::RTIinternalError); 01234 01236 virtual void disableAttributeScopeAdvisorySwitch () 01237 throw (rti1516::AttributeScopeAdvisorySwitchIsOff, 01238 rti1516::FederateNotExecutionMember, 01239 rti1516::SaveInProgress, 01240 rti1516::RestoreInProgress, 01241 rti1516::RTIinternalError); 01242 01244 virtual void enableInteractionRelevanceAdvisorySwitch () 01245 throw (rti1516::InteractionRelevanceAdvisorySwitchIsOn, 01246 rti1516::FederateNotExecutionMember, 01247 rti1516::SaveInProgress, 01248 rti1516::RestoreInProgress, 01249 rti1516::RTIinternalError); 01250 01252 virtual void disableInteractionRelevanceAdvisorySwitch () 01253 throw (rti1516::InteractionRelevanceAdvisorySwitchIsOff, 01254 rti1516::FederateNotExecutionMember, 01255 rti1516::SaveInProgress, 01256 rti1516::RestoreInProgress, 01257 rti1516::RTIinternalError); 01258 01260 virtual 01261 rti1516::DimensionHandleSet getDimensionHandleSet 01262 (rti1516::RegionHandle theRegionHandle) 01263 throw (rti1516::InvalidRegion, 01264 rti1516::FederateNotExecutionMember, 01265 rti1516::SaveInProgress, 01266 rti1516::RestoreInProgress, 01267 rti1516::RTIinternalError); 01268 01270 virtual 01271 rti1516::RangeBounds getRangeBounds 01272 (rti1516::RegionHandle theRegionHandle, 01273 rti1516::DimensionHandle theDimensionHandle) 01274 throw (rti1516::InvalidRegion, 01275 rti1516::RegionDoesNotContainSpecifiedDimension, 01276 rti1516::FederateNotExecutionMember, 01277 rti1516::SaveInProgress, 01278 rti1516::RestoreInProgress, 01279 rti1516::RTIinternalError); 01280 01282 virtual void setRangeBounds 01283 (rti1516::RegionHandle theRegionHandle, 01284 rti1516::DimensionHandle theDimensionHandle, 01285 rti1516::RangeBounds const & theRangeBounds) 01286 throw (rti1516::InvalidRegion, 01287 rti1516::RegionNotCreatedByThisFederate, 01288 rti1516::RegionDoesNotContainSpecifiedDimension, 01289 rti1516::InvalidRangeBound, 01290 rti1516::FederateNotExecutionMember, 01291 rti1516::SaveInProgress, 01292 rti1516::RestoreInProgress, 01293 rti1516::RTIinternalError); 01294 01296 virtual unsigned long normalizeFederateHandle 01297 (rti1516::FederateHandle theFederateHandle) 01298 throw (rti1516::FederateNotExecutionMember, 01299 rti1516::InvalidFederateHandle, 01300 rti1516::RTIinternalError); 01301 01303 virtual unsigned long normalizeServiceGroup 01304 (rti1516::ServiceGroupIndicator theServiceGroup) 01305 throw (rti1516::FederateNotExecutionMember, 01306 rti1516::InvalidServiceGroup, 01307 rti1516::RTIinternalError); 01308 01310 virtual bool evokeCallback(double approximateMinimumTimeInSeconds, 01311 bool unlockWhileWaiting=false) 01312 throw (rti1516::FederateNotExecutionMember, 01313 rti1516::RTIinternalError); 01314 01316 virtual bool evokeMultipleCallbacks(double approximateMinimumTimeInSeconds, 01317 double approximateMaximumTimeInSeconds, 01318 bool unlockWhileWaiting=false) 01319 throw (rti1516::FederateNotExecutionMember, 01320 rti1516::RTIinternalError); 01321 01323 virtual void enableCallbacks () 01324 throw (rti1516::FederateNotExecutionMember, 01325 rti1516::SaveInProgress, 01326 rti1516::RestoreInProgress, 01327 rti1516::RTIinternalError); 01328 01330 virtual void disableCallbacks () 01331 throw (rti1516::FederateNotExecutionMember, 01332 rti1516::SaveInProgress, 01333 rti1516::RestoreInProgress, 01334 rti1516::RTIinternalError); 01335 01337 01338 virtual rti1516::FederateHandle decodeFederateHandle( 01339 rti1516::VariableLengthData const & encodedValue) const; 01340 01341 virtual rti1516::ObjectClassHandle decodeObjectClassHandle( 01342 rti1516::VariableLengthData const & encodedValue) const; 01343 01344 virtual rti1516::InteractionClassHandle decodeInteractionClassHandle( 01345 rti1516::VariableLengthData const & encodedValue) const; 01346 01347 virtual rti1516::ObjectInstanceHandle decodeObjectInstanceHandle( 01348 rti1516::VariableLengthData const & encodedValue) const; 01349 01350 virtual rti1516::AttributeHandle decodeAttributeHandle( 01351 rti1516::VariableLengthData const & encodedValue) const; 01352 01353 virtual rti1516::ParameterHandle decodeParameterHandle( 01354 rti1516::VariableLengthData const & encodedValue) const; 01355 01356 virtual rti1516::DimensionHandle decodeDimensionHandle( 01357 rti1516::VariableLengthData const & encodedValue) const; 01358 01359 virtual rti1516::MessageRetractionHandle decodeMessageRetractionHandle( 01360 rti1516::VariableLengthData const & encodedValue) const; 01361 01362 virtual rti1516::RegionHandle decodeRegionHandle( 01363 rti1516::VariableLengthData const & encodedValue) const; 01365 01366 01367 //--------------------------------------------------------- 01369 //--------------------------------------------------------- 01370 01371 public: 01372 01376 static DtRtiAmbassadorImplementor* create(rti1516::RTIambassador* topLevelAmbPtr, 01377 const std::vector< std::wstring >& initArgs); 01378 01382 static void setCreatorFunction(DtRtiAmbassadorImplementorCreator creator); 01383 01384 protected: 01385 01387 virtual void throwInternalError(const MAKRti::DtString & errorMessage) const; 01388 01390 virtual void throwNotConnected(const MAKRti::DtString & errorMessage) const; 01391 01393 virtual void throwNotJoined(const MAKRti::DtString & errorMessage) const; 01394 01395 protected: 01396 01398 rti1516::RTIambassador* myTopLevelAmb; 01399 01400 protected: 01401 01403 static DtRtiAmbassadorImplementorCreator theCreator; 01404 01405 }; 01406 01407 #endif //! DtIFSPEC1516