PropagationBase

Package: inet.physicallayer.wireless.common.base.packetlevel

compound module PropagationBase

Serves as a base module for propagation models.

PropagationBase

Inheritance diagram

Known subclasses

Name

Type

Description

ConstantSpeedPropagation

compound module

This propagation model computes the propagation time to be proportional to the traveled distance, the ratio is determined by the constant propagation speed parameter.

ConstantTimePropagation

compound module

This propagation model computes the propagation time to be independent of the traveled distance. In other words, the propagation time is determined by a constant parameter.

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

propagationSpeed

double

299792458mps

The theoretical propagation speed of signals on the medium (used by path loss models)

Properties

Name

Value

Description

class

Module

display

i=block/timer

Source code

//
// Serves as a base module for propagation models.
//
module PropagationBase extends Module like IPropagation
{
    parameters:
        double propagationSpeed @unit(mps) = default(299792458mps); // The theoretical propagation speed of signals on the medium (used by path loss models)
        @display("i=block/timer");
}

File: src/inet/physicallayer/wireless/common/base/packetlevel/PropagationBase.ned