📄 basefederateambassador.cpp
字号:
FederateInternalError)
{
}
void
BaseFederateAmbassador::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)
{
}
void
BaseFederateAmbassador::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)
{
}
void
BaseFederateAmbassador::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)
{
}
void
BaseFederateAmbassador::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
void
BaseFederateAmbassador::removeObjectInstance(ObjectInstanceHandle const & theObject,
UserSuppliedTag const & theUserSuppliedTag,
OrderType const & sentOrder)
throw (ObjectInstanceNotKnown,
FederateInternalError)
{
}
void
BaseFederateAmbassador::removeObjectInstance(ObjectInstanceHandle const & theObject,
UserSuppliedTag const & theUserSuppliedTag,
OrderType const & sentOrder,
LogicalTime const & theTime,
OrderType const & receivedOrder)
throw (ObjectInstanceNotKnown,
FederateInternalError)
{
}
void
BaseFederateAmbassador::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
void
BaseFederateAmbassador::attributesInScope
(ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > theAttributes)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError)
{
}
// 6.16
void
BaseFederateAmbassador::attributesOutOfScope
(ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > theAttributes)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotSubscribed,
FederateInternalError)
{
}
// 6.18
void
BaseFederateAmbassador::provideAttributeValueUpdate
(ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > theAttributes,
UserSuppliedTag const & theUserSuppliedTag)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError)
{
}
// 6.19
void
BaseFederateAmbassador::turnUpdatesOnForObjectInstance
(ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > theAttributes)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError)
{
}
// 6.20
void
BaseFederateAmbassador::turnUpdatesOffForObjectInstance
(ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > theAttributes)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError)
{
}
///////////////////////////////////
// Ownership Management Services //
///////////////////////////////////
// 7.4
void
BaseFederateAmbassador::requestAttributeOwnershipAssumption
(ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > offeredAttributes,
UserSuppliedTag const & theUserSuppliedTag)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAlreadyOwned,
AttributeNotPublished,
FederateInternalError)
{
}
// 7.5
void
BaseFederateAmbassador::requestDivestitureConfirmation
(ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > releasedAttributes)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
AttributeDivestitureWasNotRequested,
FederateInternalError)
{
}
// 7.7
void
BaseFederateAmbassador::attributeOwnershipAcquisitionNotification(
ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > securedAttributes,
UserSuppliedTag const & theUserSuppliedTag)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAcquisitionWasNotRequested,
AttributeAlreadyOwned,
AttributeNotPublished,
FederateInternalError)
{
}
// 7.10
void
BaseFederateAmbassador::attributeOwnershipUnavailable(
ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > theAttributes)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAlreadyOwned,
AttributeAcquisitionWasNotRequested,
FederateInternalError)
{
}
// 7.11
void
BaseFederateAmbassador::requestAttributeOwnershipRelease(
ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > candidateAttributes,
UserSuppliedTag const & theUserSuppliedTag)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeNotOwned,
FederateInternalError)
{
}
// 7.15
void
BaseFederateAmbassador::confirmAttributeOwnershipAcquisitionCancellation(
ObjectInstanceHandle const & theObject,
std::auto_ptr< AttributeHandleSet > theAttributes)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
AttributeAlreadyOwned,
AttributeAcquisitionWasNotCanceled,
FederateInternalError)
{
}
// 7.17
void
BaseFederateAmbassador::informAttributeOwnership(
ObjectInstanceHandle const & theObject,
AttributeHandle const & theAttribute,
FederateHandle const & theOwner)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
FederateInternalError)
{
}
void
BaseFederateAmbassador::attributeIsNotOwned(
ObjectInstanceHandle const & theObject,
AttributeHandle const & theAttribute)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
FederateInternalError)
{
}
void
BaseFederateAmbassador::attributeIsOwnedByRTI(
ObjectInstanceHandle const & theObject,
AttributeHandle const & theAttribute)
throw (ObjectInstanceNotKnown,
AttributeNotRecognized,
FederateInternalError)
{
}
//////////////////////////////
// Time Management Services //
//////////////////////////////
// 8.3
void
BaseFederateAmbassador::timeRegulationEnabled(LogicalTime const & theFederateTime)
throw (InvalidLogicalTime,
NoRequestToEnableTimeRegulationWasPending,
FederateInternalError)
{
}
// 8.6
void
BaseFederateAmbassador::timeConstrainedEnabled(LogicalTime const & theFederateTime)
throw (InvalidLogicalTime,
NoRequestToEnableTimeConstrainedWasPending,
FederateInternalError)
{
}
// 8.13
void
BaseFederateAmbassador::timeAdvanceGrant(LogicalTime const & theTime)
throw (InvalidLogicalTime,
JoinedFederateIsNotInTimeAdvancingState,
FederateInternalError)
{
}
// 8.22
void
BaseFederateAmbassador::requestRetraction(MessageRetractionHandle const & theHandle)
throw (FederateInternalError)
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -