2
3
6
7
8
9
10
12#include <so_5/impl/msg_tracing_helpers.hpp>
41 return m_message_sink;
59 return m_message_or_signal;
65 return m_message_instance_info;
71 return m_compound_action;
77 return m_event_handler_data_ptr;
95 m_message_sink = sink;
100 const std::type_index & msg_type )
noexcept
102 m_msg_type = msg_type;
116 m_message_or_signal = flag;
123 m_message_instance_info = info;
130 m_compound_action = desc;
137 m_event_handler_data_ptr = ptr;
Interface for message sink.
An actual implementation of trace data interface.
void set_event_handler_data_ptr(const so_5::impl::event_handler_data_t *ptr) noexcept
void set_msg_type(const std::type_index &msg_type) noexcept
virtual optional< std::type_index > msg_type() const noexcept override
Get the information about message type.
void set_msg_source(so_5::msg_tracing::msg_source_t info) noexcept
virtual optional< const so_5::impl::event_handler_data_t * > event_handler_data_ptr() const noexcept override
Get pointer to event handler.
void set_compound_action(so_5::msg_tracing::compound_action_description_t desc) noexcept
void set_message_instance_info(so_5::msg_tracing::message_instance_info_t info) noexcept
virtual optional< so_5::msg_tracing::compound_action_description_t > compound_action() const noexcept override
Get the description of a compound action.
void set_tid(current_thread_id_t tid) noexcept
virtual optional< so_5::msg_tracing::message_instance_info_t > message_instance_info() const noexcept override
Get message instance information.
virtual optional< so_5::msg_tracing::msg_source_t > msg_source() const noexcept override
Get the information about message source.
void set_message_or_signal(so_5::msg_tracing::message_or_signal_flag_t flag) noexcept
virtual optional< const agent_t * > agent() const noexcept override
Get a pointer to agent from trace message.
void set_agent(const agent_t *agent) noexcept
virtual optional< const abstract_message_sink_t * > message_sink() const noexcept override
Get a pointer to message_sink from trace message.
virtual optional< so_5::msg_tracing::message_or_signal_flag_t > message_or_signal() const noexcept override
Get message or signal information.
void set_message_sink(const abstract_message_sink_t *message_sink) noexcept
virtual optional< current_thread_id_t > tid() const noexcept override
Get the Thread ID from trace message.
Low-level details of message delivery tracing implementation.
Various helpers for message delivery tracing mechanism.
Details of SObjectizer run-time implementations.
Public part of message delivery tracing mechanism.
message_or_signal_flag_t
A flag for message/signal dichotomy.
Private part of message limit implementation.
Information about event_handler and its properties.
An information about compound description of message-related action.
An information about a message instance.
An information about message source.