![]() |
VR-Link API Documentation for HLA 4
|
Inheritance diagram for DtBaseTransferControlManager:
Collaboration diagram for DtBaseTransferControlManager:Public Member Functions | |
| DtBaseTransferControlManager (DtExerciseConn *exConn) | |
| ~DtBaseTransferControlManager () | |
| virtual void | addTransferControlNotificationCallback (DtTransferControlInteractionCb usrCallback, void *user) |
| Callbacks for transfer control interactions that are intended for this application. More... | |
| virtual void | addAcknowledgementNotificationCallback (DtAcknowledgeInteractionCb usrCallback, void *user) |
| Callbacks for acknowledgement interactions that match up with requests made. More... | |
| virtual void | addSetRecordNotificationCallback (DtSetRecordInteractionCb usrCallback, void *user) |
| Callbacks for set record interactions that match up with requests made. More... | |
| virtual void | processTransferControlRequest (DtTransferControlInteraction *tci) |
| Processes incoming transfer control requests. More... | |
| virtual bool | processAcknowledge (DtAcknowledgeInteraction *tci) |
| Processes incoming transfer control requests. More... | |
| virtual void | processSetRecord (DtSetRecordInteraction *setRec) |
| Processes the incoming SetRecord interaction. Tracks the number of records for each individual request ID. More... | |
| virtual void | sendAcknowledgement (DtU32 requestIdentifier, bool approve, DtRecordSetList *recordSetList=nullptr, DtStateRepository *stateRepo=nullptr) |
| Send an ackowledgement for a transfer control request specified by the requestIdentifier while indicating approval or disapproval of the transfer. More... | |
| virtual void | sendSetRecord (DtEntityIdentifier originatingApplicationId, DtU32 requestIdentifier, DtRecordSetList *recordSetList, DtStateRepository *stateRepo) |
| Send out the SetRecord interaction for internal data. More... | |
| virtual unsigned int | sendTransferControlRequest (DtTransferControlInteraction *tci) |
| Send the supplied transfer control request. More... | |
| virtual unsigned int | sendTransferControlRequest (DtEntityIdentifier receivingApplicationId, DtGlobalObjectDesignator transferredEntityId) |
| Send a transfer control request with the supplied receiving application identifier and transferred entity identifier. More... | |
| virtual DtTransferControlInteraction * | pendingOutgoingTransferRequest (DtU32 requestIdentifier) |
| return a pointer to the pending outgoing transfer request with the given requestIdentifier. More... | |
| virtual bool | getSetRecordTracker (DtU32 requestIdentifier, DtSetRecordTracker &tracker) |
| get a DtSetRecordTracker object for the given Request Identifier, returns a bool to indicate success or failure. More... | |
| virtual void | sendEventReport (DtGlobalObjectDesignator identifier) |
| sends out a Ownership Event Report interaction, indicating the new owner of the indicated object More... | |
| virtual void | sendSetRecordInteraction (DtU32 requestIdentifier)=0 |
| Pure virtual functions that are protocol specific and must be defined in subclass. More... | |
| virtual void | invokeNewAndLostObjectCallbacks ()=0 |
| Post drain callback to return publisher objects through callbacks. More... | |
| virtual DtU32 | findRequestIdForObject (const DtGlobalObjectDesignator &objDesignator) |
| virtual bool | removeObjectFromTransferredSet (const DtGlobalObjectDesignator &objectDesignator, DtU32 requestId) |
| virtual bool | isTransferredSetEmpty (DtU32 requestIdentifier) const |
Static Public Member Functions | |
| static void | transferControlRequestCallback (DtTransferControlInteraction *tci, void *user) |
| Callback for incoming Transer Control Requests. More... | |
| static void | acknowledgeCallback (DtAcknowledgeInteraction *ack, void *user) |
| Callback for incoming acknowledgement interactions. More... | |
| static void | setRecordCallback (DtSetRecordInteraction *setRec, void *user) |
| Callback for incoming SetRecord interactions. More... | |
| static void | postDrainCallback (void *user) |
| Post Drain callback. More... | |
Protected Member Functions | |
| virtual void | addOutgoingTransferControlRequest (DtTransferControlInteraction *tci) |
| Adds the outoing transfer control interaction to a map of outgoing transfer control interactions, sorted by Request Identifier. More... | |
| virtual void | addIncomingTransferControlRequest (DtTransferControlInteraction *tci) |
| Adds the incoming transfer control interaction to a map of incoming transfer control interactions, sorted by Request Identifier. More... | |
| virtual void | removeOutgoingTransferControlRequest (DtGlobalObjectDesignator identifier) |
| Removes the outgoing transfer control interaction to a map of outgoing transfer control interactions, sorted by Request Identifier Called when a transfer completes, either successfully or unsucessfully. More... | |
| virtual void | removeIncomingTransferControlRequest (DtGlobalObjectDesignator identifier) |
| Removes the incoming transfer control interaction to a map of incoming transfer control interactions, sorted by Request Identifier Called when a transfer completes, either successfully or unsucessfully. More... | |
Protected Attributes | |
| DtExerciseConn * | myExConn |
| std::list < DtTransferControlCbInfo > | myTransferControlNotificationCbList |
| std::list < DtAcknowledgementCbInfo > | myAcknowledgementNotificationCbList |
| std::list< DtSetRecordCbInfo > | mySetRecordNotificationList |
| std::map< DtU32, DtTransferControlInteraction > | myIncomingTransferControlRequests |
| std::map< DtU32, DtTransferControlInteraction > | myOutgoingTransferControlRequests |
| std::map < DtGlobalObjectDesignator, DtU32 > | myObjectIdToRequestIdMap |
| std::map< DtU32, DtSetRecordTracker > | mySetRecordTrackerMap |
| std::map< DtU32, std::set < DtGlobalObjectDesignator > > | myRequestIdToTransferredObjectListMap |
Private Member Functions | |
| DtBaseTransferControlManager (const DtBaseTransferControlManager &orig) | |
| copy constructor – Not Implemented More... | |
| DtBaseTransferControlManager & | operator= (const DtBaseTransferControlManager &orig) |
| assignment operator – Not Implemented More... | |
| DtBaseTransferControlManager::DtBaseTransferControlManager | ( | DtExerciseConn * | exConn | ) |
| DtBaseTransferControlManager::~DtBaseTransferControlManager | ( | ) |
|
private |
copy constructor – Not Implemented
|
static |
Callback for incoming acknowledgement interactions.
|
virtual |
Callbacks for acknowledgement interactions that match up with requests made.
|
protectedvirtual |
Adds the incoming transfer control interaction to a map of incoming transfer control interactions, sorted by Request Identifier.
|
protectedvirtual |
Adds the outoing transfer control interaction to a map of outgoing transfer control interactions, sorted by Request Identifier.
|
virtual |
Callbacks for set record interactions that match up with requests made.
|
virtual |
Callbacks for transfer control interactions that are intended for this application.
|
virtual |
|
virtual |
get a DtSetRecordTracker object for the given Request Identifier, returns a bool to indicate success or failure.
|
pure virtual |
Post drain callback to return publisher objects through callbacks.
Virtual here since it is protocol specific. Defined in subclasses.
Implemented in DtTransferControlManager.
|
virtual |
|
private |
assignment operator – Not Implemented
|
virtual |
return a pointer to the pending outgoing transfer request with the given requestIdentifier.
returns nullptr if no pending outgoing transfer request is found.
|
static |
Post Drain callback.
|
virtual |
Processes incoming transfer control requests.
If the ReceivingEntity identifier matches this federate's site:app the callbacks will be invoked.
|
virtual |
Processes the incoming SetRecord interaction. Tracks the number of records for each individual request ID.
Reimplemented in DtTransferControlManager.
|
virtual |
Processes incoming transfer control requests.
If the ReceivingEntity identifier matches this federate's site:app the callbacks will be invoked.
|
protectedvirtual |
Removes the incoming transfer control interaction to a map of incoming transfer control interactions, sorted by Request Identifier Called when a transfer completes, either successfully or unsucessfully.
|
virtual |
|
protectedvirtual |
Removes the outgoing transfer control interaction to a map of outgoing transfer control interactions, sorted by Request Identifier Called when a transfer completes, either successfully or unsucessfully.
|
virtual |
Send an ackowledgement for a transfer control request specified by the requestIdentifier while indicating approval or disapproval of the transfer.
Optionally, supply a DtRecordSet of internal data for the entity or its subsystems. Optionally, supply a pointer to the DtStateRepository for VR-Link to transfer known subsytems
|
virtual |
sends out a Ownership Event Report interaction, indicating the new owner of the indicated object
|
virtual |
Send out the SetRecord interaction for internal data.
|
pure virtual |
Pure virtual functions that are protocol specific and must be defined in subclass.
Implemented in DtTransferControlManager.
|
virtual |
Send the supplied transfer control request.
|
virtual |
Send a transfer control request with the supplied receiving application identifier and transferred entity identifier.
|
static |
Callback for incoming SetRecord interactions.
|
static |
Callback for incoming Transer Control Requests.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |