ReceiverBase
Package: inet.physicallayer.wireless.common.base.packetlevel
ReceiverBase
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 |
|---|---|---|
| SnirReceiverBase | compound module |
Serves as a base module for SNIR receiver models. |
Extends
| Name | Type | Description |
|---|---|---|
| Module | compound module |
Base module for all INET compound modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| ignoreInterference | bool | false |
True means interfering transmissions are ignored when determining whether a reception is successful or not |
| signalAnalogRepresentation | string | "scalar" |
Properties
| Name | Value | Description |
|---|---|---|
| class | Module | |
| display | i=block/tx |
Source code
module ReceiverBase extends Module { parameters: bool ignoreInterference = default(false); // True means interfering transmissions are ignored when determining whether a reception is successful or not string signalAnalogRepresentation @enum("unitDisk","scalar","dimensional") = default("scalar"); analogModel.typename = default(signalAnalogRepresentation == "unitDisk" ? "UnitDiskReceiverAnalogModel" : signalAnalogRepresentation == "scalar" ? "ScalarReceiverAnalogModel" : "DimensionalReceiverAnalogModel"); @display("i=block/tx"); submodules: analogModel: <default("")> like IReceiverAnalogModel if typename != "" { @display("p=100,100"); } }File: src/inet/physicallayer/wireless/common/base/packetlevel/ReceiverBase.ned