ReceiverBase¶
Package: inet.physicallayer.wireless.common.base.packetlevel
compound module ReceiverBase
(no description)
Usage diagram¶
Inheritance diagram¶
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
compound module |
Serves as a base module for SNIR receiver models. |
Extends¶
Name |
Type |
Description |
|---|---|---|
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