Package: inet.queueing.gate
GateControlList
simple moduleConfigures multiple PeriodicGate modules according to a gate control list. The modules are looked for at the ^.transmissionGate[*] relative module path.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in compound modules
| Name | Type | Description |
|---|---|---|
| Ieee8021qTimeAwareShaper | compound module |
Implements the IEEE 802.1Q time aware shaper. |
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET simple 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 |
| durations | object | [] |
List of entry durations, e.g. [4ms, 2ms, 2ms, 2ms] |
| gateStates | object | [] |
List of gate states, e.g. ["10000000", "01111111", "10000000", "01111111"] |
| numGates | int | 8 |
Number of configured PeriodicGate modules |
| mapping | string |
String specifying the gate index for the ith gate state, e.g. "76543210" means reverse gate index order |
Properties
| Name | Value | Description |
|---|---|---|
| class | GateControlList | |
| display | i=block/table |
Source code
// // Configures multiple `PeriodicGate` modules according to a gate control list. // The modules are looked for at the `^.transmissionGate[*]` relative module path. // simple GateControlList extends SimpleModule { parameters: @class(GateControlList); object durations @unit(s) = default([]); // List of entry durations, e.g. [4ms, 2ms, 2ms, 2ms] object gateStates = default([]); // List of gate states, e.g. ["10000000", "01111111", "10000000", "01111111"] int numGates = default(8); // Number of configured PeriodicGate modules string mapping; // String specifying the gate index for the ith gate state, e.g. "76543210" means reverse gate index order @class(GateControlList); @display("i=block/table"); }File: src/inet/queueing/gate/GateControlList.ned