SObjectizer
5.5
|
Various properties and parameters of message chains. More...
Namespaces | |
details | |
Implementation details. | |
Classes | |
class | capacity_t |
Parameters for defining chain size. More... | |
struct | demand_t |
Description of one demand in message chain. More... | |
class | mchain_template |
Template-based implementation of message chain. More... | |
class | select_case_t |
Base class for representation of one case in multi chain select. More... | |
class | select_notificator_t |
An interface of select_case notificator. More... | |
Typedefs | |
using | duration_t = std::chrono::high_resolution_clock::duration |
An alias for type for repesenting timeout values. More... | |
using | not_empty_notification_func_t = std::function< void() > |
Type of functor for notifies about arrival of a message to the empty chain. More... | |
using | select_case_unique_ptr_t = std::unique_ptr< select_case_t > |
An alias of unique_ptr for select_case. More... | |
Enumerations | |
enum | memory_usage_t { memory_usage_t::dynamic, memory_usage_t::preallocated } |
Memory allocation for storage for size-limited chains. More... | |
enum | overflow_reaction_t { overflow_reaction_t::abort_app, overflow_reaction_t::throw_exception, overflow_reaction_t::drop_newest, overflow_reaction_t::remove_oldest } |
What reaction must be performed on attempt to push new message to the full message chain. More... | |
enum | extraction_status_t { extraction_status_t::no_messages, extraction_status_t::msg_extracted, extraction_status_t::chain_closed } |
Result of extraction of message from a message chain. More... | |
enum | close_mode_t { close_mode_t::drop_content, close_mode_t::retain_content } |
What to do with chain's content at close. More... | |
enum | msg_count_status_t { msg_count_status_t::undefined, msg_count_status_t::defined } |
Status of limit for messages to be extracted/handled during a bulk operation on a mchain. More... | |
Various properties and parameters of message chains.
using so_5::mchain_props::duration_t = typedef std::chrono::high_resolution_clock::duration |
An alias for type for repesenting timeout values.
using so_5::mchain_props::not_empty_notification_func_t = typedef std::function< void() > |
Type of functor for notifies about arrival of a message to the empty chain.
using so_5::mchain_props::select_case_unique_ptr_t = typedef std::unique_ptr< select_case_t > |
An alias of unique_ptr for select_case.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
What reaction must be performed on attempt to push new message to the full message chain.