VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions
MyCommModel Class Reference
Inheritance diagram for MyCommModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~MyCommModel ()
virtual DtString type () const
virtual void registerRadio (DtVrfRadio *radio)
 Overridden from base to set the ReadyToSend status of the radio to true as soon as it registers.

Static Public Member Functions

static DtCommModelcreate (DtCommModelCreationParams &params)
 Static creator function that can be registered with factories.

Protected Member Functions

 MyCommModel (DtCommModelCreationParams &params)
virtual bool init ()
 Virtual init() called from the create() method.
virtual bool checkRadioConnectivity (DtVrfObject *sender, DtVrfObject *receiver)
 Checks the connectivity of the radios for delivery of message.

Private Member Functions

 MyCommModel ()
 MyCommModel (const MyCommModel &orig)
MyCommModeloperator= (const MyCommModel &orig)

Constructor & Destructor Documentation

MyCommModel::MyCommModel ( ) [private]
MyCommModel::MyCommModel ( const MyCommModel orig) [private]
virtual MyCommModel::~MyCommModel ( ) [virtual]

Member Function Documentation

MyCommModel& MyCommModel::operator= ( const MyCommModel orig) [private]
virtual bool MyCommModel::init ( ) [protected, virtual]

Virtual init() called from the create() method.

Calls createTransporter() to set myTransporter.

Reimplemented from DtSimpleRadioCommModel.

Static creator function that can be registered with factories.

Calls the constructor, and init() on the new instance before returning it.

Reimplemented from DtSimpleRadioCommModel.

virtual DtString MyCommModel::type ( ) const [virtual]
Returns:
DtSimpleRadioCommModelType. Type strings for DtSimpleRadioCommModel subclasses are defined in commModelTypes.h.

Reimplemented from DtSimpleRadioCommModel.

virtual void MyCommModel::registerRadio ( DtVrfRadio radio) [virtual]

Overridden from base to set the ReadyToSend status of the radio to true as soon as it registers.

Reimplemented from DtSimpleRadioCommModel.

virtual bool MyCommModel::checkRadioConnectivity ( DtVrfObject sender,
DtVrfObject receiver 
) [protected, virtual]

Checks the connectivity of the radios for delivery of message.

Returns:
True if the message is allowed to be delivered, or false of the sender/receiver radios are not connected. Results will vary, depending on the current connection mode specified in the descriptor.

Reimplemented from DtSimpleRadioCommModel.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)