INET Framework for OMNeT++/OMNEST
|
Implements the shared coaxial cable in classic Ethernet. More...
#include <EtherBus.h>
Classes | |
struct | BusTap |
Implements the physical locations on the bus where each network entity is connected to on the bus. More... | |
Public Member Functions | |
EtherBus () | |
virtual | ~EtherBus () |
Protected Member Functions | |
virtual void | initialize () override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | finish () override |
virtual void | receiveSignal (cComponent *source, simsignal_t signalID, cObject *obj, cObject *details) override |
virtual void | checkConnections (bool errorWhenAsymmetric) |
Protected Attributes | |
double | propagationSpeed = NaN |
BusTap * | tap = nullptr |
int | numTaps = -1 |
int | inputGateBaseId = -1 |
int | outputGateBaseId = -1 |
bool | dataratesDiffer = false |
long | numMessages = 0 |
Implements the shared coaxial cable in classic Ethernet.
See the NED file for more description.
|
virtual |
|
protectedvirtual |
Referenced by handleMessage(), initialize(), and receiveSignal().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
Referenced by checkConnections(), and handleMessage().
|
protected |
Referenced by checkConnections(), and initialize().
|
protected |
Referenced by finish(), and initialize().
|
protected |
Referenced by checkConnections(), handleMessage(), and initialize().
|
protected |
Referenced by checkConnections(), handleMessage(), and initialize().
|
protected |
Referenced by initialize().
|
protected |
Referenced by handleMessage(), initialize(), and ~EtherBus().