SObjectizer
5.7
|
Public part of message delivery tracing mechanism. More...
Namespaces | |
impl | |
Implementation details of message delivery tracing mechanism. | |
Classes | |
struct | compound_action_description_t |
An information about compound description of message-related action. More... | |
class | filter_t |
An interface of filter for trace messages. More... | |
class | holder_t |
Interface of holder of message tracer and message trace filter objects. More... | |
struct | message_instance_info_t |
An information about a message instance. More... | |
struct | msg_source_t |
An information about message source. More... | |
class | trace_data_t |
An interface of object for accessing trace details. More... | |
class | tracer_t |
Interface of tracer object. More... | |
Typedefs | |
using | tracer_unique_ptr_t = std::unique_ptr< tracer_t > |
A short alias for unique_ptr to tracer. More... | |
using | filter_shptr_t = intrusive_ptr_t< filter_t > |
An alias for smart pointer to filter. More... | |
Enumerations | |
enum | status_t { status_t::disabled, status_t::enabled } |
Status of message delivery tracing. More... | |
enum | message_or_signal_flag_t { message_or_signal_flag_t::message, message_or_signal_flag_t::signal } |
A flag for message/signal dichotomy. More... | |
enum | msg_source_type_t { msg_source_type_t::mbox, msg_source_type_t::mchain, msg_source_type_t::unknown } |
Type of message source. More... | |
Functions | |
SO_5_FUNC tracer_unique_ptr_t | std_cout_tracer () |
Factory for tracer which uses std::cout stream. More... | |
SO_5_FUNC tracer_unique_ptr_t | std_cerr_tracer () |
Factory for tracer which uses std::cerr stream. More... | |
SO_5_FUNC tracer_unique_ptr_t | std_clog_tracer () |
Factory for tracer which uses std::clog stream. More... | |
template<typename L > | |
filter_shptr_t | make_filter (L &&lambda) |
A helper function for creation of new filter from lambda-function. More... | |
filter_shptr_t | make_enable_all_filter () |
A helper function for creation of filter that enables all messages. More... | |
filter_shptr_t | make_disable_all_filter () |
A helper function for creation of filter that disables all messages. More... | |
filter_shptr_t | no_filter () |
A helper function to be used when it is necessary to remove msg_tracing's filter. More... | |
Public part of message delivery tracing mechanism.
using so_5::msg_tracing::filter_shptr_t = typedef intrusive_ptr_t< filter_t > |
An alias for smart pointer to filter.
using so_5::msg_tracing::tracer_unique_ptr_t = typedef std::unique_ptr< tracer_t > |
A short alias for unique_ptr to tracer.
|
strong |
|
strong |
Type of message source.
Message can be sent to a mbox or to a mchain. This mbox/mchain will be a message source for a subscriber. Sometimes it is necessary to know what is actual type of message source: mbox or mchain.
|
strong |
|
inline |
A helper function for creation of filter that disables all messages.
Usage example:
|
inline |
A helper function for creation of filter that enables all messages.
Usage example:
filter_shptr_t so_5::msg_tracing::make_filter | ( | L && | lambda | ) |
A helper function for creation of new filter from lambda-function.
In most cases usage of that function must easier than implementation of a new class derived from filter_t interface.
Usage example:
|
inline |
A helper function to be used when it is necessary to remove msg_tracing's filter.
Usage example:
SO_5_FUNC tracer_unique_ptr_t so_5::msg_tracing::std_cerr_tracer | ( | ) |
Factory for tracer which uses std::cerr stream.
SO_5_FUNC tracer_unique_ptr_t so_5::msg_tracing::std_clog_tracer | ( | ) |
Factory for tracer which uses std::clog stream.
SO_5_FUNC tracer_unique_ptr_t so_5::msg_tracing::std_cout_tracer | ( | ) |
Factory for tracer which uses std::cout stream.