Package: inet.physicallayer.wireless.common.analogmodel.unitdisk
UnitDiskTransmitterAnalogModel
compound moduleThis transmitter analog model produces signals which are described with a few distance-based parameters.
<b>See also:</b> ~UnitDiskRadioMedium, ~UnitDiskMediumAnalogModel, ~UnitDiskReceiverAnalogModel.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
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 |
| communicationRange | double |
The range where the reception of transmissions produced by this transmitter is possible |
|
| interferenceRange | double | communicationRange |
The range where transmissions produced by this transmitter interfere with other transmissions |
| detectionRange | double | interferenceRange |
The range where transmissions produced by this transmitter can be detected at all |
Properties
| Name | Value | Description |
|---|---|---|
| class | UnitDiskTransmitterAnalogModel | |
| display | i=block/tunnel |
Source code
// // This transmitter analog model produces signals which are described with a few // distance-based parameters. // // @see ~UnitDiskRadioMedium, ~UnitDiskMediumAnalogModel, ~UnitDiskReceiverAnalogModel. // module UnitDiskTransmitterAnalogModel extends Module like ITransmitterAnalogModel { parameters: double communicationRange @unit(m); // The range where the reception of transmissions produced by this transmitter is possible double interferenceRange @unit(m) = default(communicationRange); // The range where transmissions produced by this transmitter interfere with other transmissions double detectionRange @unit(m) = default(interferenceRange); // The range where transmissions produced by this transmitter can be detected at all @class(UnitDiskTransmitterAnalogModel); @display("i=block/tunnel"); }File: src/inet/physicallayer/wireless/common/analogmodel/unitdisk/UnitDiskTransmitterAnalogModel.ned