18 #ifndef MAUVE_BASE_RELAY_HPP 19 #define MAUVE_BASE_RELAY_HPP 21 #include <mauve/runtime.hpp> 22 #include "PeriodicStateMachine.hpp" 47 auto data = this->shell().read_port.read();
48 this->shell().write_port.write(data);
60 #endif // MAUVE_BASE_PERIODICSTATEMACHINE_HPP void update()
Relay the input data to output.
Definition: Relay.hpp:46
runtime::WritePort< T > & write_port
Output port.
Definition: Relay.hpp:36
Definition: HasPort.hpp:33
Defines a Relay core.
Definition: Relay.hpp:43
Component class.
Definition: Architecture.hpp:34
Definition: HasPort.hpp:36
The MAUVE namespace.
Definition: tracing.hpp:24
Defines a Relay shell.
Definition: Relay.hpp:31
A Shell is the interface of a component.
Definition: Shell.hpp:48
Defines a Periodic State Machine.
Definition: PeriodicStateMachine.hpp:32
The Core defines the methods of the component.
Definition: Core.hpp:38
runtime::ReadPort< T > & read_port
Input port.
Definition: Relay.hpp:34