Implements @delegatesignal properties. @delegatesignal arranges a source signal to be emitted as a target signal, possibly on another module.
A @delegatesignal property needs two attributes:
Example:
@delegatesignal[rcvdPk](source=hostB.udpApp[0].rcvdPk; target=hostBrcvdPk);
This module runs at initialization time. It finds @delegatesignal properties in all modules, and adds the appropriate signal listeners.
This is a helper for instrument figures, as @statistic can only listen on local signals. It can be probably removed in OMNeT++ 5.1.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
WirelessA | network | (no description) |
Name | Value | Description |
---|---|---|
display | i=block/cogwheel_s |
// // Implements @delegatesignal properties. @delegatesignal arranges a // source signal to be emitted as a target signal, possibly on another // module. // // A @delegatesignal property needs two attributes: // - source is the signal to subscribe to, in <signalName> or // <modulePath>.<signalName> format // - target is the signal to emit, in <signalName> or // <modulePath>.<signalName> format // // Example: // <code> // @delegatesignal[rcvdPk](source=hostB.udpApp[0].rcvdPk; target=hostBrcvdPk); // </code> // // This module runs at initialization time. It finds @delegatesignal properties // in all modules, and adds the appropriate signal listeners. // // This is a helper for instrument figures, as @statistic can only listen on // local signals. It can be probably removed in OMNeT++ 5.1. // simple DelegateSignalConfigurator { parameters: @display("i=block/cogwheel_s"); }