9#include "rotor/supervisor_config.h"
33 using supervisor_config_t::supervisor_config_t;
39 using builder_t =
typename Supervisor::template config_builder_t<Supervisor>;
46 constexpr static const std::uint32_t
EVT_LOOP = 1 << 2;
55 return std::move(*
static_cast<builder_t *
>(
this));
Basic namespace for all rotor functionalities.
Definition rotor.hpp:21
config_t config
the currently build config
Definition actor_config.h:128
static constexpr const std::uint32_t requirements_mask
bit mask for all required fields
Definition actor_config.h:116
std::uint32_t mask
required fields mask (used for validation)
Definition actor_config.h:131
CRTP supervisor config builder.
Definition supervisor_config.h:72
base supervisor config, which holds shutdown timeout value
Definition supervisor_config.h:23
config builder for wx supervisor
Definition supervisor_config_wx.h:37
static constexpr const std::uint32_t requirements_mask
bit mask for all required fields
Definition supervisor_config_wx.h:49
static constexpr const std::uint32_t EVT_LOOP
bit mask for event handler validation
Definition supervisor_config_wx.h:46
typename Supervisor::template config_builder_t< Supervisor > builder_t
final builder class
Definition supervisor_config_wx.h:39
builder_t && handler(wxEvtHandler *handler_) &&
sets event handler
Definition supervisor_config_wx.h:52
wx supervisor config, which holds a pointer to the "context window".
Definition supervisor_config_wx.h:18
wxEvtHandler * handler
the wx context, responsible for messages delivery
Definition supervisor_config_wx.h:31