GateControlList.ned

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

Name Type Description
GateControlList simple module

This module configures PeriodicGate.

Source code

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


package inet.queueing.gate;

//
// This module configures PeriodicGate.
//
simple GateControlList
{
    parameters:
        int numGates = default(8);
        double offset @mutable @unit(s) = default(0s);
        object durations @mutable @unit(s) = default([]); // list of entry durations. E.g., [4ms, 2ms, 2ms, 2ms]
        object gateStates @mutable = default([]); // list of gateStates. E.g., ["10000000", "01111111", "10000000", "01111111"]
        @class(GateControlList);
        @display("i=block/table");
}