⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 federateambassador.h

📁 pRTI 自带的include文件包
💻 H
📖 第 1 页 / 共 2 页
字号:
             AttributeNotRecognized,
             AttributeNotSubscribed,
             InvalidLogicalTime,
             FederateInternalError) = 0;

    // 6.9
    virtual
    void
    receiveInteraction
    (InteractionClassHandle const & theInteraction,
     std::auto_ptr< ParameterHandleValueMap > theParameterValues,
     UserSuppliedTag const & theUserSuppliedTag,
     OrderType const & sentOrder,
     TransportationType const & theType)
      throw (InteractionClassNotRecognized,
             InteractionParameterNotRecognized,
             InteractionClassNotSubscribed,
             FederateInternalError) = 0;

    virtual
    void
    receiveInteraction
    (InteractionClassHandle const & theInteraction,
     std::auto_ptr< ParameterHandleValueMap > theParameterValues,
     UserSuppliedTag const & theUserSuppliedTag,
     OrderType const & sentOrder,
     TransportationType const & theType,
     RegionHandleSet const & theSentRegionHandleSet)
      throw (InteractionClassNotRecognized,
             InteractionParameterNotRecognized,
             InteractionClassNotSubscribed,
             FederateInternalError) = 0;

    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) = 0;

    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) = 0;

    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) = 0;

    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) = 0;

    // 6.11
    virtual
    void
    removeObjectInstance(ObjectInstanceHandle const & theObject,
                         UserSuppliedTag const & theUserSuppliedTag,
                         OrderType const & sentOrder)
      throw (ObjectInstanceNotKnown,
             FederateInternalError) = 0;

    virtual
    void
    removeObjectInstance(ObjectInstanceHandle const & theObject,
                         UserSuppliedTag const & theUserSuppliedTag,
                         OrderType const & sentOrder,
                         LogicalTime const & theTime,
                         OrderType const & receivedOrder)
      throw (ObjectInstanceNotKnown,
             FederateInternalError) = 0;

    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) = 0;

    // 6.15
    virtual
    void
    attributesInScope
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeNotSubscribed,
             FederateInternalError) = 0;

    // 6.16
    virtual
    void
    attributesOutOfScope
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeNotSubscribed,
             FederateInternalError) = 0;

    // 6.18
    virtual
    void
    provideAttributeValueUpdate
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > theAttributes,
     UserSuppliedTag const & theUserSuppliedTag)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeNotOwned,
             FederateInternalError) = 0;

    // 6.19
    virtual
    void
    turnUpdatesOnForObjectInstance
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeNotOwned,
             FederateInternalError) = 0;

    // 6.20
    virtual
    void
    turnUpdatesOffForObjectInstance
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeNotOwned,
             FederateInternalError) = 0;

    ///////////////////////////////////
    // 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) = 0;

    // 7.5
    virtual
    void
    requestDivestitureConfirmation
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > releasedAttributes)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeNotOwned,
             AttributeDivestitureWasNotRequested,
             FederateInternalError) = 0;

    // 7.7
    virtual
    void
    attributeOwnershipAcquisitionNotification
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > securedAttributes,
     UserSuppliedTag const & theUserSuppliedTag)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeAcquisitionWasNotRequested,
             AttributeAlreadyOwned,
             AttributeNotPublished,
             FederateInternalError) = 0;

    // 7.10
    virtual
    void
    attributeOwnershipUnavailable
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeAlreadyOwned,
             AttributeAcquisitionWasNotRequested,
             FederateInternalError) = 0;

    // 7.11
    virtual
    void
    requestAttributeOwnershipRelease
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > candidateAttributes,
     UserSuppliedTag const & theUserSuppliedTag)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeNotOwned,
             FederateInternalError) = 0;

    // 7.15
    virtual
    void
    confirmAttributeOwnershipAcquisitionCancellation
    (ObjectInstanceHandle const & theObject,
     std::auto_ptr< AttributeHandleSet > theAttributes)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             AttributeAlreadyOwned,
             AttributeAcquisitionWasNotCanceled,
             FederateInternalError) = 0;

    // 7.17
    virtual
    void
    informAttributeOwnership(ObjectInstanceHandle const & theObject,
                             AttributeHandle const & theAttribute,
                             FederateHandle  const & theOwner)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             FederateInternalError) = 0;

    virtual
    void
    attributeIsNotOwned(ObjectInstanceHandle const & theObject,
                        AttributeHandle const & theAttribute)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             FederateInternalError) = 0;

    virtual
    void
    attributeIsOwnedByRTI(ObjectInstanceHandle const & theObject,
                          AttributeHandle const & theAttribute)
      throw (ObjectInstanceNotKnown,
             AttributeNotRecognized,
             FederateInternalError) = 0;

    //////////////////////////////
    // Time Management Services //
    //////////////////////////////
  
    // 8.3
    virtual
    void
    timeRegulationEnabled(LogicalTime const & theFederateTime)
      throw (InvalidLogicalTime,
             NoRequestToEnableTimeRegulationWasPending,
             FederateInternalError) = 0;

    // 8.6
    virtual
    void
    timeConstrainedEnabled(LogicalTime const & theFederateTime)
      throw (InvalidLogicalTime,
             NoRequestToEnableTimeConstrainedWasPending,
             FederateInternalError) = 0;

    // 8.13
    virtual
    void
    timeAdvanceGrant(LogicalTime const & theTime)
      throw (InvalidLogicalTime,
             JoinedFederateIsNotInTimeAdvancingState,
             FederateInternalError) = 0;

    // 8.22
    virtual
    void
    requestRetraction(MessageRetractionHandle const & theHandle)
      throw (FederateInternalError) = 0;
  };
}

#endif // RTI_FederateAmbassador_h

⌨️ 快捷键说明

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