OmittedPacketGate

Package: inet.queueing.gate

compound module OmittedPacketGate

Implements the module given interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialization.

OmittedPacketGatein --> out

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

Properties

Name

Value

Description

class

::inet::OmittedModule

display

i=block/star,black,50

Gates

Name

Direction

Size

Description

in

input

out

output

Source code

//
// Implements the module given interface and can be used as an omitted
// optional module that removes itself from the module hierarchy during initialization.
//
module OmittedPacketGate extends Module like IPacketGate
{
    parameters:
        @class(::inet::OmittedModule);
        @display("i=block/star,black,50");
    gates:
        input in;
        output out;
    connections:
        in --> out;
}

File: src/inet/queueing/gate/OmittedPacketGate.ned