Package: inet.linklayer.common
WirelessInterface
compound module(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
| Name | Type | Description |
|---|---|---|
| BMacInterface | compound module | (no description) |
| CsmaCaInterface | compound module |
Module interface for CSMA/MA network interfaces. |
| LMacInterface | compound module | (no description) |
| ShortcutInterface | compound module | (no description) |
| XMacInterface | compound module | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| InterfaceEntry | compound module | (no description) |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "%a (%i)\n%m" | |
| interfaceTableModule | string | ||
| energySourceModule | string |
Properties
| Name | Value | Description |
|---|---|---|
| class | InterfaceEntry | |
| display | i=block/ifcard |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| upperLayerIn | input | ||
| upperLayerOut | output | ||
| radioIn | input |
Source code
module WirelessInterface extends InterfaceEntry like IWirelessInterface { parameters: @class(InterfaceEntry); string interfaceTableModule; string energySourceModule; *.interfaceTableModule = default(absPath(interfaceTableModule)); *.energySourceModule = default(absPath(energySourceModule)); @display("i=block/ifcard"); gates: input upperLayerIn; output upperLayerOut; input radioIn @labels(ISignal); submodules: classifier: <default("")> like IIeee8021dQosClassifier if typename != "" { @display("p=250,100"); } mac: <> like IMacProtocol { @display("p=100,200"); } radio: <> like IRadio if typename != "" { @display("p=100,350"); } connections allowunconnected: radioIn --> { @display("m=s"); } --> radio.radioIn if exists(radio); radio.upperLayerIn <-- mac.lowerLayerOut if exists(radio); radio.upperLayerOut --> mac.lowerLayerIn if exists(radio); mac.upperLayerOut --> { @display("m=n"); } --> upperLayerOut; mac.upperLayerIn <-- { @display("m=n"); } <-- upperLayerIn if !exists(classifier); mac.upperLayerIn <-- { @display("m=n"); } <-- classifier.out if exists(classifier); classifier.in <-- { @display("m=n"); } <-- upperLayerIn if exists(classifier); }File: src/inet/linklayer/common/WirelessInterface.ned