MeasurementLayer

Package: inet.protocolelement.measurement

MeasurementLayer

compound module

(no description)

measurementStarter : like IPacketFlow

IPacketFlow: This module interface is implemented by packet flows.

Source:
measurementStarter: <default("FlowMeasurementStarter")> like IPacketFlow {
    parameters:
        @display("p=150,100");
} measurementRecorder : like IPacketFlow

FlowMeasurementRecorder: This module is part of the flow measurement infrastructure.

IPacketFlow: This module interface is implemented by packet flows.

Source:
measurementRecorder: <default("FlowMeasurementRecorder")> like IPacketFlow {
    parameters:
        @display("p=350,100");
}

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Properties

Name Value Description
display i=block/layer

Gates

Name Direction Size Description
upperLayerIn input
upperLayerOut output
lowerLayerIn input
lowerLayerOut output

Source code

module MeasurementLayer like IMeasurementLayer
{
    parameters:
        @display("i=block/layer");
    gates:
        input upperLayerIn;
        output upperLayerOut;
        input lowerLayerIn;
        output lowerLayerOut;
    submodules:
        measurementStarter: <default("FlowMeasurementStarter")> like IPacketFlow {
            parameters:
                @display("p=150,100");
        }
        measurementRecorder: <default("FlowMeasurementRecorder")> like IPacketFlow {
            parameters:
                @display("p=350,100");
        }
    connections:
        upperLayerIn --> { @display("m=n"); } --> measurementStarter.in;
        measurementStarter.out --> { @display("m=s"); } --> lowerLayerOut;

        lowerLayerIn --> { @display("m=s"); } --> measurementRecorder.in;
        measurementRecorder.out --> { @display("m=n"); } --> upperLayerOut;
}

File: src/inet/protocolelement/measurement/MeasurementLayer.ned