cDelayChannel Class Reference
[Simulation core classes]

Channel with propagation delay. More...

#include <cdelaychannel.h>

Inheritance diagram for cDelayChannel:
cChannel cComponent cDefaultList cNoncopyableOwnedObject cOwnedObject noncopyable cNamedObject cObject

List of all members.

Public Member Functions

Redefined cChannel member functions.

virtual bool isTransmissionChannel () const
virtual double getNominalDatarate () const
virtual simtime_t calculateDuration (cMessage *msg) const
virtual simtime_t getTransmissionFinishTime () const
virtual bool isBusy () const
virtual void forceTransmissionFinishTime (simtime_t t)
Setting and getting channel parameters.

virtual void setDelay (double d)
virtual void setDisabled (bool d)
virtual simtime_t getDelay () const
virtual bool isDisabled () const
Implementation methods

virtual void initialize ()
virtual void processMessage (cMessage *msg, simtime_t t, result_t &result)

Protected Member Functions

virtual void handleParameterChange (const char *parname)

Constructors, destructor



 cDelayChannel (const char *name=NULL)
virtual ~cDelayChannel ()
static cDelayChannelcreate (const char *name)

Detailed Description

Channel with propagation delay.


Constructor & Destructor Documentation

cDelayChannel::cDelayChannel ( const char *  name = NULL  )  [inline, explicit]

Constructor.

This is only for internal purposes, and should not be used when creating channels dynamically; use the create() factory method instead.


Member Function Documentation

static cDelayChannel* cDelayChannel::create ( const char *  name  )  [static]

Utility function for dynamic channel creation.

Equivalent to cChannelType::getDelayChannelType()->create(name).

virtual simtime_t cDelayChannel::getDelay (  )  const [inline, virtual]

Returns the propagation delay of the channel, in seconds.

This method is equivalent to reading the "delay" parameter, via par("delay").

virtual void cDelayChannel::handleParameterChange ( const char *  parname  )  [protected, virtual]

Called back when a parameter changes.

Redefined from cComponent.

Reimplemented from cComponent.

virtual bool cDelayChannel::isDisabled (  )  const [inline, virtual]

Returns whether the channel is disabled.

This method is equivalent to reading the "disabled" parameter, via par("disabled"). A disabled channel discards all messages sent on it.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3