VR-Link API Documentation for DIS
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
DtReflectedGriddedDataList Class Reference
+ Inheritance diagram for DtReflectedGriddedDataList:
+ Collaboration diagram for DtReflectedGriddedDataList:

List of all members.

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 & Destructor Documentation

constructor

Copy constructor -- not implemented.


Member Function Documentation

GriddedData added callback registration/deregistration.

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.

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::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.

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)