TransmitterBase¶
Package: inet.physicallayer.wireless.common.base.packetlevel
compound module TransmitterBase
(no description)
Usage diagram¶
Inheritance diagram¶
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
compound module |
Serves as a base module for narrowband transmitter models. |
|
compound module |
This transmitter is part of the generic radio architecture. |
|
compound module |
Transmitter module that generates noise signals with configurable parameters. Creates noise transmissions with specified duration, center frequency, bandwidth, and power. Used by NoiseSource to produce interference in wireless networks for testing protocol robustness and simulating realistic channel conditions. |
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 |
signalAnalogRepresentation |
string |
“scalar” |
Determines the analog domain signal representation of transmissions |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
Module |
|
display |
i=block/tx |
Source code¶
module TransmitterBase extends Module
{
parameters:
string signalAnalogRepresentation @enum("unitDisk","scalar","dimensional") = default("scalar"); // Determines the analog domain signal representation of transmissions
analogModel.typename = default(signalAnalogRepresentation == "unitDisk" ? "UnitDiskTransmitterAnalogModel" : signalAnalogRepresentation == "scalar" ? "ScalarTransmitterAnalogModel" : "DimensionalTransmitterAnalogModel");
@display("i=block/tx");
submodules:
analogModel: <default("")> like ITransmitterAnalogModel if typename != "" {
@display("p=100,100");
}
}
File: src/inet/physicallayer/wireless/common/base/packetlevel/TransmitterBase.ned