SObjectizer
5.5
|
Helpers for disp_binder implementation. More...
#include <so_5/h/ret_code.hpp>
#include <so_5/h/exception.hpp>
#include <so_5/rt/h/environment.hpp>
#include <functional>
#include <type_traits>
#include <utility>
#include <string>
Go to the source code of this file.
Classes | |
class | so_5::disp::reuse::binder_for_public_disp_template_t< Dispatcher, Binder_Mixin > |
A template of binder for a named dispatcher. More... | |
class | so_5::disp::reuse::binder_for_private_disp_template_t< Handle, Dispatcher, Binder_Mixin > |
A template of binder for a private dispatcher. More... | |
Namespaces | |
so_5 | |
Public part of message limit implementation. | |
so_5::disp | |
Event dispatchers. | |
so_5::disp::reuse | |
Reusable components for dispatchers. | |
Functions | |
template<class Dispatcher , class Action > | |
auto | so_5::disp::reuse::do_with_dispatcher_of_type (dispatcher_t *disp_pointer, const std::string &disp_name, Action action) -> decltype(action(*static_cast< Dispatcher *>(nullptr))) |
A helper method for casing dispatcher to the specified type and performing some action with it. More... | |
template<class Dispatcher , class Action > | |
auto | so_5::disp::reuse::do_with_dispatcher (environment_t &env, const std::string &disp_name, Action action) -> decltype(action(*static_cast< Dispatcher *>(nullptr))) |
A helper method for extracting dispatcher by name, checking its type and to some action. More... | |
Helpers for disp_binder implementation.