![]() |
VR-Link API Documentation for HLA 1.3
|
Inheritance diagram for DtTransferControlManager:
Collaboration diagram for DtTransferControlManager:Public Member Functions | |
| DtTransferControlManager (DtExerciseConn *exConn) | |
| ~DtTransferControlManager () | |
| virtual void | processGainedOwnership (DtHlaObject *hlaObject) |
| virtual void | processLostOwnership (DtHlaObject *hlaObject) |
| virtual void | sendSetRecordInteraction (DtU32 requestIdentifier) |
| Pure virtual functions that are protocol specific and must be defined in subclass. More... | |
| virtual void | setNewTransferredEntityCallback (DtNewTransferredEntityCb func, void *usr) |
| Set the callback function to invoke when gaining ownership of a new entity. More... | |
| virtual void | setLostOwnershipOfEntityCallback (DtLostOwnershipOfEntityCb func, void *usr) |
| Set the callback function to invoke when losing ownership of an entity. More... | |
| virtual void | setLostOwnershipOfDIGuyCallback (DtLostOwnershipOfDIGuyCb func, void *usr) |
| Set the callback function to invoke when losing ownership of a DIGuy Object. More... | |
| virtual void | processSetRecord (DtSetRecordInteraction *setRec) |
| Processes the incoming SetRecord interaction. Tracks the number of records for each individual request ID. More... | |
| virtual void | invokeNewAndLostObjectCallbacks () |
| Post drain callback that calls both invokeNewObjectCallbacks() and invokeLostObjectCallbacks(). More... | |
| virtual void | invokeNewObjectCallbacks () |
| Post drain callback that invokes createEntityPublisher function when all related objects have been transferred. More... | |
| virtual void | invokeLostObjectCallbacks () |
| Post drain callback that invokes createReflectedEntity function when all related objects have been transferred. More... | |
| virtual DtEntityPublisher * | createEntityPublisher (DtHlaObjectWithStateRep *hlaObj, DtExerciseConn *exConn) |
| function that creates new Entity Publishers from transferred objects. More... | |
| virtual DtReflectedEntity * | createReflectedEntity (DtHlaObjectWithStateRep *hlaObj, DtExerciseConn *exConn) |
| function that creates new reflected entity objects after losing ownership of an object. More... | |
| virtual DtReflectedDIGuyObject * | createReflectedDIGuyObject (DtHlaObjectWithStateRep *hlaObj, DtExerciseConn *exConn) |
| function that creates new reflected DIGuy objects after losing ownership of an object. More... | |
Public Member Functions inherited from DtBaseTransferControlManager | |
| 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 | 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 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 | gainedOwnershipCallback (DtHlaObject *hlaObject, void *usr) |
| Static callback function invoked after successfully acquiring an object. More... | |
| static void | lostOwnershipCallback (DtHlaObject *hlaObject, void *usr) |
| Calls processLostOwnership. More... | |
Static Public Member Functions inherited from DtBaseTransferControlManager | |
| 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... | |
Private Member Functions | |
| DtTransferControlManager (const DtTransferControlManager &orig) | |
| copy constructor – Not Implemented More... | |
| DtTransferControlManager & | operator= (const DtTransferControlManager &orig) |
| assignment operator – Not Implemented More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DtBaseTransferControlManager | |
| 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... | |
| DtTransferControlManager::DtTransferControlManager | ( | DtExerciseConn * | exConn | ) |
| DtTransferControlManager::~DtTransferControlManager | ( | ) |
|
private |
copy constructor – Not Implemented
|
virtual |
function that creates new Entity Publishers from transferred objects.
Overwrite this to create extended publisher classes.
|
virtual |
function that creates new reflected DIGuy objects after losing ownership of an object.
Overwrite this to create extended reflected classes
|
virtual |
function that creates new reflected entity objects after losing ownership of an object.
Overwrite this to create extended reflected classes
|
static |
Static callback function invoked after successfully acquiring an object.
Calls processGainedOwnership
|
virtual |
Post drain callback that invokes createReflectedEntity function when all related objects have been transferred.
|
virtual |
Post drain callback that calls both invokeNewObjectCallbacks() and invokeLostObjectCallbacks().
Implements DtBaseTransferControlManager.
|
virtual |
Post drain callback that invokes createEntityPublisher function when all related objects have been transferred.
|
static |
Calls processLostOwnership.
|
private |
assignment operator – Not Implemented
|
virtual |
|
virtual |
|
virtual |
Processes the incoming SetRecord interaction. Tracks the number of records for each individual request ID.
Reimplemented from DtBaseTransferControlManager.
|
virtual |
Pure virtual functions that are protocol specific and must be defined in subclass.
Implements DtBaseTransferControlManager.
|
virtual |
Set the callback function to invoke when losing ownership of a DIGuy Object.
Returns a DtReflect4edDIGuy pointer. User is reponsible for adding this DtReflectedDIGuy to their reflected list.
|
virtual |
Set the callback function to invoke when losing ownership of an entity.
Returns a DtReflectedEntity pointer. User is reponsible for adding this DtReflectedEntity to their reflected list as well as removing the matching DtEntityPublisher from their application.
|
virtual |
Set the callback function to invoke when gaining ownership of a new entity.
Returns a DtEntityPublisher pointer. User is responsible for removing the matching DtReflectedEntity from their DtReflectedEntityList
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |