basefederateambassador.h

来自「pRTI chatroom源代码及程序打包」· C头文件 代码 · 共 591 行 · 第 1/2 页

H
591
字号
      FederateInternalError);
   
   virtual
      void
      receiveInteraction
      (InteractionClassHandle const & theInteraction,
      std::auto_ptr< ParameterHandleValueMap > theParameterValues,
      UserSuppliedTag const & theUserSuppliedTag,
      OrderType const & sentOrder,
      TransportationType const & theType,
      LogicalTime const & theTime,
      OrderType const & receivedOrder)
      throw (InteractionClassNotRecognized,
      InteractionParameterNotRecognized,
      InteractionClassNotSubscribed,
      FederateInternalError);
   
   virtual
      void
      receiveInteraction
      (InteractionClassHandle const & theInteraction,
      std::auto_ptr< ParameterHandleValueMap > theParameterValues,
      UserSuppliedTag const & theUserSuppliedTag,
      OrderType const & sentOrder,
      TransportationType const & theType,
      LogicalTime const & theTime,
      OrderType const & receivedOrder,
      RegionHandleSet const & theSentRegionHandleSet)
      throw (InteractionClassNotRecognized,
      InteractionParameterNotRecognized,
      InteractionClassNotSubscribed,
      FederateInternalError);
   
   virtual
      void
      receiveInteraction
      (InteractionClassHandle const & theInteraction,
      std::auto_ptr< ParameterHandleValueMap > theParameterValues,
      UserSuppliedTag const & theUserSuppliedTag,
      OrderType const & sentOrder,
      TransportationType const & theType,
      LogicalTime const & theTime,
      OrderType const & receivedOrder,
      MessageRetractionHandle const & theHandle)
      throw (InteractionClassNotRecognized,
      InteractionParameterNotRecognized,
      InteractionClassNotSubscribed,
      InvalidLogicalTime,
      FederateInternalError);
   
   virtual
      void
      receiveInteraction
      (InteractionClassHandle const & theInteraction,
      std::auto_ptr< ParameterHandleValueMap > theParameterValues,
      UserSuppliedTag const & theUserSuppliedTag,
      OrderType const & sentOrder,
      TransportationType const & theType,
      LogicalTime const & theTime,
      OrderType const & receivedOrder,
      MessageRetractionHandle const & theHandle,
      RegionHandleSet const & theSentRegionHandleSet)
      throw (InteractionClassNotRecognized,
      InteractionParameterNotRecognized,
      InteractionClassNotSubscribed,
      InvalidLogicalTime,
      FederateInternalError);
   
   // 6.11
   virtual
      void
      removeObjectInstance(ObjectInstanceHandle const & theObject,
      UserSuppliedTag const & theUserSuppliedTag,
      OrderType const & sentOrder)
      throw (ObjectInstanceNotKnown,
      FederateInternalError);
   
   virtual
      void
      removeObjectInstance(ObjectInstanceHandle const & theObject,
      UserSuppliedTag const & theUserSuppliedTag,
      OrderType const & sentOrder,
      LogicalTime const & theTime,
      OrderType const & receivedOrder)
      throw (ObjectInstanceNotKnown,
      FederateInternalError);
   
   virtual
      void
      removeObjectInstance(ObjectInstanceHandle const & theObject,
      UserSuppliedTag const & theUserSuppliedTag,
      OrderType const & sentOrder,
      LogicalTime const & theTime,
      OrderType const & receivedOrder,
      MessageRetractionHandle const & theHandle)
      throw (ObjectInstanceNotKnown,
      InvalidLogicalTime,
      FederateInternalError);
   
   // 6.15
   virtual
      void
      attributesInScope
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeNotSubscribed,
      FederateInternalError);
   
   // 6.16
   virtual
      void
      attributesOutOfScope
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeNotSubscribed,
      FederateInternalError);
   
   // 6.18
   virtual
      void
      provideAttributeValueUpdate
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > theAttributes,
      UserSuppliedTag const & theUserSuppliedTag)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeNotOwned,
      FederateInternalError);
   
   // 6.19
   virtual
      void
      turnUpdatesOnForObjectInstance
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeNotOwned,
      FederateInternalError);
   
   // 6.20
   virtual
      void
      turnUpdatesOffForObjectInstance
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeNotOwned,
      FederateInternalError);
   
   ///////////////////////////////////
   // Ownership Management Services //
   ///////////////////////////////////
   
   // 7.4
   virtual
      void
      requestAttributeOwnershipAssumption
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > offeredAttributes,
      UserSuppliedTag const & theUserSuppliedTag)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeAlreadyOwned,
      AttributeNotPublished,
      FederateInternalError);
   
   // 7.5
   virtual
      void
      requestDivestitureConfirmation
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > releasedAttributes)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeNotOwned,
      AttributeDivestitureWasNotRequested,
      FederateInternalError);
   
   // 7.7
   virtual
      void
      attributeOwnershipAcquisitionNotification
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > securedAttributes,
      UserSuppliedTag const & theUserSuppliedTag)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeAcquisitionWasNotRequested,
      AttributeAlreadyOwned,
      AttributeNotPublished,
      FederateInternalError);
   
   // 7.10
   virtual
      void
      attributeOwnershipUnavailable
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeAlreadyOwned,
      AttributeAcquisitionWasNotRequested,
      FederateInternalError);
   
   // 7.11
   virtual
      void
      requestAttributeOwnershipRelease
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > candidateAttributes,
      UserSuppliedTag const & theUserSuppliedTag)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeNotOwned,
      FederateInternalError);
   
   // 7.15
   virtual
      void
      confirmAttributeOwnershipAcquisitionCancellation
      (ObjectInstanceHandle const & theObject,
      std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      AttributeAlreadyOwned,
      AttributeAcquisitionWasNotCanceled,
      FederateInternalError);
   
   // 7.17
   virtual
      void
      informAttributeOwnership(ObjectInstanceHandle const & theObject,
      AttributeHandle const & theAttribute,
      FederateHandle  const & theOwner)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      FederateInternalError);
   
   virtual
      void
      attributeIsNotOwned(ObjectInstanceHandle const & theObject,
      AttributeHandle const & theAttribute)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      FederateInternalError);
   
   virtual
      void
      attributeIsOwnedByRTI(ObjectInstanceHandle const & theObject,
      AttributeHandle const & theAttribute)
      throw (ObjectInstanceNotKnown,
      AttributeNotRecognized,
      FederateInternalError);
   
   //////////////////////////////
   // Time Management Services //
   //////////////////////////////
   
   // 8.3
   virtual
      void
      timeRegulationEnabled(LogicalTime const & theFederateTime)
      throw (InvalidLogicalTime,
      NoRequestToEnableTimeRegulationWasPending,
      FederateInternalError);
   
   // 8.6
   virtual
      void
      timeConstrainedEnabled(LogicalTime const & theFederateTime)
      throw (InvalidLogicalTime,
      NoRequestToEnableTimeConstrainedWasPending,
      FederateInternalError);
   
   // 8.13
   virtual
      void
      timeAdvanceGrant(LogicalTime const & theTime)
      throw (InvalidLogicalTime,
      JoinedFederateIsNotInTimeAdvancingState,
      FederateInternalError);
   
   // 8.22
   virtual
      void
      requestRetraction(MessageRetractionHandle const & theHandle)
      throw (FederateInternalError);
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?