INET Framework for OMNeT++/OMNEST
|
Models a wiring hub. More...
#include <EtherHub.h>
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 | |
int | numPorts |
int | inputGateBaseId |
int | outputGateBaseId |
bool | dataratesDiffer |
long | numMessages |
Static Protected Attributes | |
static simsignal_t | pkSignal = registerSignal("pk") |
Models a wiring hub.
It simply broadcasts the received message on all other ports.
|
protectedvirtual |
Referenced by handleMessage(), initialize(), and receiveSignal().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
Referenced by checkConnections(), and handleMessage().
|
protected |
Referenced by checkConnections(), initialize(), and receiveSignal().
|
protected |
Referenced by finish(), handleMessage(), and initialize().
|
protected |
Referenced by checkConnections(), handleMessage(), and initialize().
|
protected |
Referenced by checkConnections(), handleMessage(), and initialize().
|
staticprotected |
Referenced by handleMessage().