SObjectizer
5.5
|
Dispatcher which handles events of different priorities in round-robin maner. More...
Namespaces | |
impl | |
Implementation details for dispatcher with round-robin policy of handling prioritized events. | |
Classes | |
class | disp_params_t |
Alias for namespace with traits of event queue. More... | |
class | private_dispatcher_t |
An interface for quoted_round_robin private dispatcher. More... | |
class | quotes_t |
A storage of quotes for priorities. More... | |
Typedefs | |
using | params_t = disp_params_t |
Old alias for disp_params for compatibility with previous versions. More... | |
using | private_dispatcher_handle_t = so_5::intrusive_ptr_t< private_dispatcher_t > |
A handle for the quoted_round_robin private dispatcher. More... | |
Functions | |
SO_5_FUNC dispatcher_unique_ptr_t | create_disp ( const quotes_t "es, disp_params_t params) |
Create an instance of dispatcher to be used as named dispatcher. More... | |
SO_5_FUNC private_dispatcher_handle_t | create_private_disp ( environment_t &env, const quotes_t "es, const std::string &data_sources_name_base, disp_params_t params) |
Create a private quoted_round_robin dispatcher. More... | |
SO_5_FUNC disp_binder_unique_ptr_t | create_disp_binder ( const std::string &disp_name) |
Create a dispatcher binder object. More... | |
dispatcher_unique_ptr_t | create_disp (const quotes_t "es) |
Create a dispatcher. More... | |
private_dispatcher_handle_t | create_private_disp (environment_t &env, const quotes_t "es, const std::string &data_sources_name_base) |
Create a private quoted_round_robin dispatcher. More... | |
private_dispatcher_handle_t | create_private_disp (environment_t &env, const quotes_t "es) |
Create a private quoted_round_robin dispatcher. More... | |
Dispatcher which handles events of different priorities in round-robin maner.
Old alias for disp_params for compatibility with previous versions.
using so_5::disp::prio_one_thread::quoted_round_robin::private_dispatcher_handle_t = typedef so_5::intrusive_ptr_t< private_dispatcher_t > |
A handle for the quoted_round_robin private dispatcher.
|
inline |
Create a dispatcher.
quotes | Quotes for every priority. |
SO_5_FUNC dispatcher_unique_ptr_t so_5::disp::prio_one_thread::quoted_round_robin::create_disp | ( | const quotes_t & | quotes, |
disp_params_t | params | ||
) |
Create an instance of dispatcher to be used as named dispatcher.
quotes | Quotes for every priority. |
params | Parameters for dispatcher. |
SO_5_FUNC disp_binder_unique_ptr_t so_5::disp::prio_one_thread::quoted_round_robin::create_disp_binder | ( | const std::string & | disp_name | ) |
Create a dispatcher binder object.
disp_name | Name of the dispatcher to be bound to. |
|
inline |
Create a private quoted_round_robin dispatcher.
env | SObjectizer Environment to work in. |
quotes | Quotes for every priority. |
data_sources_name_base | Value for creating names of data sources for run-time monitoring. |
|
inline |
Create a private quoted_round_robin dispatcher.
env | SObjectizer Environment to work in. |
quotes | Quotes for every priority. |
SO_5_FUNC private_dispatcher_handle_t so_5::disp::prio_one_thread::quoted_round_robin::create_private_disp | ( | environment_t & | env, |
const quotes_t & | quotes, | ||
const std::string & | data_sources_name_base, | ||
disp_params_t | params | ||
) |
Create a private quoted_round_robin dispatcher.
env | SObjectizer Environment to work in. |
quotes | Quotes for every priority. |
data_sources_name_base | Value for creating names of data sources for run-time monitoring. |
params | Parameters for the dispatcher. |