9#include "plugin_base.h"
11namespace rotor::plugin {
20 using plugin_base_t::plugin_base_t;
25 const std::type_index &
identity() const noexcept override;
28 void deactivate() noexcept override;
34 template <typename Handler>
37 bool handle_init(message::init_request_t *) noexcept override;
38 void handle_start(message::start_trigger_t *message) noexcept override;
39 bool handle_subscription(message::
subscription_t &message) noexcept override;
42 void on_start(message::start_trigger_t &message) noexcept;
46 bool configured = false;
intrusive_ptr_t< address_t > address_ptr_t
intrusive pointer for address
Definition address.hpp:57
intrusive_ptr_t< subscription_info_t > subscription_info_ptr_t
intrusive pointer for subscription_info_t
Definition subscription_point.h:127
universal primitive of concurrent computation
Definition actor_base.h:47
base class for all actor plugins
Definition plugin_base.h:23
allows custom (actor) subscriptions and it is responsible for starting actor when it receives message...
Definition starter.h:19
const std::type_index & identity() const noexcept override
returns pointer, which uniquely identifiess plugin type
static const std::type_index class_identity
Definition starter.h:23
list of subscription_info_ptr_t with possibility to find via subscription_point_t
Definition subscription_point.h:132
Holds and classifies message handlers on behalf of supervisor.
Definition subscription.h:30