|
| | DtRequestDatabase () |
| |
| virtual | ~DtRequestDatabase () |
| |
| virtual void | clearAll () |
| | Clear database of all entries. More...
|
| |
| virtual void | addRemoteRequest (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| | Call to indicate that a remote federate has requested ownership of requestSet. More...
|
| |
| virtual void | removeRemoteRequest (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| | Remove a Federate from the list of federates pending confirm for a set of attributes. More...
|
| |
| virtual void | removeRemoteRequest (const DtAttributeHandleSet &requestSet) |
| | Remote request of supplied attributes is complete. More...
|
| |
| virtual void | addPendingConfirm (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| | Call to indicate that these this federate has matched a divest with a remote request. More...
|
| |
| virtual void | removePendingConfirm (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| | Remove a Federate from the list of federates pending confirm for a set of attributes. More...
|
| |
| virtual void | addSkipPendingConfirm (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| |
| virtual void | removeSkipPendingConfirm (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| |
| virtual void | removePendingSkipConfirm (const DtAttributeHandleSet &requestSet) |
| |
| virtual void | removePendingConfirm (const DtAttributeHandleSet &requestSet) |
| | Remote request of supplied attributes is complete. More...
|
| |
| void | moveRemoteRequestToPendingList (const DtAttributeHandleSet &requestSet) |
| | Move all requests for the supplied attributes from the request list to the pending confirm list. More...
|
| |
| virtual void | cancelRemoteRequest (const DtAttributeHandleSet &canceledSet, DtFederateHandle fed) |
| | Remote request of supplied attributes is canceled. More...
|
| |
| virtual void | cancelAllRemoteRequest (const DtAttributeHandleSet &canceledSet) |
| | Remove all supplied attributes from pending set and add them to canceled set. More...
|
| |
| virtual void | removeCanceledRequests (const DtAttributeHandleSet &releaseSet) |
| | Remove the supplied attributes from the canceled set. More...
|
| |
| virtual bool | isRequestCanceled (DtAttributeHandle hand) const |
| | Returns boolean: is there a canceled request for the attribute for which the federate has not responded? More...
|
| |
| virtual DtAttributeHandleSet | canceledRequestSet () const |
| | Returns the set of canceled attributes requests. More...
|
| |
| virtual DtFederateHandle | releaseRequested (const DtAttributeHandleSet &inSet, DtAttributeHandleSet *releasedSet, bool keepForConfirm) |
| | Calls to this method with the attributes provided in inSet will remove and return in releaseSet any matching requested attributes from a single requesting federate, whose handle is the return argument. More...
|
| |
| virtual DtFederateHandle | releaseConfirm (const DtAttributeHandleSet &inSet, DtAttributeHandleSet *releasedSet) |
| | Calls to this method with the attributes provided in inSet will remove and return in releaseSet any matching pending confirm attributes assigned to a single requesting federate, whose handle is the return argument. More...
|
| |
| virtual DtFederateHandle | pendingRemoteRequest (DtAttributeHandle hand) const |
| | Returns the handle of the federate that has most recently requested ownership of this attribute. More...
|
| |
| virtual DtFederateHandle | pendingConfirm (DtAttributeHandle hand) const |
| | Returns the handle of the remote federate that will be given ownership pending confirmation from the local federate. More...
|
| |
| virtual DtAttributeHandleSet | requestedByFed (DtFederateHandle fed, bool includePendingConfirm=false) const |
| | Returns the set of attributes most recently requested by fed By default, attributes that are pending confirm are not returned. More...
|
| |
| virtual DtAttributeHandleSet | remoteRequestByFed (DtFederateHandle fed) const |
| | Returns the set of Attributes requested (not pending) by this federate. More...
|
| |
| virtual DtAttributeHandleSet | pendingConfirmByFed (DtFederateHandle fed) const |
| | Returns the current set of attributes that are pending confirm. More...
|
| |
| virtual int | requestCount () const |
| | Return the number of requested attributes. More...
|
| |
virtual DtAttributeHandleSet
const & | requestedAttributes () const |
| | Return the set of requested attributes. More...
|
| |
| virtual int | confirmCount () const |
| | Return the number of pending confirmed attributes. More...
|
| |
virtual DtAttributeHandleSet
const & | pendingConfirmAttributes () const |
| | Return the set of pending confirmed attributes. More...
|
| |
virtual DtAttributeHandleSet
const & | pendingSkipConfirmAttributes () const |
| |
| virtual void | markPendingRequestsUnavailable (const DtAttributeHandleSet &requestSet, DtFederateHandle confirmedFed) |
| | Mark Pending Requests unavailable for all requesting federates except the federate which has been confirmed. More...
|
| |
| virtual DtFederateHandle | unavailablePendingRequests (DtAttributeHandleSet *invalidatedSet) |
| | Get the next federate with pending requests that have become unavailable and the invalidated attrs. More...
|
| |
| virtual DtAttributeHandleSet | pendingSkipConfirmByFed (DtFederateHandle fed) const |
| |
| virtual DtFederateHandle | pendingSkipConfirm (DtAttributeHandle hand) const |
| |
class DtRequestDatabase
An object uses an instance of this class to manage ownership requests from remote federates. Adding a remote federate's request replaces any previous requests (i.e., only the most recent request is saved). As attributes are divested, this database is queried for matching requests. In the 1.3 IFSPEC, the requests are satisfied as soon as they are matched with a divestiture. In the 1516 IFSPEC, the request are not fully satisfied until the federate confirms the divestiture. A request can be canceled (and removed from the database). In the 1.3 IFSPEC, canceled requests are maintained in order to determine valid releases. Released attributes must have been requested, but a request can be canceled after a release request but before the release response.