![]() |
VR-Link API Documentation for DIS
|
Inheritance diagram for DtReflectedRadioTransmitterList:
Collaboration diagram for DtReflectedRadioTransmitterList:Public Member Functions | |
| DtReflectedRadioTransmitterList (DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedRadioTransmitterList () |
| virtual DtReflectedRadioTransmitter * | lookup (const DtObjectId &id, int radioId=1) const |
| lookup an entity from its object ID and radio ID | |
| virtual DtReflectedRadioTransmitter * | first () const |
| get the first and last elements of the radio transmitter list | |
| virtual DtReflectedRadioTransmitter * | last () const |
| virtual void | addRadioTransmitterAdditionCallback (DtRadioTransmitterCallbackFunction cb, void *userData) |
| RadioTransmitter added callback registration/deregistration. | |
| virtual void | removeRadioTransmitterAdditionCallback (DtRadioTransmitterCallbackFunction cb, void *userData) |
| virtual void | addRadioTransmitterRemovalCallback (DtRadioTransmitterCallbackFunction cb, void *userData) |
| RadioTransmitter removed callback registration/deregistration. | |
| virtual void | removeRadioTransmitterRemovalCallback (DtRadioTransmitterCallbackFunction cb, void *userData) |
| virtual void | print () |
| Print the SRs of all objects. | |
| virtual DtReflectedRadioTransmitter * | processRadioTransmitter (const DtTransmitterPdu &pdu) |
| process an incoming environment process pdu. | |
Protected Member Functions | |
| DtReflectedRadioTransmitterList & | operator= (const DtReflectedRadioTransmitterList &orig) |
| Assignment operator -- not implemented. | |
| DtReflectedRadioTransmitterList (const DtReflectedRadioTransmitterList &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 processRadioTransmitter(). | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called after an env process is added and before addition callbacks are processed. | |
| virtual void | finalPduIsSetAction (DtReflectedRadioTransmitter *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 DtReflectedRadioTransmitter * | newReflectedRadioTransmitter (const DtEntityIdentifier &id, int radioId) const |
| Create a new reflected env process. | |
| virtual void | radioTransmitterAdded (DtReflectedRadioTransmitter *ent) |
| Called after an env process is added and before addition callbacks are processed. | |
Static Protected Member Functions | |
| static void | radioTransmitterCb (DtTransmitterPdu *pdu, void *usr) |
| callback for the exercise connection | |
Protected Attributes | |
| DtStringHashKey * | myHashKey |
constructor
| virtual DtReflectedRadioTransmitterList::~DtReflectedRadioTransmitterList | ( | ) | [virtual] |
| DtReflectedRadioTransmitterList::DtReflectedRadioTransmitterList | ( | const DtReflectedRadioTransmitterList & | orig | ) | [protected] |
Copy constructor -- not implemented.
| virtual void DtReflectedRadioTransmitterList::addRadioTransmitterAdditionCallback | ( | DtRadioTransmitterCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
RadioTransmitter added callback registration/deregistration.
| virtual void DtReflectedRadioTransmitterList::addRadioTransmitterRemovalCallback | ( | DtRadioTransmitterCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
RadioTransmitter removed callback registration/deregistration.
| virtual void DtReflectedRadioTransmitterList::finalPduIsSetAction | ( | DtReflectedRadioTransmitter * | envProcess | ) | [protected, virtual] |
Called when an env process sends its final PDU.
Currently, this removes and deletes the env process.
| virtual DtReflectedRadioTransmitter* DtReflectedRadioTransmitterList::first | ( | ) | const [virtual] |
get the first and last elements of the radio transmitter list
| virtual const DtBaseHashKey& DtReflectedRadioTransmitterList::hashKeyFromStateMessage | ( | const DtStateMsg * | msg | ) | [protected, virtual] |
Get a hash key from a state message.
Implements DtReflectedObjectList.
| virtual DtReflectedRadioTransmitter* DtReflectedRadioTransmitterList::last | ( | ) | const [virtual] |
| virtual DtReflectedRadioTransmitter* DtReflectedRadioTransmitterList::lookup | ( | const DtObjectId & | id, |
| int | radioId = 1 |
||
| ) | const [virtual] |
lookup an entity from its object ID and radio ID
| virtual DtReflectedObject* DtReflectedRadioTransmitterList::newReflectedObj | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
Create a new object from a state message.
Calls newReflectedRadioTransmitter() to create a new env process
Implements DtReflectedObjectList.
| virtual DtReflectedRadioTransmitter* DtReflectedRadioTransmitterList::newReflectedRadioTransmitter | ( | const DtEntityIdentifier & | id, |
| int | radioId | ||
| ) | const [protected, virtual] |
Create a new reflected env process.
| virtual void DtReflectedRadioTransmitterList::objectAdded | ( | DtReflectedObject * | obj | ) | [protected, virtual] |
Called after an env process is added and before addition callbacks are processed.
Calls radioTransmitterAdded().
Reimplemented from DtReflectedObjectList.
| DtReflectedRadioTransmitterList& DtReflectedRadioTransmitterList::operator= | ( | const DtReflectedRadioTransmitterList & | orig | ) | [protected] |
Assignment operator -- not implemented.
| virtual void DtReflectedRadioTransmitterList::print | ( | ) | [virtual] |
Print the SRs of all objects.
| virtual DtReflectedRadioTransmitter* DtReflectedRadioTransmitterList::processRadioTransmitter | ( | const DtTransmitterPdu & | pdu | ) | [virtual] |
process an incoming environment process pdu.
Then calls down to base class processStateMessage().
| virtual DtReflectedObject* DtReflectedRadioTransmitterList::processStateMessage | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
process an incoming state message. Calls processRadioTransmitter().
Reimplemented from DtReflectedObjectList.
| virtual void DtReflectedRadioTransmitterList::radioTransmitterAdded | ( | DtReflectedRadioTransmitter * | 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 DtReflectedRadioTransmitterList::radioTransmitterCb | ( | DtTransmitterPdu * | pdu, |
| void * | usr | ||
| ) | [static, protected] |
callback for the exercise connection
| virtual void DtReflectedRadioTransmitterList::removeRadioTransmitterAdditionCallback | ( | DtRadioTransmitterCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedRadioTransmitterList::removeRadioTransmitterRemovalCallback | ( | DtRadioTransmitterCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |