📄 basefederateambassador.h
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -