📄 federation.hh
字号:
ObjectAlreadyRegistered, ObjectClassNotDefined, SaveInProgress, RestoreInProgress, RTIinternalError); void subscribeObject(FederateHandle theFederateHandle, ObjectClassHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize, bool SubOrUnSub) throw (ObjectClassNotDefined, AttributeNotDefined, FederateNotExecutionMember, SaveInProgress, SecurityError, RestoreInProgress, RTIinternalError); void updateAttributeValues(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, AttributeValue *theValueList, UShort theListSize, FederationTime theTime, const char *theTag) throw (FederateNotExecutionMember, ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, SaveInProgress, RestoreInProgress, RTIinternalError); // ---------------------------- // -- Interaction Management -- // ---------------------------- void broadcastInteraction(FederateHandle theFederateHandle, InteractionClassHandle theInteractionHandle, ParameterHandle *theParameterList, ParameterValue *theValueList, UShort theListSize, FederationTime theTime, const char *theTag) throw (FederateNotExecutionMember, FederateNotPublishing, InteractionClassNotDefined, InteractionParameterNotDefined, SaveInProgress, RestoreInProgress, RTIinternalError); void publishInteraction(FederateHandle theFederateHandle, InteractionClassHandle theInteractionHandle, bool PubOrUnpub) throw (InteractionClassNotDefined, FederateNotExecutionMember, SaveInProgress, SecurityError, RestoreInProgress, RTIinternalError); void subscribeInteraction(FederateHandle theFederateHandle, InteractionClassHandle theInteractionHandle, bool SubOrUnsub) throw (InteractionClassNotDefined, FederateNotExecutionMember, SaveInProgress, SecurityError, RestoreInProgress, RTIinternalError); // -------------------------- // -- Ownership Management -- // -------------------------- bool isOwner(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle theAttribute) throw (FederateNotExecutionMember, ObjectNotKnown, AttributeNotDefined, SaveInProgress, RestoreInProgress, RTIinternalError); void queryAttributeOwnership(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle theAttribute) throw (FederateNotExecutionMember, ObjectNotKnown, AttributeNotDefined, SaveInProgress, RestoreInProgress, RTIinternalError); void negotiateDivestiture(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize, const char *theTag) throw (FederateNotExecutionMember, ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, AttributeAlreadyBeingDivested, SaveInProgress, RestoreInProgress, RTIinternalError); void acquireIfAvailable(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize) throw (ObjectNotKnown, ObjectClassNotPublished, AttributeNotDefined, AttributeNotPublished, FederateOwnsAttributes, AttributeAlreadyBeingAcquired, FederateNotExecutionMember, SaveInProgress, RestoreInProgress, RTIinternalError); void divest(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, FederateNotExecutionMember, SaveInProgress, RestoreInProgress, RTIinternalError); void acquire(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize, const char *theTag) throw (ObjectNotKnown, ObjectClassNotPublished, AttributeNotDefined, AttributeNotPublished, FederateOwnsAttributes, FederateNotExecutionMember, SaveInProgress, RestoreInProgress, RTIinternalError); void cancelDivestiture(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, AttributeDivestitureWasNotRequested, FederateNotExecutionMember, SaveInProgress, RestoreInProgress, RTIinternalError); AttributeHandleSet* respondRelease(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize) throw (ObjectNotKnown, AttributeNotDefined, AttributeNotOwned, FederateWasNotAskedToReleaseAttribute, FederateNotExecutionMember, SaveInProgress, RestoreInProgress, RTIinternalError); void cancelAcquisition(FederateHandle theFederateHandle, ObjectHandle theObjectHandle, AttributeHandle *theAttributeList, UShort theListSize) throw (ObjectNotKnown, AttributeNotDefined, AttributeAlreadyOwned, AttributeAcquisitionWasNotRequested, FederateNotExecutionMember, SaveInProgress, RestoreInProgress, RTIinternalError);private: // --------------------- // -- Private Methods -- // --------------------- void broadcastAnyMessage(NetworkMessage *msg, FederateHandle Except); Federate *getByName(const char *theName) const throw (FederateNotExecutionMember); Federate *getByHandle(FederateHandle theHandle) const throw (FederateNotExecutionMember); FederateHandle getNewHandle(void) throw (RTIinternalError);};}} // namespace certi/rtig#endif // _CERTI_RTIG_FEDERATION_HH// $Id: Federation.hh,v 3.10 2003/03/21 15:06:46 breholee Exp $
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -