![]() |
VR-Link API Documentation for DIS
|
Inheritance diagram for DtReflectedGriddedDataList:
Collaboration diagram for DtReflectedGriddedDataList:Public Member Functions | |
| DtReflectedGriddedDataList (DtExerciseConn *conn) | |
| constructor | |
| virtual | ~DtReflectedGriddedDataList () |
| virtual DtReflectedGriddedData * | lookup (const DtObjectId &id) const |
| Lookup a gridded data from its object ID. | |
| virtual DtReflectedGriddedData * | first () const |
| Get the first and last elements of the gridded data list. | |
| virtual DtReflectedGriddedData * | last () const |
| virtual void | addGriddedDataAdditionCallback (DtGriddedDataCallbackFunction cb, void *userData) |
| GriddedData added callback registration/deregistration. | |
| virtual void | removeGriddedDataAdditionCallback (DtGriddedDataCallbackFunction cb, void *userData) |
| virtual void | addGriddedDataRemovalCallback (DtGriddedDataCallbackFunction cb, void *userData) |
| GriddedData removed callback registration/deregistration. | |
| virtual void | removeGriddedDataRemovalCallback (DtGriddedDataCallbackFunction cb, void *userData) |
| virtual void | print () |
| Print the SRs of all objects. | |
| virtual DtReflectedGriddedData * | processGriddedData (const DtGriddedDataPdu &pdu) |
| Process an incoming gridded data pdu. | |
Protected Member Functions | |
| DtReflectedGriddedDataList & | operator= (const DtReflectedGriddedDataList &orig) |
| Assignment operator -- not implemented. | |
| DtReflectedGriddedDataList (const DtReflectedGriddedDataList &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 processGriddedData(). | |
| virtual void | objectAdded (DtReflectedObject *obj) |
| Called after an gridded data is added and before addition callbacks are processed. | |
| virtual void | finalPduIsSetAction (DtReflectedGriddedData *gridData) |
| 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 DtReflectedGriddedData * | newReflectedGriddedData (const DtEntityIdentifier &id, const DtEntityType &type) const |
| Create a new reflected gridded data. | |
| virtual void | griddedDataAdded (DtReflectedGriddedData *ent) |
| Called after an env process is added and before addition callbacks are processed. | |
Static Protected Member Functions | |
| static void | griddedDataCb (DtGriddedDataPdu *pdu, void *usr) |
| Callback for the exercise connection. | |
Protected Attributes | |
| DtEntityIdentifierHashKey * | myHashKey |
constructor
| virtual DtReflectedGriddedDataList::~DtReflectedGriddedDataList | ( | ) | [virtual] |
| DtReflectedGriddedDataList::DtReflectedGriddedDataList | ( | const DtReflectedGriddedDataList & | orig | ) | [protected] |
Copy constructor -- not implemented.
| virtual void DtReflectedGriddedDataList::addGriddedDataAdditionCallback | ( | DtGriddedDataCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
GriddedData added callback registration/deregistration.
| virtual void DtReflectedGriddedDataList::addGriddedDataRemovalCallback | ( | DtGriddedDataCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
GriddedData removed callback registration/deregistration.
| virtual void DtReflectedGriddedDataList::finalPduIsSetAction | ( | DtReflectedGriddedData * | gridData | ) | [protected, virtual] |
Called when an env process sends its final PDU.
Currently, this removes and deletes the gridded data.
| virtual DtReflectedGriddedData* DtReflectedGriddedDataList::first | ( | ) | const [virtual] |
Get the first and last elements of the gridded data list.
| virtual void DtReflectedGriddedDataList::griddedDataAdded | ( | DtReflectedGriddedData * | 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 DtReflectedGriddedDataList::griddedDataCb | ( | DtGriddedDataPdu * | pdu, |
| void * | usr | ||
| ) | [static, protected] |
Callback for the exercise connection.
| virtual const DtBaseHashKey& DtReflectedGriddedDataList::hashKeyFromStateMessage | ( | const DtStateMsg * | msg | ) | [protected, virtual] |
Get a hash key from a state message.
Implements DtReflectedObjectList.
| virtual DtReflectedGriddedData* DtReflectedGriddedDataList::last | ( | ) | const [virtual] |
| virtual DtReflectedGriddedData* DtReflectedGriddedDataList::lookup | ( | const DtObjectId & | id | ) | const [virtual] |
Lookup a gridded data from its object ID.
| virtual DtReflectedGriddedData* DtReflectedGriddedDataList::newReflectedGriddedData | ( | const DtEntityIdentifier & | id, |
| const DtEntityType & | type | ||
| ) | const [protected, virtual] |
Create a new reflected gridded data.
| virtual DtReflectedObject* DtReflectedGriddedDataList::newReflectedObj | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
Create a new object from a state message.
Calls newReflectedGriddedData() to create a new gridded data
Implements DtReflectedObjectList.
| virtual void DtReflectedGriddedDataList::objectAdded | ( | DtReflectedObject * | obj | ) | [protected, virtual] |
Called after an gridded data is added and before addition callbacks are processed.
Calls griddedDataAdded().
Reimplemented from DtReflectedObjectList.
| DtReflectedGriddedDataList& DtReflectedGriddedDataList::operator= | ( | const DtReflectedGriddedDataList & | orig | ) | [protected] |
Assignment operator -- not implemented.
| virtual void DtReflectedGriddedDataList::print | ( | ) | [virtual] |
Print the SRs of all objects.
| virtual DtReflectedGriddedData* DtReflectedGriddedDataList::processGriddedData | ( | const DtGriddedDataPdu & | pdu | ) | [virtual] |
Process an incoming gridded data pdu.
Then calls down to base class processStateMessage().
| virtual DtReflectedObject* DtReflectedGriddedDataList::processStateMessage | ( | const DtStateMsg & | msg | ) | [protected, virtual] |
Process an incoming state message. Calls processGriddedData().
Reimplemented from DtReflectedObjectList.
| virtual void DtReflectedGriddedDataList::removeGriddedDataAdditionCallback | ( | DtGriddedDataCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| virtual void DtReflectedGriddedDataList::removeGriddedDataRemovalCallback | ( | DtGriddedDataCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |