MAK RTIspy API Documentation for HLA Evolved
fedAmbWrap1516.h
Go to the documentation of this file.
00001 /********************************************************************* 
00002 ** Copyright (c) 2003 MaK Technologies, Inc. 
00003 ** All rights reserved. 
00004 *********************************************************************/ 
00005 /********************************************************************* 
00006 ** $RCSfile: fedAmbWrap1516.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *********************************************************************/ 
00008  
00011 
00012 #ifndef DtFedAmbWrapper_H_
00013 #define DtFedAmbWrapper_H_
00014 
00015 #ifdef DtIFSPEC1516
00016 
00018 #include "rtiMsConfig.h"
00019 #include <RTI/NullFederateAmbassador.h>
00020  
00021 
00022 class DtFedAmbWrapper; 
00023  
00024 typedef DtFedAmbWrapper* (*DtFedAmbWrapperCreator)
00025    (rti1516::FederateAmbassador* fedAmb); 
00026 
00033 class DT_DLL_LRC DtFedAmbWrapper : public rti1516::NullFederateAmbassador 
00034 { 
00035 public: 
00036    DtFedAmbWrapper(rti1516::FederateAmbassador* fedAmb):  
00037       rti1516::NullFederateAmbassador(), myFedAmb(fedAmb){} 
00038  
00039    virtual ~DtFedAmbWrapper()
00040       throw() {} 
00041  
00042    virtual rti1516::FederateAmbassador* fedAmb(); 
00043    virtual void setFedAmb(rti1516::FederateAmbassador* f); 
00044  
00045 protected: 
00046    rti1516::FederateAmbassador* myFedAmb; 
00047  
00048 public: 
00049 
00053    
00055     virtual
00056     void
00057     synchronizationPointRegistrationSucceeded(std::wstring const & label)
00058       throw (rti1516::FederateInternalError);
00059 
00060     virtual
00061     void
00062     synchronizationPointRegistrationFailed(std::wstring const & label,
00063                                            rti1516::SynchronizationFailureReason reason)
00064       throw (rti1516::FederateInternalError);
00065 
00067     virtual
00068     void
00069     announceSynchronizationPoint(std::wstring  const & label,
00070                                  rti1516::VariableLengthData const & theUserSuppliedTag)
00071       throw (rti1516::FederateInternalError);
00072 
00074     virtual
00075     void
00076     federationSynchronized(std::wstring const & label)
00077       throw (rti1516::FederateInternalError);
00078 
00080     virtual
00081     void
00082     initiateFederateSave(std::wstring const & label)
00083       throw (rti1516::UnableToPerformSave,
00084              rti1516::FederateInternalError);
00085 
00086     virtual
00087     void
00088     initiateFederateSave(std::wstring const & label,
00089                          rti1516::LogicalTime const & theTime)
00090       throw (rti1516::UnableToPerformSave,
00091              rti1516::InvalidLogicalTime,
00092              rti1516::FederateInternalError);
00093 
00095     virtual
00096     void
00097     federationSaved()
00098       throw (rti1516::FederateInternalError);
00099 
00100     virtual
00101     void
00102     federationNotSaved(rti1516::SaveFailureReason theSaveFailureReason)
00103       throw (rti1516::FederateInternalError);
00104 
00105 
00107     virtual
00108     void
00109     federationSaveStatusResponse(
00110       rti1516::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
00111       throw (rti1516::FederateInternalError);
00112 
00114     virtual
00115     void
00116     requestFederationRestoreSucceeded(std::wstring const & label)
00117       throw (rti1516::FederateInternalError);
00118 
00119     virtual
00120     void
00121     requestFederationRestoreFailed(std::wstring const & label)
00122       throw (rti1516::FederateInternalError);
00123 
00125     virtual
00126     void
00127     federationRestoreBegun()
00128       throw (rti1516::FederateInternalError);
00129 
00131     virtual
00132     void
00133     initiateFederateRestore(std::wstring         const & label,
00134                             rti1516::FederateHandle handle)
00135       throw (rti1516::SpecifiedSaveLabelDoesNotExist,
00136              rti1516::CouldNotInitiateRestore,
00137              rti1516::FederateInternalError);
00138 
00140     virtual
00141     void
00142     federationRestored()
00143       throw (rti1516::FederateInternalError);
00144 
00145     virtual
00146     void
00147     federationNotRestored(rti1516::RestoreFailureReason theRestoreFailureReason)
00148       throw (rti1516::FederateInternalError);
00149 
00151     virtual
00152     void
00153     federationRestoreStatusResponse(
00154       rti1516::FederateHandleRestoreStatusPairVector  const & theFederateStatusVector)
00155       throw (rti1516::FederateInternalError);
00156 
00160   
00162     virtual
00163     void
00164     startRegistrationForObjectClass(rti1516::ObjectClassHandle theClass)
00165       throw (rti1516::ObjectClassNotPublished,
00166              rti1516::FederateInternalError);
00167 
00169     virtual
00170     void
00171     stopRegistrationForObjectClass(rti1516::ObjectClassHandle theClass)
00172       throw (rti1516::ObjectClassNotPublished,
00173              rti1516::FederateInternalError);
00174 
00176     virtual
00177     void
00178     turnInteractionsOn(rti1516::InteractionClassHandle theHandle)
00179       throw (rti1516::InteractionClassNotPublished,
00180              rti1516::FederateInternalError);
00181 
00183     virtual
00184     void
00185     turnInteractionsOff(rti1516::InteractionClassHandle theHandle)
00186       throw (rti1516::InteractionClassNotPublished,
00187              rti1516::FederateInternalError);
00188 
00192   
00194     virtual
00195     void
00196     objectInstanceNameReservationSucceeded(std::wstring const &
00197                                            theObjectInstanceName)
00198       throw (rti1516::UnknownName,
00199              rti1516::FederateInternalError);
00200 
00201     virtual
00202     void
00203     objectInstanceNameReservationFailed(std::wstring const &
00204                                         theObjectInstanceName)
00205       throw (rti1516::UnknownName,
00206              rti1516::FederateInternalError);
00207 
00208   
00210     virtual
00211     void
00212     discoverObjectInstance(rti1516::ObjectInstanceHandle theObject,
00213                            rti1516::ObjectClassHandle theObjectClass,
00214                            std::wstring const & theObjectInstanceName)
00215       throw (rti1516::CouldNotDiscover,
00216              rti1516::ObjectClassNotKnown,
00217              rti1516::FederateInternalError);
00218 
00220     virtual
00221     void
00222     reflectAttributeValues
00223     (rti1516::ObjectInstanceHandle theObject,
00224      rti1516::AttributeHandleValueMap const & theAttributeValues,
00225      rti1516::VariableLengthData const & theUserSuppliedTag,
00226      rti1516::OrderType sentOrder,
00227      rti1516::TransportationType theType)
00228       throw (rti1516::ObjectInstanceNotKnown,
00229              rti1516::AttributeNotRecognized,
00230              rti1516::AttributeNotSubscribed,
00231              rti1516::FederateInternalError);
00232 
00233     virtual
00234     void
00235     reflectAttributeValues
00236     (rti1516::ObjectInstanceHandle theObject,
00237      rti1516::AttributeHandleValueMap const & theAttributeValues,
00238      rti1516::VariableLengthData const & theUserSuppliedTag,
00239      rti1516::OrderType sentOrder,
00240      rti1516::TransportationType theType,
00241      rti1516::RegionHandleSet const & theSentRegionHandleSet)
00242       throw (rti1516::ObjectInstanceNotKnown,
00243              rti1516::AttributeNotRecognized,
00244              rti1516::AttributeNotSubscribed,
00245              rti1516::FederateInternalError);
00246 
00247     virtual
00248     void
00249     reflectAttributeValues
00250     (rti1516::ObjectInstanceHandle theObject,
00251      rti1516::AttributeHandleValueMap const & theAttributeValues,
00252      rti1516::VariableLengthData const & theUserSuppliedTag,
00253      rti1516::OrderType sentOrder,
00254      rti1516::TransportationType theType,
00255      rti1516::LogicalTime const & theTime,
00256      rti1516::OrderType receivedOrder)
00257       throw (rti1516::ObjectInstanceNotKnown,
00258              rti1516::AttributeNotRecognized,
00259              rti1516::AttributeNotSubscribed,
00260              rti1516::FederateInternalError);
00261   
00262     virtual
00263     void
00264     reflectAttributeValues
00265     (rti1516::ObjectInstanceHandle theObject,
00266      rti1516::AttributeHandleValueMap const & theAttributeValues,
00267      rti1516::VariableLengthData const & theUserSuppliedTag,
00268      rti1516::OrderType sentOrder,
00269      rti1516::TransportationType theType,
00270      rti1516::LogicalTime const & theTime,
00271      rti1516::OrderType receivedOrder,
00272      rti1516::RegionHandleSet const & theSentRegionHandleSet)
00273       throw (rti1516::ObjectInstanceNotKnown,
00274              rti1516::AttributeNotRecognized,
00275              rti1516::AttributeNotSubscribed,
00276              rti1516::FederateInternalError);
00277   
00278     virtual
00279     void
00280     reflectAttributeValues
00281     (rti1516::ObjectInstanceHandle theObject,
00282      rti1516::AttributeHandleValueMap const & theAttributeValues,
00283      rti1516::VariableLengthData const & theUserSuppliedTag,
00284      rti1516::OrderType sentOrder,
00285      rti1516::TransportationType theType,
00286      rti1516::LogicalTime const & theTime,
00287      rti1516::OrderType receivedOrder,
00288      rti1516::MessageRetractionHandle theHandle)
00289       throw (rti1516::ObjectInstanceNotKnown,
00290              rti1516::AttributeNotRecognized,
00291              rti1516::AttributeNotSubscribed,
00292              rti1516::InvalidLogicalTime,
00293              rti1516::FederateInternalError);
00294 
00295     virtual
00296     void
00297     reflectAttributeValues
00298     (rti1516::ObjectInstanceHandle theObject,
00299      rti1516::AttributeHandleValueMap const & theAttributeValues,
00300      rti1516::VariableLengthData const & theUserSuppliedTag,
00301      rti1516::OrderType sentOrder,
00302      rti1516::TransportationType theType,
00303      rti1516::LogicalTime const & theTime,
00304      rti1516::OrderType receivedOrder,
00305      rti1516::MessageRetractionHandle theHandle,
00306      rti1516::RegionHandleSet const & theSentRegionHandleSet)
00307       throw (rti1516::ObjectInstanceNotKnown,
00308              rti1516::AttributeNotRecognized,
00309              rti1516::AttributeNotSubscribed,
00310              rti1516::InvalidLogicalTime,
00311              rti1516::FederateInternalError);
00312 
00314     virtual
00315     void
00316     receiveInteraction
00317     (rti1516::InteractionClassHandle theInteraction,
00318      rti1516::ParameterHandleValueMap const & theParameterValues,
00319      rti1516::VariableLengthData const & theUserSuppliedTag,
00320      rti1516::OrderType sentOrder,
00321      rti1516::TransportationType theType)
00322       throw (rti1516::InteractionClassNotRecognized,
00323              rti1516::InteractionParameterNotRecognized,
00324              rti1516::InteractionClassNotSubscribed,
00325              rti1516::FederateInternalError);
00326 
00327     virtual
00328     void
00329     receiveInteraction
00330     (rti1516::InteractionClassHandle theInteraction,
00331      rti1516::ParameterHandleValueMap const & theParameterValues,
00332      rti1516::VariableLengthData const & theUserSuppliedTag,
00333      rti1516::OrderType sentOrder,
00334      rti1516::TransportationType theType,
00335      rti1516::RegionHandleSet const & theSentRegionHandleSet)
00336       throw (rti1516::InteractionClassNotRecognized,
00337              rti1516::InteractionParameterNotRecognized,
00338              rti1516::InteractionClassNotSubscribed,
00339              rti1516::FederateInternalError);
00340 
00341     virtual
00342     void
00343     receiveInteraction
00344     (rti1516::InteractionClassHandle theInteraction,
00345      rti1516::ParameterHandleValueMap const & theParameterValues,
00346      rti1516::VariableLengthData const & theUserSuppliedTag,
00347      rti1516::OrderType sentOrder,
00348      rti1516::TransportationType theType,
00349      rti1516::LogicalTime const & theTime,
00350      rti1516::OrderType receivedOrder)
00351       throw (rti1516::InteractionClassNotRecognized,
00352              rti1516::InteractionParameterNotRecognized,
00353              rti1516::InteractionClassNotSubscribed,
00354              rti1516::FederateInternalError);
00355 
00356     virtual
00357     void
00358     receiveInteraction
00359     (rti1516::InteractionClassHandle theInteraction,
00360      rti1516::ParameterHandleValueMap const & theParameterValues,
00361      rti1516::VariableLengthData const & theUserSuppliedTag,
00362      rti1516::OrderType sentOrder,
00363      rti1516::TransportationType theType,
00364      rti1516::LogicalTime const & theTime,
00365      rti1516::OrderType receivedOrder,
00366      rti1516::RegionHandleSet const & theSentRegionHandleSet)
00367       throw (rti1516::InteractionClassNotRecognized,
00368              rti1516::InteractionParameterNotRecognized,
00369              rti1516::InteractionClassNotSubscribed,
00370              rti1516::FederateInternalError);
00371 
00372     virtual
00373     void
00374     receiveInteraction
00375     (rti1516::InteractionClassHandle theInteraction,
00376      rti1516::ParameterHandleValueMap const & theParameterValues,
00377      rti1516::VariableLengthData const & theUserSuppliedTag,
00378      rti1516::OrderType sentOrder,
00379      rti1516::TransportationType theType,
00380      rti1516::LogicalTime const & theTime,
00381      rti1516::OrderType receivedOrder,
00382      rti1516::MessageRetractionHandle theHandle)
00383       throw (rti1516::InteractionClassNotRecognized,
00384              rti1516::InteractionParameterNotRecognized,
00385              rti1516::InteractionClassNotSubscribed,
00386              rti1516::InvalidLogicalTime,
00387              rti1516::FederateInternalError);
00388 
00389     virtual
00390     void
00391     receiveInteraction
00392     (rti1516::InteractionClassHandle theInteraction,
00393      rti1516::ParameterHandleValueMap const & theParameterValues,
00394      rti1516::VariableLengthData const & theUserSuppliedTag,
00395      rti1516::OrderType sentOrder,
00396      rti1516::TransportationType theType,
00397      rti1516::LogicalTime const & theTime,
00398      rti1516::OrderType receivedOrder,
00399      rti1516::MessageRetractionHandle theHandle,
00400      rti1516::RegionHandleSet const & theSentRegionHandleSet)
00401       throw (rti1516::InteractionClassNotRecognized,
00402              rti1516::InteractionParameterNotRecognized,
00403              rti1516::InteractionClassNotSubscribed,
00404              rti1516::InvalidLogicalTime,
00405              rti1516::FederateInternalError);
00406 
00408     virtual
00409     void
00410     removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
00411                          rti1516::VariableLengthData const & theUserSuppliedTag,
00412                          rti1516::OrderType sentOrder)
00413       throw (rti1516::ObjectInstanceNotKnown,
00414              rti1516::FederateInternalError);
00415 
00416     virtual
00417     void
00418     removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
00419                          rti1516::VariableLengthData const & theUserSuppliedTag,
00420                          rti1516::OrderType sentOrder,
00421                          rti1516::LogicalTime const & theTime,
00422                          rti1516::OrderType receivedOrder)
00423       throw (rti1516::ObjectInstanceNotKnown,
00424              rti1516::FederateInternalError);
00425 
00426     virtual
00427     void
00428     removeObjectInstance(rti1516::ObjectInstanceHandle theObject,
00429                          rti1516::VariableLengthData const & theUserSuppliedTag,
00430                          rti1516::OrderType sentOrder,
00431                          rti1516::LogicalTime const & theTime,
00432                          rti1516::OrderType receivedOrder,
00433                          rti1516::MessageRetractionHandle theHandle)
00434       throw (rti1516::ObjectInstanceNotKnown,
00435              rti1516::InvalidLogicalTime,
00436              rti1516::FederateInternalError);
00437 
00439     virtual
00440     void
00441     attributesInScope
00442     (rti1516::ObjectInstanceHandle theObject,
00443      rti1516::AttributeHandleSet const & theAttributes)
00444       throw (rti1516::ObjectInstanceNotKnown,
00445              rti1516::AttributeNotRecognized,
00446              rti1516::AttributeNotSubscribed,
00447              rti1516::FederateInternalError);
00448 
00450     virtual
00451     void
00452     attributesOutOfScope
00453     (rti1516::ObjectInstanceHandle theObject,
00454      rti1516::AttributeHandleSet const & theAttributes)
00455       throw (rti1516::ObjectInstanceNotKnown,
00456              rti1516::AttributeNotRecognized,
00457              rti1516::AttributeNotSubscribed,
00458              rti1516::FederateInternalError);
00459 
00461     virtual
00462     void
00463     provideAttributeValueUpdate
00464     (rti1516::ObjectInstanceHandle theObject,
00465      rti1516::AttributeHandleSet const & theAttributes,
00466      rti1516::VariableLengthData const & theUserSuppliedTag)
00467       throw (rti1516::ObjectInstanceNotKnown,
00468              rti1516::AttributeNotRecognized,
00469              rti1516::AttributeNotOwned,
00470              rti1516::FederateInternalError);
00471 
00473     virtual
00474     void
00475     turnUpdatesOnForObjectInstance
00476     (rti1516::ObjectInstanceHandle theObject,
00477      rti1516::AttributeHandleSet const & theAttributes)
00478       throw (rti1516::ObjectInstanceNotKnown,
00479              rti1516::AttributeNotRecognized,
00480              rti1516::AttributeNotOwned,
00481              rti1516::FederateInternalError);
00482 
00484     virtual
00485     void
00486     turnUpdatesOffForObjectInstance
00487     (rti1516::ObjectInstanceHandle theObject,
00488      rti1516::AttributeHandleSet const & theAttributes)
00489       throw (rti1516::ObjectInstanceNotKnown,
00490              rti1516::AttributeNotRecognized,
00491              rti1516::AttributeNotOwned,
00492              rti1516::FederateInternalError);
00493 
00497   
00499     virtual
00500     void
00501     requestAttributeOwnershipAssumption
00502     (rti1516::ObjectInstanceHandle theObject,
00503      rti1516::AttributeHandleSet const & offeredAttributes,
00504      rti1516::VariableLengthData const & theUserSuppliedTag)
00505       throw (rti1516::ObjectInstanceNotKnown,
00506              rti1516::AttributeNotRecognized,
00507              rti1516::AttributeAlreadyOwned,
00508              rti1516::AttributeNotPublished,
00509              rti1516::FederateInternalError);
00510 
00512     virtual
00513     void
00514     requestDivestitureConfirmation
00515     (rti1516::ObjectInstanceHandle theObject,
00516      rti1516::AttributeHandleSet const & releasedAttributes)
00517       throw (rti1516::ObjectInstanceNotKnown,
00518              rti1516::AttributeNotRecognized,
00519              rti1516::AttributeNotOwned,
00520              rti1516::AttributeDivestitureWasNotRequested,
00521              rti1516::FederateInternalError);
00522 
00524     virtual
00525     void
00526     attributeOwnershipAcquisitionNotification
00527     (rti1516::ObjectInstanceHandle theObject,
00528      rti1516::AttributeHandleSet const & securedAttributes,
00529      rti1516::VariableLengthData const & theUserSuppliedTag)
00530       throw (rti1516::ObjectInstanceNotKnown,
00531              rti1516::AttributeNotRecognized,
00532              rti1516::AttributeAcquisitionWasNotRequested,
00533              rti1516::AttributeAlreadyOwned,
00534              rti1516::AttributeNotPublished,
00535              rti1516::FederateInternalError);
00536 
00538     virtual
00539     void
00540     attributeOwnershipUnavailable
00541     (rti1516::ObjectInstanceHandle theObject,
00542      rti1516::AttributeHandleSet const & theAttributes)
00543       throw (rti1516::ObjectInstanceNotKnown,
00544              rti1516::AttributeNotRecognized,
00545              rti1516::AttributeAlreadyOwned,
00546              rti1516::AttributeAcquisitionWasNotRequested,
00547              rti1516::FederateInternalError);
00548 
00550     virtual
00551     void
00552     requestAttributeOwnershipRelease
00553     (rti1516::ObjectInstanceHandle theObject,
00554      rti1516::AttributeHandleSet const & candidateAttributes,
00555      rti1516::VariableLengthData const & theUserSuppliedTag)
00556       throw (rti1516::ObjectInstanceNotKnown,
00557              rti1516::AttributeNotRecognized,
00558              rti1516::AttributeNotOwned,
00559              rti1516::FederateInternalError);
00560 
00562     virtual
00563     void
00564     confirmAttributeOwnershipAcquisitionCancellation
00565     (rti1516::ObjectInstanceHandle theObject,
00566      rti1516::AttributeHandleSet const & theAttributes)
00567       throw (rti1516::ObjectInstanceNotKnown,
00568              rti1516::AttributeNotRecognized,
00569              rti1516::AttributeAlreadyOwned,
00570              rti1516::AttributeAcquisitionWasNotCanceled,
00571              rti1516::FederateInternalError);
00572 
00574     virtual
00575     void
00576     informAttributeOwnership(rti1516::ObjectInstanceHandle theObject,
00577                              rti1516::AttributeHandle theAttribute,
00578                              rti1516::FederateHandle theOwner)
00579       throw (rti1516::ObjectInstanceNotKnown,
00580              rti1516::AttributeNotRecognized,
00581              rti1516::FederateInternalError);
00582 
00583     virtual
00584     void
00585     attributeIsNotOwned(rti1516::ObjectInstanceHandle theObject,
00586                         rti1516::AttributeHandle theAttribute)
00587       throw (rti1516::ObjectInstanceNotKnown,
00588              rti1516::AttributeNotRecognized,
00589              rti1516::FederateInternalError);
00590 
00591     virtual
00592     void
00593     attributeIsOwnedByRTI(rti1516::ObjectInstanceHandle theObject,
00594                           rti1516::AttributeHandle theAttribute)
00595       throw (rti1516::ObjectInstanceNotKnown,
00596              rti1516::AttributeNotRecognized,
00597              rti1516::FederateInternalError);
00598 
00602   
00604     virtual
00605     void
00606     timeRegulationEnabled(rti1516::LogicalTime const & theFederateTime)
00607       throw (rti1516::InvalidLogicalTime,
00608              rti1516::NoRequestToEnableTimeRegulationWasPending,
00609              rti1516::FederateInternalError);
00610 
00612     virtual
00613     void
00614     timeConstrainedEnabled(rti1516::LogicalTime const & theFederateTime)
00615       throw (rti1516::InvalidLogicalTime,
00616              rti1516::NoRequestToEnableTimeConstrainedWasPending,
00617              rti1516::FederateInternalError);
00618 
00620     virtual
00621     void
00622     timeAdvanceGrant(rti1516::LogicalTime const & theTime)
00623       throw (rti1516::InvalidLogicalTime,
00624              rti1516::JoinedFederateIsNotInTimeAdvancingState,
00625              rti1516::FederateInternalError);
00626 
00628     virtual
00629     void
00630     requestRetraction(rti1516::MessageRetractionHandle theHandle)
00631       throw (rti1516::FederateInternalError);
00632 
00633 }; 
00634  
00638 
00639 inline rti1516::FederateAmbassador* DtFedAmbWrapper::fedAmb()
00640 { 
00641    return myFedAmb; 
00642 } 
00643  
00644 inline void DtFedAmbWrapper::setFedAmb(rti1516::FederateAmbassador* f)
00645 { 
00646    myFedAmb = f; 
00647 } 
00648  
00649 inline void DtFedAmbWrapper::synchronizationPointRegistrationSucceeded ( 
00650    std::wstring const & label)
00651    throw ( 
00652      rti1516::FederateInternalError)
00653 {  
00654    if (myFedAmb)
00655    {  
00656       myFedAmb->synchronizationPointRegistrationSucceeded(label); 
00657    }  
00658 } 
00659  
00660 inline void DtFedAmbWrapper::synchronizationPointRegistrationFailed ( 
00661    std::wstring const & label,
00662    rti1516::SynchronizationFailureReason reason)
00663    throw ( 
00664      rti1516::FederateInternalError)
00665 {  
00666    if (myFedAmb)
00667    {  
00668       myFedAmb-> synchronizationPointRegistrationFailed(label, reason); 
00669    }  
00670 } 
00671  
00672 inline void DtFedAmbWrapper::announceSynchronizationPoint ( 
00673    std::wstring const & label,   
00674    rti1516::VariableLengthData const & theUserSuppliedTag)
00675    throw ( 
00676      rti1516::FederateInternalError)
00677 {  
00678    if (myFedAmb)
00679    {  
00680       myFedAmb-> announceSynchronizationPoint(label, theUserSuppliedTag); 
00681    }  
00682 } 
00683  
00684 inline void DtFedAmbWrapper::federationSynchronized ( 
00685    std::wstring const & label)
00686    throw ( 
00687      rti1516::FederateInternalError)
00688 {  
00689    if (myFedAmb)
00690    {  
00691       myFedAmb-> federationSynchronized(label); 
00692    }  
00693 } 
00694  
00695 inline void DtFedAmbWrapper::initiateFederateSave ( 
00696    std::wstring const & label)
00697    throw ( 
00698      rti1516::UnableToPerformSave, 
00699      rti1516::FederateInternalError)
00700 {  
00701    if (myFedAmb)
00702    {  
00703       myFedAmb-> initiateFederateSave(label); 
00704    }  
00705 } 
00706  
00707 inline void DtFedAmbWrapper::initiateFederateSave (
00708    std::wstring const & label,
00709    rti1516::LogicalTime const & theTime)
00710    throw ( 
00711       rti1516::UnableToPerformSave, 
00712       rti1516::InvalidLogicalTime,
00713       rti1516::FederateInternalError)
00714 {  
00715    if (myFedAmb)
00716    {  
00717       myFedAmb-> initiateFederateSave(label, theTime); 
00718    }  
00719 } 
00720 
00721 inline void DtFedAmbWrapper::federationSaved ()
00722    throw ( 
00723      rti1516::FederateInternalError)
00724 {  
00725    if (myFedAmb)
00726    {  
00727       myFedAmb-> federationSaved(); 
00728    }  
00729 } 
00730  
00731 inline void DtFedAmbWrapper::federationNotSaved (
00732    rti1516::SaveFailureReason theSaveFailureReason)
00733    throw ( 
00734      rti1516::FederateInternalError)
00735 {  
00736    if (myFedAmb)
00737    {  
00738       myFedAmb-> federationNotSaved(theSaveFailureReason); 
00739    }  
00740 } 
00741  
00742 inline void DtFedAmbWrapper::federationSaveStatusResponse(
00743    rti1516::FederateHandleSaveStatusPairVector const & theFederateStatusVector)
00744    throw (
00745       rti1516::FederateInternalError)
00746 {
00747    if (myFedAmb)
00748    {  
00749       myFedAmb-> federationSaveStatusResponse(theFederateStatusVector); 
00750    }  
00751 }
00752 
00753 inline void DtFedAmbWrapper::requestFederationRestoreSucceeded ( 
00754    std::wstring const & label)
00755    throw ( 
00756      rti1516::FederateInternalError)
00757 {  
00758    if (myFedAmb)
00759    {  
00760       myFedAmb-> requestFederationRestoreSucceeded(label); 
00761    }  
00762 } 
00763  
00764 inline void DtFedAmbWrapper::requestFederationRestoreFailed ( 
00765    std::wstring const & label)
00766    throw ( 
00767      rti1516::FederateInternalError)
00768 {  
00769    if (myFedAmb)
00770    {  
00771       myFedAmb-> requestFederationRestoreFailed(label); 
00772    }  
00773 } 
00774  
00775 inline void DtFedAmbWrapper::federationRestoreBegun ()
00776    throw ( 
00777      rti1516::FederateInternalError)
00778 {  
00779    if (myFedAmb)
00780    {  
00781       myFedAmb-> federationRestoreBegun(); 
00782    }  
00783 } 
00784  
00785 inline void DtFedAmbWrapper::initiateFederateRestore ( 
00786    std::wstring         const & label,
00787    rti1516::FederateHandle handle)
00788    throw (rti1516::SpecifiedSaveLabelDoesNotExist,
00789       rti1516::CouldNotInitiateRestore,
00790       rti1516::FederateInternalError)
00791 {  
00792    if (myFedAmb)
00793    {  
00794       myFedAmb-> initiateFederateRestore(label, handle); 
00795    }  
00796 } 
00797  
00798  
00799 inline void DtFedAmbWrapper::federationRestored ()
00800    throw ( 
00801      rti1516::FederateInternalError)
00802 {  
00803    if (myFedAmb)
00804    {  
00805       myFedAmb-> federationRestored(); 
00806    }  
00807 } 
00808  
00809 inline void DtFedAmbWrapper::federationNotRestored (rti1516::RestoreFailureReason theRestoreFailureReason)
00810    throw ( 
00811      rti1516::FederateInternalError)
00812 {  
00813    if (myFedAmb)
00814    {  
00815       myFedAmb-> federationNotRestored(theRestoreFailureReason); 
00816    }  
00817 } 
00818  
00819 inline void DtFedAmbWrapper::federationRestoreStatusResponse(
00820    rti1516::FederateHandleRestoreStatusPairVector const & theFederateStatusVector)
00821    throw (
00822       rti1516::FederateInternalError)
00823 {
00824    if (myFedAmb)
00825    {
00826       myFedAmb->federationRestoreStatusResponse(theFederateStatusVector);
00827    }
00828 }
00829 
00833 
00834 inline void DtFedAmbWrapper::startRegistrationForObjectClass ( 
00835    rti1516::ObjectClassHandle theClass)
00836    throw ( 
00837      rti1516::ObjectClassNotPublished, 
00838      rti1516::FederateInternalError)
00839 {  
00840    if (myFedAmb)
00841    {  
00842       myFedAmb-> startRegistrationForObjectClass(theClass); 
00843    }  
00844 } 
00845  
00846 inline void DtFedAmbWrapper::stopRegistrationForObjectClass ( 
00847    rti1516::ObjectClassHandle theClass)
00848    throw ( 
00849      rti1516::ObjectClassNotPublished, 
00850      rti1516::FederateInternalError)
00851 {  
00852    if (myFedAmb)
00853    {  
00854       myFedAmb-> stopRegistrationForObjectClass(theClass); 
00855    }  
00856 } 
00857  
00858 inline void DtFedAmbWrapper::turnInteractionsOn ( 
00859    rti1516::InteractionClassHandle theHandle)
00860    throw ( 
00861      rti1516::InteractionClassNotPublished, 
00862      rti1516::FederateInternalError)
00863 {  
00864    if (myFedAmb)
00865    {  
00866       myFedAmb-> turnInteractionsOn(theHandle); 
00867    }  
00868 } 
00869  
00870  
00871 inline void DtFedAmbWrapper::turnInteractionsOff ( 
00872    rti1516::InteractionClassHandle theHandle)
00873    throw ( 
00874      rti1516::InteractionClassNotPublished, 
00875      rti1516::FederateInternalError)
00876 {  
00877    if (myFedAmb)
00878    {  
00879       myFedAmb-> turnInteractionsOff(theHandle); 
00880    }  
00881 } 
00882   
00886 
00887 inline void DtFedAmbWrapper::objectInstanceNameReservationSucceeded(
00888    std::wstring const & theObjectInstanceName)
00889    throw (
00890       rti1516::UnknownName,
00891       rti1516::FederateInternalError)
00892 {
00893    if (myFedAmb)
00894    {
00895       myFedAmb->objectInstanceNameReservationSucceeded(theObjectInstanceName);
00896    }
00897 }
00898 
00899 inline void DtFedAmbWrapper::objectInstanceNameReservationFailed(
00900    std::wstring const & theObjectInstanceName)
00901    throw (
00902       rti1516::UnknownName,
00903       rti1516::FederateInternalError)
00904 {
00905    if (myFedAmb)
00906    {
00907       myFedAmb->objectInstanceNameReservationFailed(theObjectInstanceName);
00908    }
00909 }
00910 
00911 inline void DtFedAmbWrapper::discoverObjectInstance ( 
00912    rti1516::ObjectInstanceHandle theObject,
00913    rti1516::ObjectClassHandle theObjectClass,
00914    std::wstring const & theObjectInstanceName)
00915    throw ( 
00916      rti1516::CouldNotDiscover, 
00917      rti1516::ObjectClassNotKnown, 
00918      rti1516::FederateInternalError)
00919 {  
00920    if (myFedAmb)
00921    {  
00922       myFedAmb-> discoverObjectInstance(theObject, theObjectClass,
00923          theObjectInstanceName); 
00924    }  
00925 } 
00926  
00927 inline void DtFedAmbWrapper::reflectAttributeValues (
00928    rti1516::ObjectInstanceHandle theObject,
00929    rti1516::AttributeHandleValueMap const & theAttributeValues,
00930    rti1516::VariableLengthData const & theUserSuppliedTag,
00931    rti1516::OrderType sentOrder,
00932    rti1516::TransportationType theType)
00933    throw (
00934       rti1516::ObjectInstanceNotKnown,
00935       rti1516::AttributeNotRecognized,
00936       rti1516::AttributeNotSubscribed,
00937       rti1516::FederateInternalError)
00938 {
00939    if (myFedAmb)
00940    {
00941       myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
00942          theUserSuppliedTag, sentOrder, theType);
00943    }
00944 }
00945 
00946 inline void DtFedAmbWrapper::reflectAttributeValues (
00947    rti1516::ObjectInstanceHandle theObject,
00948    rti1516::AttributeHandleValueMap const & theAttributeValues,
00949    rti1516::VariableLengthData const & theUserSuppliedTag,
00950    rti1516::OrderType sentOrder,
00951    rti1516::TransportationType theType,
00952    rti1516::RegionHandleSet const & theSentRegionHandleSet)
00953    throw (
00954       rti1516::ObjectInstanceNotKnown,
00955       rti1516::AttributeNotRecognized,
00956       rti1516::AttributeNotSubscribed,
00957       rti1516::FederateInternalError)
00958 {
00959    if (myFedAmb)
00960    {
00961       myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
00962          theUserSuppliedTag, sentOrder, theType, theSentRegionHandleSet);
00963    }
00964 }
00965 
00966 inline void DtFedAmbWrapper::reflectAttributeValues (
00967    rti1516::ObjectInstanceHandle theObject,
00968    rti1516::AttributeHandleValueMap const & theAttributeValues,
00969    rti1516::VariableLengthData const & theUserSuppliedTag,
00970    rti1516::OrderType sentOrder,
00971    rti1516::TransportationType theType,
00972    rti1516::LogicalTime const & theTime,
00973    rti1516::OrderType receivedOrder)
00974    throw (
00975       rti1516::ObjectInstanceNotKnown,
00976       rti1516::AttributeNotRecognized,
00977       rti1516::AttributeNotSubscribed,
00978       rti1516::FederateInternalError)
00979 {
00980    if (myFedAmb)
00981    {
00982       myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
00983          theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder);
00984    }
00985 }
00986 
00987 inline void DtFedAmbWrapper::reflectAttributeValues (
00988    rti1516::ObjectInstanceHandle theObject,
00989    rti1516::AttributeHandleValueMap const & theAttributeValues,
00990    rti1516::VariableLengthData const & theUserSuppliedTag,
00991    rti1516::OrderType sentOrder,
00992    rti1516::TransportationType theType,
00993    rti1516::LogicalTime const & theTime,
00994    rti1516::OrderType receivedOrder,
00995    rti1516::RegionHandleSet const & theSentRegionHandleSet)
00996    throw (
00997       rti1516::ObjectInstanceNotKnown,
00998       rti1516::AttributeNotRecognized,
00999       rti1516::AttributeNotSubscribed,
01000       rti1516::FederateInternalError)
01001 {
01002    if (myFedAmb)
01003    {
01004       myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
01005          theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
01006          theSentRegionHandleSet);
01007    }
01008 }
01009 
01010 inline void DtFedAmbWrapper::reflectAttributeValues (
01011    rti1516::ObjectInstanceHandle theObject,
01012    rti1516::AttributeHandleValueMap const & theAttributeValues,
01013    rti1516::VariableLengthData const & theUserSuppliedTag,
01014    rti1516::OrderType sentOrder,
01015    rti1516::TransportationType theType,
01016    rti1516::LogicalTime const & theTime,
01017    rti1516::OrderType receivedOrder,
01018    rti1516::MessageRetractionHandle theHandle)
01019    throw (
01020       rti1516::ObjectInstanceNotKnown,
01021       rti1516::AttributeNotRecognized,
01022       rti1516::AttributeNotSubscribed,
01023       rti1516::InvalidLogicalTime,
01024       rti1516::FederateInternalError)
01025    {
01026       if (myFedAmb)
01027       {
01028          myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
01029             theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
01030             theHandle);
01031       }
01032    }
01033 
01034 inline void DtFedAmbWrapper::reflectAttributeValues (
01035    rti1516::ObjectInstanceHandle theObject,
01036    rti1516::AttributeHandleValueMap const & theAttributeValues,
01037    rti1516::VariableLengthData const & theUserSuppliedTag,
01038    rti1516::OrderType sentOrder,
01039    rti1516::TransportationType theType,
01040    rti1516::LogicalTime const & theTime,
01041    rti1516::OrderType receivedOrder,
01042    rti1516::MessageRetractionHandle theHandle,
01043    rti1516::RegionHandleSet const & theSentRegionHandleSet)
01044    throw (
01045       rti1516::ObjectInstanceNotKnown,
01046       rti1516::AttributeNotRecognized,
01047       rti1516::AttributeNotSubscribed,
01048       rti1516::InvalidLogicalTime,
01049       rti1516::FederateInternalError)
01050 {
01051    if (myFedAmb)
01052    {
01053       myFedAmb->reflectAttributeValues(theObject, theAttributeValues,
01054          theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
01055             theHandle, theSentRegionHandleSet);
01056    }
01057 }
01058 
01059 inline void DtFedAmbWrapper::receiveInteraction (
01060    rti1516::InteractionClassHandle theInteraction,
01061    rti1516::ParameterHandleValueMap const & theParameterValues,
01062    rti1516::VariableLengthData const & theUserSuppliedTag,
01063    rti1516::OrderType sentOrder,
01064    rti1516::TransportationType theType)
01065    throw (
01066       rti1516::InteractionClassNotRecognized,
01067       rti1516::InteractionParameterNotRecognized,
01068       rti1516::InteractionClassNotSubscribed,
01069       rti1516::FederateInternalError)
01070 {
01071    if (myFedAmb)
01072    {
01073       myFedAmb->receiveInteraction(theInteraction, theParameterValues,
01074          theUserSuppliedTag, sentOrder, theType);
01075    }
01076 }
01077 
01078 inline void DtFedAmbWrapper::receiveInteraction (
01079    rti1516::InteractionClassHandle theInteraction,
01080    rti1516::ParameterHandleValueMap const & theParameterValues,
01081    rti1516::VariableLengthData const & theUserSuppliedTag,
01082    rti1516::OrderType sentOrder,
01083    rti1516::TransportationType theType,
01084    rti1516::RegionHandleSet const & theSentRegionHandleSet)
01085    throw (
01086       rti1516::InteractionClassNotRecognized,
01087       rti1516::InteractionParameterNotRecognized,
01088       rti1516::InteractionClassNotSubscribed,
01089       rti1516::FederateInternalError)
01090 {
01091    if (myFedAmb)
01092    {
01093       myFedAmb->receiveInteraction(theInteraction, theParameterValues,
01094          theUserSuppliedTag, sentOrder, theType, theSentRegionHandleSet);
01095    }
01096 }
01097 
01098 inline void DtFedAmbWrapper::receiveInteraction (
01099    rti1516::InteractionClassHandle theInteraction,
01100    rti1516::ParameterHandleValueMap const & theParameterValues,
01101    rti1516::VariableLengthData const & theUserSuppliedTag,
01102    rti1516::OrderType sentOrder,
01103    rti1516::TransportationType theType,
01104    rti1516::LogicalTime const & theTime,
01105    rti1516::OrderType receivedOrder)
01106    throw (
01107       rti1516::InteractionClassNotRecognized,
01108       rti1516::InteractionParameterNotRecognized,
01109       rti1516::InteractionClassNotSubscribed,
01110       rti1516::FederateInternalError)
01111 {
01112    if (myFedAmb)
01113    {
01114       myFedAmb->receiveInteraction(theInteraction, theParameterValues,
01115          theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder);
01116    }
01117 }
01118 
01119 inline void DtFedAmbWrapper::receiveInteraction (
01120    rti1516::InteractionClassHandle theInteraction,
01121    rti1516::ParameterHandleValueMap const & theParameterValues,
01122    rti1516::VariableLengthData const & theUserSuppliedTag,
01123    rti1516::OrderType sentOrder,
01124    rti1516::TransportationType theType,
01125    rti1516::LogicalTime const & theTime,
01126    rti1516::OrderType receivedOrder,
01127    rti1516::RegionHandleSet const & theSentRegionHandleSet)
01128    throw (
01129       rti1516::InteractionClassNotRecognized,
01130       rti1516::InteractionParameterNotRecognized,
01131       rti1516::InteractionClassNotSubscribed,
01132       rti1516::FederateInternalError)
01133 {
01134    if (myFedAmb)
01135    {
01136       myFedAmb->receiveInteraction(theInteraction, theParameterValues,
01137          theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
01138             theSentRegionHandleSet);
01139    }
01140 }
01141 
01142 inline void DtFedAmbWrapper::receiveInteraction (
01143    rti1516::InteractionClassHandle theInteraction,
01144    rti1516::ParameterHandleValueMap const & theParameterValues,
01145    rti1516::VariableLengthData const & theUserSuppliedTag,
01146    rti1516::OrderType sentOrder,
01147    rti1516::TransportationType theType,
01148    rti1516::LogicalTime const & theTime,
01149    rti1516::OrderType receivedOrder,
01150    rti1516::MessageRetractionHandle theHandle)
01151    throw (
01152       rti1516::InteractionClassNotRecognized,
01153       rti1516::InteractionParameterNotRecognized,
01154       rti1516::InteractionClassNotSubscribed,
01155       rti1516::InvalidLogicalTime,
01156       rti1516::FederateInternalError)
01157 {
01158    if (myFedAmb)
01159    {
01160       myFedAmb->receiveInteraction(theInteraction, theParameterValues,
01161          theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
01162             theHandle);
01163    }
01164 }
01165 
01166 inline void DtFedAmbWrapper::receiveInteraction (
01167    rti1516::InteractionClassHandle theInteraction,
01168    rti1516::ParameterHandleValueMap const & theParameterValues,
01169    rti1516::VariableLengthData const & theUserSuppliedTag,
01170    rti1516::OrderType sentOrder,
01171    rti1516::TransportationType theType,
01172    rti1516::LogicalTime const & theTime,
01173    rti1516::OrderType receivedOrder,
01174    rti1516::MessageRetractionHandle theHandle,
01175    rti1516::RegionHandleSet const & theSentRegionHandleSet)
01176    throw (
01177       rti1516::InteractionClassNotRecognized,
01178       rti1516::InteractionParameterNotRecognized,
01179       rti1516::InteractionClassNotSubscribed,
01180       rti1516::InvalidLogicalTime,
01181       rti1516::FederateInternalError)
01182 {
01183    if (myFedAmb)
01184    {
01185       myFedAmb->receiveInteraction(theInteraction, theParameterValues,
01186          theUserSuppliedTag, sentOrder, theType, theTime, receivedOrder,
01187             theHandle, theSentRegionHandleSet);
01188    }
01189 }
01190 
01191 inline void DtFedAmbWrapper::removeObjectInstance (
01192    rti1516::ObjectInstanceHandle theObject,
01193    rti1516::VariableLengthData const & theUserSuppliedTag,
01194    rti1516::OrderType sentOrder)
01195    throw (
01196       rti1516::ObjectInstanceNotKnown,
01197       rti1516::FederateInternalError)
01198 {
01199    if (myFedAmb)
01200    {
01201       myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder);
01202    }
01203 }
01204 
01205 inline void DtFedAmbWrapper::removeObjectInstance (
01206    rti1516::ObjectInstanceHandle theObject,
01207    rti1516::VariableLengthData const & theUserSuppliedTag,
01208    rti1516::OrderType sentOrder,
01209    rti1516::LogicalTime const & theTime,
01210    rti1516::OrderType receivedOrder)
01211    throw (
01212       rti1516::ObjectInstanceNotKnown,
01213       rti1516::FederateInternalError)
01214 {
01215    if (myFedAmb)
01216    {
01217       myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder,
01218          theTime, receivedOrder);
01219    }
01220 }
01221 
01222 inline void DtFedAmbWrapper::removeObjectInstance (
01223    rti1516::ObjectInstanceHandle theObject,
01224    rti1516::VariableLengthData const & theUserSuppliedTag,
01225    rti1516::OrderType sentOrder,
01226    rti1516::LogicalTime const & theTime,
01227    rti1516::OrderType receivedOrder,
01228    rti1516::MessageRetractionHandle theHandle)
01229    throw (
01230       rti1516::ObjectInstanceNotKnown,
01231       rti1516::InvalidLogicalTime,
01232       rti1516::FederateInternalError)
01233 {
01234    if (myFedAmb)
01235    {
01236       myFedAmb->removeObjectInstance(theObject, theUserSuppliedTag, sentOrder,
01237          theTime, receivedOrder, theHandle);
01238    }
01239 }
01240 
01241 inline void DtFedAmbWrapper::attributesInScope (
01242    rti1516::ObjectInstanceHandle theObject,
01243    rti1516::AttributeHandleSet const & theAttributes)
01244    throw (
01245       rti1516::ObjectInstanceNotKnown,
01246       rti1516::AttributeNotRecognized,
01247       rti1516::AttributeNotSubscribed,
01248       rti1516::FederateInternalError)
01249 {
01250    if (myFedAmb)
01251    {
01252       myFedAmb->attributesInScope(theObject, theAttributes);
01253    }
01254 }
01255 
01256 inline void DtFedAmbWrapper::attributesOutOfScope (
01257    rti1516::ObjectInstanceHandle theObject,
01258    rti1516::AttributeHandleSet const & theAttributes)
01259    throw (
01260       rti1516::ObjectInstanceNotKnown,
01261       rti1516::AttributeNotRecognized,
01262       rti1516::AttributeNotSubscribed,
01263       rti1516::FederateInternalError)
01264 {
01265    if (myFedAmb)
01266    {
01267       myFedAmb->attributesOutOfScope(theObject, theAttributes);
01268    }
01269 }
01270 
01271 inline void DtFedAmbWrapper::provideAttributeValueUpdate (
01272    rti1516::ObjectInstanceHandle theObject,
01273    rti1516::AttributeHandleSet const & theAttributes,
01274    rti1516::VariableLengthData const & theUserSuppliedTag)
01275    throw (
01276       rti1516::ObjectInstanceNotKnown,
01277       rti1516::AttributeNotRecognized,
01278       rti1516::AttributeNotOwned,
01279       rti1516::FederateInternalError)
01280 {
01281    if (myFedAmb)
01282    {
01283       myFedAmb->provideAttributeValueUpdate(theObject, theAttributes,
01284          theUserSuppliedTag);
01285    }
01286 }
01287 
01288 inline void DtFedAmbWrapper::turnUpdatesOnForObjectInstance (
01289    rti1516::ObjectInstanceHandle theObject,
01290    rti1516::AttributeHandleSet const & theAttributes)
01291    throw (
01292       rti1516::ObjectInstanceNotKnown,
01293       rti1516::AttributeNotRecognized,
01294       rti1516::AttributeNotOwned,
01295       rti1516::FederateInternalError)
01296 {
01297    if (myFedAmb)
01298    {
01299       myFedAmb->turnUpdatesOnForObjectInstance(theObject, theAttributes);
01300    }
01301 }
01302 
01306 
01307 inline void DtFedAmbWrapper::turnUpdatesOffForObjectInstance (
01308    rti1516::ObjectInstanceHandle theObject,
01309    rti1516::AttributeHandleSet const & theAttributes)
01310    throw (
01311       rti1516::ObjectInstanceNotKnown,
01312       rti1516::AttributeNotRecognized,
01313       rti1516::AttributeNotOwned,
01314       rti1516::FederateInternalError)
01315 {
01316    if (myFedAmb)
01317    {
01318       myFedAmb->turnUpdatesOffForObjectInstance(theObject, theAttributes);
01319    }
01320 }
01321 
01322 inline void DtFedAmbWrapper::requestAttributeOwnershipAssumption (
01323    rti1516::ObjectInstanceHandle theObject,
01324    rti1516::AttributeHandleSet const & offeredAttributes,
01325    rti1516::VariableLengthData const & theUserSuppliedTag)
01326    throw (
01327       rti1516::ObjectInstanceNotKnown,
01328       rti1516::AttributeNotRecognized,
01329       rti1516::AttributeAlreadyOwned,
01330       rti1516::AttributeNotPublished,
01331       rti1516::FederateInternalError)
01332 {
01333    if (myFedAmb)
01334    {
01335       myFedAmb->requestAttributeOwnershipAssumption(theObject,
01336          offeredAttributes, theUserSuppliedTag);
01337    }
01338 }
01339 
01340 inline void DtFedAmbWrapper::requestDivestitureConfirmation (
01341    rti1516::ObjectInstanceHandle theObject,
01342    rti1516::AttributeHandleSet const & releasedAttributes)
01343    throw (
01344       rti1516::ObjectInstanceNotKnown,
01345       rti1516::AttributeNotRecognized,
01346       rti1516::AttributeNotOwned,
01347       rti1516::AttributeDivestitureWasNotRequested,
01348       rti1516::FederateInternalError)
01349 {
01350    if (myFedAmb)
01351    {
01352       myFedAmb->requestDivestitureConfirmation(theObject, releasedAttributes);
01353    }
01354 }
01355 
01356 inline void DtFedAmbWrapper::attributeOwnershipAcquisitionNotification (
01357    rti1516::ObjectInstanceHandle theObject,
01358    rti1516::AttributeHandleSet const & securedAttributes,
01359    rti1516::VariableLengthData const & theUserSuppliedTag)
01360    throw (
01361       rti1516::ObjectInstanceNotKnown,
01362       rti1516::AttributeNotRecognized,
01363       rti1516::AttributeAcquisitionWasNotRequested,
01364       rti1516::AttributeAlreadyOwned,
01365       rti1516::AttributeNotPublished,
01366       rti1516::FederateInternalError)
01367 {
01368    if (myFedAmb)
01369    {
01370       myFedAmb->attributeOwnershipAcquisitionNotification(theObject,
01371          securedAttributes, theUserSuppliedTag);
01372    }
01373 }
01374 
01375 inline void DtFedAmbWrapper::attributeOwnershipUnavailable (
01376    rti1516::ObjectInstanceHandle theObject,
01377    rti1516::AttributeHandleSet const & theAttributes)
01378    throw (
01379       rti1516::ObjectInstanceNotKnown,
01380       rti1516::AttributeNotRecognized,
01381       rti1516::AttributeAlreadyOwned,
01382       rti1516::AttributeAcquisitionWasNotRequested,
01383       rti1516::FederateInternalError)
01384 {
01385    if (myFedAmb)
01386    {
01387       myFedAmb->attributeOwnershipUnavailable(theObject, theAttributes);
01388    }
01389 }
01390 
01391 inline void DtFedAmbWrapper::requestAttributeOwnershipRelease (
01392    rti1516::ObjectInstanceHandle theObject,
01393    rti1516::AttributeHandleSet const & candidateAttributes,
01394    rti1516::VariableLengthData const & theUserSuppliedTag)
01395    throw (
01396       rti1516::ObjectInstanceNotKnown,
01397       rti1516::AttributeNotRecognized,
01398       rti1516::AttributeNotOwned,
01399       rti1516::FederateInternalError)
01400 {
01401    if (myFedAmb)
01402    {
01403       myFedAmb->requestAttributeOwnershipRelease(theObject, candidateAttributes,
01404          theUserSuppliedTag);
01405    }
01406 }
01407 
01408 inline void DtFedAmbWrapper::confirmAttributeOwnershipAcquisitionCancellation (
01409    rti1516::ObjectInstanceHandle theObject,
01410    rti1516::AttributeHandleSet const & theAttributes)
01411    throw (
01412       rti1516::ObjectInstanceNotKnown,
01413       rti1516::AttributeNotRecognized,
01414       rti1516::AttributeAlreadyOwned,
01415       rti1516::AttributeAcquisitionWasNotCanceled,
01416       rti1516::FederateInternalError)
01417 {
01418    if (myFedAmb)
01419    {
01420       myFedAmb->confirmAttributeOwnershipAcquisitionCancellation(theObject,
01421          theAttributes);
01422    }
01423 }
01424 
01425 inline void DtFedAmbWrapper::informAttributeOwnership (
01426    rti1516::ObjectInstanceHandle theObject,
01427    rti1516::AttributeHandle theAttribute,
01428    rti1516::FederateHandle theOwner)
01429    throw (
01430       rti1516::ObjectInstanceNotKnown,
01431       rti1516::AttributeNotRecognized,
01432       rti1516::FederateInternalError)
01433 {
01434    if (myFedAmb)
01435    {
01436       myFedAmb->informAttributeOwnership(theObject, theAttribute, theOwner);
01437    }
01438 }
01439 
01440 inline void DtFedAmbWrapper::attributeIsNotOwned (
01441    rti1516::ObjectInstanceHandle theObject,
01442    rti1516::AttributeHandle theAttribute)
01443    throw (
01444       rti1516::ObjectInstanceNotKnown,
01445       rti1516::AttributeNotRecognized,
01446       rti1516::FederateInternalError)
01447 {
01448    if (myFedAmb)
01449    {
01450       myFedAmb->attributeIsNotOwned(theObject, theAttribute);
01451    }
01452 }
01453 
01454 inline void DtFedAmbWrapper::attributeIsOwnedByRTI (
01455    rti1516::ObjectInstanceHandle theObject,
01456    rti1516::AttributeHandle theAttribute)
01457    throw (
01458       rti1516::ObjectInstanceNotKnown,
01459       rti1516::AttributeNotRecognized,
01460       rti1516::FederateInternalError)
01461 {
01462    if (myFedAmb)
01463    {
01464       myFedAmb->attributeIsOwnedByRTI(theObject, theAttribute);
01465    }
01466 }
01467 
01471 
01472 inline void DtFedAmbWrapper::timeRegulationEnabled (
01473    rti1516::LogicalTime const & theFederateTime)
01474       throw (
01475          rti1516::InvalidLogicalTime,
01476          rti1516::NoRequestToEnableTimeRegulationWasPending,
01477          rti1516::FederateInternalError)
01478 {
01479    if (myFedAmb)
01480    {
01481       myFedAmb->timeRegulationEnabled(theFederateTime);
01482    }
01483 }
01484 
01485 inline void DtFedAmbWrapper::timeConstrainedEnabled (
01486    rti1516::LogicalTime const & theFederateTime)
01487       throw (
01488          rti1516::InvalidLogicalTime,
01489          rti1516::NoRequestToEnableTimeConstrainedWasPending,
01490          rti1516::FederateInternalError)
01491 {
01492    if (myFedAmb)
01493    {
01494       myFedAmb->timeConstrainedEnabled(theFederateTime);
01495    }
01496 }
01497 
01498 inline void DtFedAmbWrapper::timeAdvanceGrant (
01499    rti1516::LogicalTime const & theTime)
01500       throw (
01501          rti1516::InvalidLogicalTime,
01502          rti1516::JoinedFederateIsNotInTimeAdvancingState,
01503          rti1516::FederateInternalError)
01504 {
01505    if (myFedAmb)
01506    {
01507       myFedAmb->timeAdvanceGrant(theTime);
01508    }
01509 }
01510 
01511 inline void DtFedAmbWrapper::requestRetraction (
01512    rti1516::MessageRetractionHandle theHandle)
01513       throw (
01514          rti1516::FederateInternalError)
01515 {
01516    if (myFedAmb)
01517    {
01518       myFedAmb->requestRetraction(theHandle);
01519    }
01520 }
01521 
01522 #endif //! DtIFSPEC1516
01523 #endif  //! DtFedAmbWrapper_H_

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)