Struct SignalInterface

Struct Documentation

struct SignalInterface

Abstract signal interface, which can trigger a remote action (usually used to trigger a signal in a different component).

Public Members

std::function<void(void)> send

Send a signal pulse to connected device.

std::function<void(bool active)> set

Set a signal state. This function does not care if active is low or high. When the active is true, the signal should be considered in its active state.