OmittedPacketGate.ned

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

Name Type Description
OmittedPacketGate compound module

This module implements the module given interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialize.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.queueing.gate;

import inet.queueing.contract.IPacketGate;

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