![]() |
VR-Link API Documentation for DIS
|
class DtIffPduCallbackManager: More...
Inheritance diagram for DtIffPduCallbackManager:
Collaboration diagram for DtIffPduCallbackManager:Public Member Functions | |
| DtIffPduCallbackManager (DtExerciseConn *conn) | |
| default constructor More... | |
| virtual | ~DtIffPduCallbackManager () |
| destructor More... | |
| DtIffPduCallbackManager (const DtIffPduCallbackManager &orig) | |
| copy constructor More... | |
| DtIffPduCallbackManager & | operator= (const DtIffPduCallbackManager &orig) |
| assignment operator More... | |
| virtual void | addPduCallback (DtIffInteractionType t, DtPduCallbackFcn fcn, void *usr) |
| Add/Remove a function to be called when a particular DtIffInteractionType is received. More... | |
| virtual void | removePduCallback (DtIffInteractionType t, DtPduCallbackFcn fcn, void *usr) |
| virtual DtIffInteractionType | interactionType (DtTransmissionIndicator indicator) const |
| Get the Interaction Type from the PDU Returns the Interaction Type from the PDU. More... | |
| virtual void | processPdu (const DtPdu &pdu) |
| Call the callbacks registered for the IFF Interaction Type. More... | |
| virtual int | numCallbacks (DtIffInteractionType t) const |
| Get the number of callbacks registered for the IFF Interaction Type. More... | |
Public Member Functions inherited from DtPduCallbackManager | |
| DtPduCallbackManager () | |
| default constructor More... | |
| virtual | ~DtPduCallbackManager () |
| destructor More... | |
| DtPduCallbackManager (const DtPduCallbackManager &orig) | |
| copy constructor More... | |
| DtPduCallbackManager & | operator= (const DtPduCallbackManager &orig) |
| assignment operator More... | |
| virtual void | addPduCallback (DtPduKind k, DtPduCallbackFcn fcn, void *usr) |
| Add/Remove a function to be called when a particular PDU kind is received. More... | |
| virtual void | removePduCallback (DtPduKind k, DtPduCallbackFcn fcn, void *usr) |
| virtual int | numCallbacks (DtPduKind k) const |
| Get the number of callbacks registered for the PDU kind. More... | |
Protected Member Functions | |
| virtual void | addPduCallback (DtIffInteractionType t, DtPduCallbackInfo *info) |
| Add/Remove callback info for a particular DtIffInteractionType. More... | |
| virtual void | removePduCallback (DtIffInteractionType t, const DtPduCallbackInfo &info) |
| void | emptyList () |
| Empty the list. More... | |
| void | copyList (const DtIffPduCallbackManager &orig) |
| Copy the list. More... | |
Protected Member Functions inherited from DtPduCallbackManager | |
| virtual void | addPduCallback (DtPduKind k, DtPduCallbackInfo *info) |
| Add/Remove callback info for a particular PDU kind. More... | |
| virtual void | removePduCallback (DtPduKind k, const DtPduCallbackInfo &info) |
| void | emptyList () |
| Empty the list. More... | |
| void | copyList (const DtPduCallbackManager &orig) |
| Copy the list. More... | |
Static Protected Member Functions | |
| static void | iffPduCallbackFcn (DtPdu *pdu, void *usr) |
Protected Attributes | |
| bool | myProcessingCallbacksNow [DtMAX_IFF_PDU_TYPE] |
| std::set< DtPduCallbackInfo > | myCbList [DtMAX_IFF_PDU_TYPE] |
| std::set< DtPduCallbackInfo > | myRemovedCbList [DtMAX_IFF_PDU_TYPE] |
| DtExerciseConn * | myExConn |
| bool | myCbRegistered |
Protected Attributes inherited from DtPduCallbackManager | |
| bool | myProcessingCallbacksNow [DtMAX_PDU_KINDS] |
| std::set< DtPduCallbackInfo > | myCbList [DtMAX_PDU_KINDS] |
| std::set< DtPduCallbackInfo > | myRemovedCbList [DtMAX_PDU_KINDS] |
class DtIffPduCallbackManager:
Instances of DtIffPduCallbackManager are used to manage callbacks on the PDU kinds for the exercise connection.
| DtIffPduCallbackManager::DtIffPduCallbackManager | ( | DtExerciseConn * | conn | ) |
default constructor
|
virtual |
destructor
| DtIffPduCallbackManager::DtIffPduCallbackManager | ( | const DtIffPduCallbackManager & | orig | ) |
copy constructor
|
virtual |
Add/Remove a function to be called when a particular DtIffInteractionType is received.
|
protectedvirtual |
Add/Remove callback info for a particular DtIffInteractionType.
|
protected |
Copy the list.
Non-virtual, since called in ctor.
|
protected |
Empty the list.
Non-virtual, since called in dtor.
|
staticprotected |
|
virtual |
Get the Interaction Type from the PDU Returns the Interaction Type from the PDU.
|
virtual |
Get the number of callbacks registered for the IFF Interaction Type.
| DtIffPduCallbackManager& DtIffPduCallbackManager::operator= | ( | const DtIffPduCallbackManager & | orig | ) |
assignment operator
|
virtual |
Call the callbacks registered for the IFF Interaction Type.
Reimplemented from DtPduCallbackManager.
|
virtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |