Channel with zero propagation delay, zero transmission delay (infinite datarate), and always enabled. More...
#include <cchannel.h>
Public Member Functions | |
Redefined cChannel member functions. | |
virtual void | processMessage (cMessage *msg, simtime_t t, result_t &result) |
virtual double | getNominalDatarate () const |
virtual bool | isTransmissionChannel () const |
virtual simtime_t | calculateDuration (cMessage *msg) const |
virtual simtime_t | getTransmissionFinishTime () const |
virtual bool | isBusy () const |
virtual void | forceTransmissionFinishTime (simtime_t t) |
Constructors, destructor | |
| |
cIdealChannel (const char *name=NULL) | |
virtual | ~cIdealChannel () |
static cIdealChannel * | create (const char *name) |
Channel with zero propagation delay, zero transmission delay (infinite datarate), and always enabled.
cIdealChannel::cIdealChannel | ( | 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.
static cIdealChannel* cIdealChannel::create | ( | const char * | name | ) | [static] |
Utility function for dynamic channel creation.
Equivalent to cChannelType::getIdealChannelType()->create(name)
.