![]() |
VR-Link API Documentation for DIS
|
Inheritance diagram for DtReflectedRadioReceiverList:
Collaboration diagram for DtReflectedRadioReceiverList:Public Member Functions | |
| DtReflectedRadioReceiverList (DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedRadioReceiverList () |
| virtual DtReflectedRadioReceiver * | lookup (const DtObjectId &id, int radioId=1) const |
| lookup an entity from its object ID and radio ID | |
| virtual DtReflectedRadioReceiver * | first () const |
| get the first and last elements of the radio receiver list | |
| virtual DtReflectedRadioReceiver * | last () const |
| virtual void | addRadioReceiverAdditionCallback (DtRadioReceiverCallbackFunction cb, void *userData) |
| RadioReceiver added callback registration/deregistration. | |
| virtual void | removeRadioReceiverAdditionCallback (DtRadioReceiverCallbackFunction cb, void *userData) |
| virtual void | addRadioReceiverRemovalCallback (DtRadioReceiverCallbackFunction cb, void *userData) |
| RadioReceiver removed callback registration/deregistration. | |
| virtual void | removeRadioReceiverRemovalCallback (DtRadioReceiverCallbackFunction cb, void *userData) |
| virtual void | print () |
| Print the SRs of all objects. | |
| virtual DtReflectedRadioReceiver * | processRadioReceiver (const DtReceiverPdu &pdu) |
| process an incoming environment process pdu. | |
Protected Member Functions | |
| DtReflectedRadioReceiverList & | operator= (const DtReflectedRadioReceiverList &orig) |
| Assignment operator -- not implemented. | |
| DtReflectedRadioReceiverList (const DtReflectedRadioReceiverList &orig) | |
| Copy constructor -- not implemented. | |
| virtual DtReflectedObject * | newReflectedObj (const DtStateMsg &msg) |
| Create a new object from a state message. | |
| virtual DtReflectedObject * | processStateMessage (const DtStateMsg &msg) |
| process an incoming state message. Calls processRadioReceiver(). | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called after an env process is added and before addition callbacks are processed. | |
| virtual void | finalPduIsSetAction (DtReflectedRadioReceiver *envProcess) |
| Called when an env process sends its final PDU. | |
| virtual const DtBaseHashKey & | hashKeyFromStateMessage (const DtStateMsg *msg) |
| Get a hash key from a state message. | |
| virtual DtReflectedRadioReceiver * | newReflectedRadioReceiver (const DtEntityIdentifier &id, int radioId) const |
| Create a new reflected env process. | |
| virtual void | radioReceiverAdded (DtReflectedRadioReceiver *ent) |
| Called after an env process is added and before addition callbacks are processed. | |
Static Protected Member Functions | |
| static void | radioReceiverCb (DtReceiverPdu *pdu, void *usr) |
| callback for the exercise connection | |
Protected Attributes | |
| DtStringHashKey * | myHashKey |
constructor
| virtual DtReflectedRadioReceiverList::~DtReflectedRadioReceiverList | ( | ) | [virtual] |
| DtReflectedRadioReceiverList::DtReflectedRadioReceiverList | ( | const DtReflectedRadioReceiverList & | orig | ) | [protected] |
Copy constructor -- not implemented.
| virtual void DtReflectedRadioReceiverList::addRadioReceiverAdditionCallback | ( | DtRadioReceiverCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
RadioReceiver added callback registration/deregistration.
| virtual void DtReflectedRadioReceiverList::addRadioReceiverRemovalCallback | ( | DtRadioReceiverCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
RadioReceiver removed callback registration/deregistration.
| virtual void DtReflectedRadioReceiverList::finalPduIsSetAction | ( | DtReflectedRadioReceiver * | envProcess | ) | [protected, virtual] |
Called when an env process sends its final PDU.
Currently, this removes and deletes the env process.
| virtual DtReflectedRadioReceiver* DtReflectedRadioReceiverList::first | ( | ) | const [virtual] |
get the first and last elements of the radio receiver list
| virtual const DtBaseHashKey& DtReflectedRadioReceiverList::hashKeyFromStateMessage | ( | const DtStateMsg * | msg | ) | [protected, virtual] |
Get a hash key from a state message.
Implements DtReflectedObjectList.
| virtual DtReflectedRadioReceiver* DtReflectedRadioReceiverList::last | ( | ) | const [virtual] |
| virtual DtReflectedRadioReceiver* DtReflectedRadioReceiverList::lookup | ( | const DtObjectId & | id, |
| int | radioId = 1 |
||
| ) | const [virtual] |
lookup an entity from its object ID and radio ID
| virtual DtReflectedObject* DtReflectedRadioReceiverList::newReflectedObj | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
Create a new object from a state message.
Calls newReflectedRadioReceiver() to create a new env process
Implements DtReflectedObjectList.
| virtual DtReflectedRadioReceiver* DtReflectedRadioReceiverList::newReflectedRadioReceiver | ( | const DtEntityIdentifier & | id, |
| int | radioId | ||
| ) | const [protected, virtual] |
Create a new reflected env process.
| virtual void DtReflectedRadioReceiverList::objectAdded | ( | DtReflectedObject * | obj | ) | [protected, virtual] |
Called after an env process is added and before addition callbacks are processed.
Calls radioReceiverAdded().
Reimplemented from DtReflectedObjectList.
| DtReflectedRadioReceiverList& DtReflectedRadioReceiverList::operator= | ( | const DtReflectedRadioReceiverList & | orig | ) | [protected] |
Assignment operator -- not implemented.
| virtual void DtReflectedRadioReceiverList::print | ( | ) | [virtual] |
Print the SRs of all objects.
| virtual DtReflectedRadioReceiver* DtReflectedRadioReceiverList::processRadioReceiver | ( | const DtReceiverPdu & | pdu | ) | [virtual] |
process an incoming environment process pdu.
Then calls down to base class processStateMessage().
| virtual DtReflectedObject* DtReflectedRadioReceiverList::processStateMessage | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
process an incoming state message. Calls processRadioReceiver().
Reimplemented from DtReflectedObjectList.
| virtual void DtReflectedRadioReceiverList::radioReceiverAdded | ( | DtReflectedRadioReceiver * | ent | ) | [protected, virtual] |
Called after an env process is added and before addition callbacks are processed.
Right now, this function only calls DtInfo.
| static void DtReflectedRadioReceiverList::radioReceiverCb | ( | DtReceiverPdu * | pdu, |
| void * | usr | ||
| ) | [static, protected] |
callback for the exercise connection
| virtual void DtReflectedRadioReceiverList::removeRadioReceiverAdditionCallback | ( | DtRadioReceiverCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedRadioReceiverList::removeRadioReceiverRemovalCallback | ( | DtRadioReceiverCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
DtStringHashKey* DtReflectedRadioReceiverList::myHashKey [protected] |