version 0.4.4
controlroutinebase.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2021-2025 The Ikarus Developers ikarus@ibb.uni-stuttgart.de
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
9#pragma once
13
14namespace Ikarus {
15
22template <typename F, typename S = ControlRoutineStateType<F>, typename... Args>
23struct ControlRoutineBase : Broadcaster<ControlMessages, S>
24{
25 using State = S;
26};
27
28} // namespace Ikarus
Implementation of the observer design pattern with broadcasters.
Enums for observer messages.
State for all controlroutines.
Definition: assemblermanipulatorbuildingblocks.hh:22
Base for all control routines. Defines the message interface that can be broadcasted to listeners.
Definition: controlroutinebase.hh:24
S State
Definition: controlroutinebase.hh:25
Implements a Broadcaster for a given MessageType and BroadcasterState.
Definition: broadcaster.hh:26