📄 rtiambassador.hh
字号:
RestoreInProgress, //not implemented RTIinternalError); ObjectHandle registerObjectInstance(ObjectClassHandle theClass) throw (ObjectClassNotDefined, ObjectClassNotPublished, InvalidObjectHandle, //RTI ObjectAlreadyRegistered, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); EventRetractionHandle updateAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet& theAttributes, const FedTime& theTime, const char *theTag) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, InvalidFederationTime, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void updateAttributeValues(ObjectHandle theObject, const AttributeHandleValuePairSet& theAttributes, const char *theTag) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError, UnimplementedService); //CERTI EventRetractionHandle sendInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet& theParameters, const FedTime& theTime, const char *theTag) throw (InteractionClassNotDefined, InteractionClassNotPublished, InteractionParameterNotDefined, InvalidFederationTime, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void sendInteraction(InteractionClassHandle theInteraction, const ParameterHandleValuePairSet& theParameters, const char *theTag) throw (InteractionClassNotDefined, InteractionClassNotPublished, InteractionParameterNotDefined, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError, UnimplementedService); //CERTI EventRetractionHandle deleteObjectInstance(ObjectHandle theObject, const FedTime& theTime, const char *theTag) throw (ObjectNotKnown, DeletePrivilegeNotHeld, InvalidFederationTime, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void deleteObjectInstance(ObjectHandle theObject, const char *theTag) throw (ObjectNotKnown, DeletePrivilegeNotHeld, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError, UnimplementedService); //CERTI void localDeleteObjectInstance(ObjectHandle theObject) throw (ObjectNotKnown, FederateOwnsAttributes, //not implemented FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError, UnimplementedService); //CERTI void changeAttributeTransportationType(ObjectHandle theObject, const AttributeHandleSet& theAttributes, TransportationHandle theType) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, InvalidTransportType, //CERTI InvalidTransportationHandle, //not implemented FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void changeInteractionTransportationType(InteractionClassHandle theClass, TransportationHandle theType) throw (InteractionClassNotDefined, InteractionClassNotPublished, InvalidTransportType, //CERTI InvalidTransportationHandle, //not implemented FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void requestObjectAttributeValueUpdate(ObjectHandle theObject, const AttributeHandleSet& theAttributes) throw (ObjectNotKnown, // not implemented AttributeNotDefined, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError, UnimplementedService); //CERTI void requestClassAttributeValueUpdate(ObjectClassHandle theClass, const AttributeHandleSet& theAttributes) throw (ObjectClassNotDefined, AttributeNotDefined, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError, UnimplementedService); //CERTI // Ownership Management void unconditionalAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet& theAttributes) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); void negotiatedAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet& theAttributes, const char *theTag) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, AttributeAlreadyBeingDivested, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); void attributeOwnershipAcquisition(ObjectHandle theObject, const AttributeHandleSet& desiredAttributes, const char *theTag) throw (ObjectNotKnown, ObjectClassNotPublished, AttributeNotDefined, AttributeNotPublished, FederateOwnsAttributes, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); AttributeHandleSet* attributeOwnershipReleaseResponse(ObjectHandle theObject, const AttributeHandleSet& theAttributes) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, FederateWasNotAskedToReleaseAttribute, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); void cancelNegotiatedAttributeOwnershipDivestiture(ObjectHandle theObject, const AttributeHandleSet& theAttributes) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, AttributeDivestitureWasNotRequested, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); void cancelAttributeOwnershipAcquisition(ObjectHandle theObject, const AttributeHandleSet& theAttributes) throw (ObjectNotKnown, AttributeNotDefined, AttributeAlreadyOwned, AttributeAcquisitionWasNotRequested, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); void attributeOwnershipAcquisitionIfAvailable(ObjectHandle theObject, const AttributeHandleSet& desiredAttributes) throw (ObjectNotKnown, ObjectClassNotPublished, AttributeNotDefined, AttributeNotPublished, FederateOwnsAttributes, AttributeAlreadyBeingAcquired, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); void queryAttributeOwnership(ObjectHandle theObject, AttributeHandle theAttribute) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotKnown, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); Boolean isAttributeOwnedByFederate(ObjectHandle theObject, AttributeHandle theAttribute) throw (ObjectNotKnown, AttributeNotDefined, FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, RestoreInProgress, RTIinternalError); // Time Management ------------------------------------------------------- void enableTimeRegulation(const FedTime& theFederateTime, const FedTime& theLookahead) throw (FederationTimeAlreadyPassed, TimeRegulationAlreadyEnabled, //not implemented EnableTimeRegulationPending, //not implemented TimeAdvanceAlreadyInProgress, //not implemented InvalidFederationTime, //not implemented InvalidLookahead, //not implemented ConcurrentAccessAttempted, FederateNotExecutionMember, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void disableTimeRegulation() throw (FederationTimeAlreadyPassed, TimeRegulationWasNotEnabled, //not implemented ConcurrentAccessAttempted, FederateNotExecutionMember, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void enableTimeConstrained() throw (TimeConstrainedAlreadyEnabled, //not implemented EnableTimeConstrainedPending, //not implemented TimeAdvanceAlreadyInProgress, //not implemented FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void disableTimeConstrained() throw (TimeConstrainedWasNotEnabled, //not implemented FederateNotExecutionMember, ConcurrentAccessAttempted, SaveInProgress, //not implemented RestoreInProgress, //not implemented RTIinternalError); void timeAdvanceRequest( FedTime& theTime) throw (TimeAdvanceAlreadyInProgress, FederationTimeAlreadyPassed, InvalidFederationTime,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -