UnitDiskTransmitterAnalogModel

Package: inet.physicallayer.wireless.common.analogmodel.unitdisk

compound module UnitDiskTransmitterAnalogModel

This transmitter analog model produces signals which are described with a few distance-based parameters.

See also: UnitDiskRadioMedium, UnitDiskMediumAnalogModel, UnitDiskReceiverAnalogModel.

UnitDiskTransmitterAnalogModel

Inheritance 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