# federateAmbServices.hh

Go to the documentation of this file.

    00001 // HLA 1.3 Header "federateAmbServices.hh"
    00002 // $Id: federateAmbServices.hh,v 3.1 2005/04/30 16:30:43 breholee Exp $
    00003
    00004 // Federation Management
    00005
    00006 virtual void synchronizationPointRegistrationSucceeded(const char *)
    00007     throw (FederateInternalError) = 0 ;
    00008
    00009 virtual void synchronizationPointRegistrationFailed(const char *)
    00010     throw (FederateInternalError) = 0 ;
    00011
    00012 virtual void announceSynchronizationPoint(const char *, const char *)
    00013     throw (FederateInternalError) = 0 ;
    00014
    00015 virtual void federationSynchronized(const char *)
    00016     throw (FederateInternalError) = 0 ;
    00017
    00018 virtual void initiateFederateSave (const char *)
    00019     throw (UnableToPerformSave, FederateInternalError) = 0 ;
    00020
    00021 virtual void federationSaved()
    00022     throw (FederateInternalError) = 0 ;
    00023
    00024 virtual void federationNotSaved ()
    00025     throw (FederateInternalError) = 0 ;
    00026
    00027 virtual void requestFederationRestoreSucceeded (const char *)
    00028     throw (FederateInternalError) = 0 ;
    00029
    00030 virtual void requestFederationRestoreFailed(const char *, const char *)
    00031     throw (FederateInternalError) = 0 ;
    00032
    00033 virtual void federationRestoreBegun()
    00034     throw (FederateInternalError) = 0 ;
    00035
    00036 virtual void initiateFederateRestore (const char *, FederateHandle)
    00037     throw (SpecifiedSaveLabelDoesNotExist, CouldNotRestore, FederateInternalError) = 0 ;
    00038
    00039 virtual void federationRestored()
    00040     throw (FederateInternalError) = 0 ;
    00041
    00042 virtual void federationNotRestored()
    00043     throw (FederateInternalError) = 0 ;
    00044
    00045 // Declaration Management
    00046
    00047 virtual void startRegistrationForObjectClass(ObjectClassHandle)
    00048     throw (ObjectClassNotPublished, FederateInternalError) = 0 ;
    00049
    00050 virtual void stopRegistrationForObjectClass(ObjectClassHandle)
    00051     throw (ObjectClassNotPublished, FederateInternalError) = 0 ;
    00052
    00053 virtual void turnInteractionsOn(InteractionClassHandle)
    00054     throw (InteractionClassNotPublished, FederateInternalError) = 0 ;
    00055
    00056 virtual void turnInteractionsOff(InteractionClassHandle)
    00057     throw (InteractionClassNotPublished, FederateInternalError) = 0 ;
    00058
    00059 // Object Management
    00060
    00061 virtual void discoverObjectInstance(ObjectHandle, ObjectClassHandle, const char *)
    00062     throw (CouldNotDiscover, ObjectClassNotKnown, FederateInternalError) = 0 ;
    00063
    00064 virtual void reflectAttributeValues(ObjectHandle, const AttributeHandleValuePairSet &,
    00065                     const FedTime &, const char *, EventRetractionHandle)
    00066     throw (ObjectNotKnown, AttributeNotKnown, FederateOwnsAttributes, InvalidFederationTime,
    00067        FederateInternalError) = 0 ;
    00068
    00069 virtual void reflectAttributeValues(ObjectHandle, const AttributeHandleValuePairSet &, const char *)
    00070     throw (ObjectNotKnown, AttributeNotKnown, FederateOwnsAttributes, FederateInternalError) = 0 ;
    00071
    00072 virtual void receiveInteraction(InteractionClassHandle, const ParameterHandleValuePairSet &,
    00073                 const FedTime &, const char *, EventRetractionHandle)
    00074     throw (InteractionClassNotKnown, InteractionParameterNotKnown, InvalidFederationTime,
    00075        FederateInternalError) = 0 ;
    00076
    00077 virtual void receiveInteraction(InteractionClassHandle, const ParameterHandleValuePairSet &, const char *)
    00078     throw (InteractionClassNotKnown, InteractionParameterNotKnown, FederateInternalError) = 0 ;
    00079
    00080 virtual void removeObjectInstance(ObjectHandle, const FedTime &, const char *, EventRetractionHandle)
    00081     throw (ObjectNotKnown, InvalidFederationTime, FederateInternalError) = 0 ;
    00082
    00083 virtual void removeObjectInstance(ObjectHandle, const char *)
    00084     throw (ObjectNotKnown, FederateInternalError) = 0 ;
    00085
    00086 virtual void attributesInScope (ObjectHandle, const AttributeHandleSet &)
    00087     throw (ObjectNotKnown, AttributeNotKnown, FederateInternalError) = 0 ;
    00088
    00089 virtual void attributesOutOfScope(ObjectHandle, const AttributeHandleSet &)
    00090     throw (ObjectNotKnown, AttributeNotKnown, FederateInternalError) = 0 ;
    00091
    00092 virtual void provideAttributeValueUpdate(ObjectHandle, const AttributeHandleSet &)
    00093     throw (ObjectNotKnown, AttributeNotKnown, AttributeNotOwned, FederateInternalError) = 0 ;
    00094
    00095 virtual void turnUpdatesOnForObjectInstance (ObjectHandle, const AttributeHandleSet &)
    00096     throw (ObjectNotKnown, AttributeNotOwned, FederateInternalError) = 0 ;
    00097
    00098 virtual void turnUpdatesOffForObjectInstance (ObjectHandle, const AttributeHandleSet &)
    00099     throw (ObjectNotKnown, AttributeNotOwned, FederateInternalError) = 0 ;
    00100
    00101 // Ownership Management
    00102
    00103 virtual void requestAttributeOwnershipAssumption(ObjectHandle, const AttributeHandleSet &, const char *)
    00104     throw (ObjectNotKnown, AttributeNotKnown, AttributeAlreadyOwned, AttributeNotPublished,
    00105        FederateInternalError) = 0 ;
    00106
    00107 virtual void attributeOwnershipDivestitureNotification(ObjectHandle, const AttributeHandleSet &)
    00108     throw (ObjectNotKnown, AttributeNotKnown, AttributeNotOwned, AttributeDivestitureWasNotRequested,
    00109        FederateInternalError) = 0 ;
    00110
    00111 virtual void attributeOwnershipAcquisitionNotification(ObjectHandle, const AttributeHandleSet &)
    00112     throw (ObjectNotKnown, AttributeNotKnown, AttributeAcquisitionWasNotRequested, AttributeAlreadyOwned,
    00113        AttributeNotPublished, FederateInternalError) = 0 ;
    00114
    00115 virtual void attributeOwnershipUnavailable(ObjectHandle, const AttributeHandleSet &)
    00116     throw (ObjectNotKnown, AttributeNotKnown, AttributeNotDefined, AttributeAlreadyOwned,
    00117        AttributeAcquisitionWasNotRequested, FederateInternalError) = 0 ;
    00118
    00119 virtual void requestAttributeOwnershipRelease(ObjectHandle, const AttributeHandleSet &, const char *)
    00120     throw (ObjectNotKnown, AttributeNotKnown, AttributeNotOwned, FederateInternalError) = 0 ;
    00121
    00122 virtual void confirmAttributeOwnershipAcquisitionCancellation(ObjectHandle, const AttributeHandleSet &)
    00123     throw (ObjectNotKnown, AttributeNotKnown, AttributeNotDefined, AttributeAlreadyOwned,
    00124        AttributeAcquisitionWasNotCanceled, FederateInternalError) = 0 ;
    00125
    00126 virtual void informAttributeOwnership(ObjectHandle, AttributeHandle, FederateHandle)
    00127     throw (ObjectNotKnown, AttributeNotKnown, FederateInternalError) = 0 ;
    00128
    00129 virtual void attributeIsNotOwned(ObjectHandle, AttributeHandle)
    00130     throw (ObjectNotKnown, AttributeNotKnown, FederateInternalError) = 0 ;
    00131
    00132 virtual void attributeOwnedByRTI (ObjectHandle, AttributeHandle)
    00133     throw (ObjectNotKnown, AttributeNotKnown, FederateInternalError) = 0 ;
    00134
    00135 // Time Management
    00136
    00137 virtual void timeRegulationEnabled(const  FedTime &)
    00138     throw (InvalidFederationTime, EnableTimeRegulationWasNotPending, FederateInternalError) = 0 ;
    00139
    00140 virtual void timeConstrainedEnabled(const FedTime &)
    00141     throw (InvalidFederationTime, EnableTimeConstrainedWasNotPending, FederateInternalError) = 0 ;
    00142
    00143 virtual void timeAdvanceGrant(const FedTime &)
    00144     throw (InvalidFederationTime, TimeAdvanceWasNotInProgress, FederationTimeAlreadyPassed,
    00145        FederateInternalError) = 0 ;
    00146
    00147 virtual void requestRetraction(EventRetractionHandle)
    00148     throw (EventNotKnown, FederateInternalError) = 0 ;
    00149
    00150 virtual ~FederateAmbassador()
    00151     throw (FederateInternalError) { ; }