Base class for message bus actors with fixed number of message handlers.
More...
#include <eagine/message_bus/actor.hpp>
|
template<typename Class , typename... MsgMaps, typename = std::enable_if_t<sizeof...(MsgMaps) == N>> |
| actor (main_ctx_object obj, Class *instance, MsgMaps... msg_maps) |
| Constructor usable from derived classes.
|
|
template<typename Derived , typename Class , typename... MsgMaps, typename = std::enable_if_t< (sizeof...(MsgMaps) == N) && std::is_base_of_v<actor, Derived>>> |
| actor (Derived &&temp, Class *instance, MsgMaps... msg_maps) noexcept |
| Constructor usable from derived classes.
|
|
constexpr | interface () noexcept=default |
| Default constructible by derived.
|
|
constexpr | interface (interface &&) noexcept=default |
| Move constructible by derived.
|
|
template<std::size_t N, template< std::size_t > class Subscriber = static_subscriber>
class eagine::msgbus::actor< N, Subscriber >
Base class for message bus actors with fixed number of message handlers.
- See also
- static_subscriber
-
subscriber
-
endpoint
◆ process_all()
template<std::size_t N, template< std::size_t > class Subscriber = static_subscriber>
Processes all enqueued messages for which there are handlers.
- See also
- process_one
◆ process_one()
template<std::size_t N, template< std::size_t > class Subscriber = static_subscriber>
Processes a single enqueued message for which there is a handler.
- See also
- process_all
The documentation for this class was generated from the following file: