UnitDiskMediumAnalogModel¶
Package: inet.physicallayer.wireless.common.analogmodel.unitdisk
compound module UnitDiskMediumAnalogModel
This analog model provides a very simple and predictable physical layer behaviour. It determines the reception power by categorizing transmissions based on the distance between the transmitter and the receiver.
See also: UnitDiskRadioMedium, UnitDiskTransmitterAnalogModel, UnitDiskReceiverAnalogModel.
Inheritance diagram¶
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 |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
UnitDiskMediumAnalogModel |
|
display |
i=block/tunnel |
Source code¶
//
// This analog model provides a very simple and predictable physical layer
// behaviour. It determines the reception power by categorizing transmissions
// based on the distance between the transmitter and the receiver.
//
// @see ~UnitDiskRadioMedium, ~UnitDiskTransmitterAnalogModel, ~UnitDiskReceiverAnalogModel.
//
module UnitDiskMediumAnalogModel extends Module like IMediumAnalogModel
{
parameters:
@class(UnitDiskMediumAnalogModel);
@display("i=block/tunnel");
}
File: src/inet/physicallayer/wireless/common/analogmodel/unitdisk/UnitDiskMediumAnalogModel.ned