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

List of all members.

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

DtReflectedRadioTransmitterListoperator= (const DtReflectedRadioTransmitterList &orig)
 Assignment operator -- not implemented.
 DtReflectedRadioTransmitterList (const DtReflectedRadioTransmitterList &orig)
 Copy constructor -- not implemented.
virtual DtReflectedObjectnewReflectedObj (const DtStateMsg &msg)
 Create a new object from a state message.
virtual DtReflectedObjectprocessStateMessage (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 DtBaseHashKeyhashKeyFromStateMessage (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

DtStringHashKeymyHashKey

Constructor & Destructor Documentation

constructor

Copy constructor -- not implemented.


Member Function Documentation

RadioTransmitter added callback registration/deregistration.

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.

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

process an incoming environment process pdu.

Then calls down to base class processStateMessage().

process an incoming state message. Calls processRadioTransmitter().

Reimplemented from DtReflectedObjectList.

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


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)