[][src]Macro kompact::ignore_control

macro_rules! ignore_control {
    ($component:ty) => { ... };
}

A macro that provides an empty implementation of the ControlPort handler.

Use this in components that do not require any special treatment of control events.

Example

To ignore control events for a component TestComponent, write: ignore_control!(TestComponent);