SObjectizer
5.5
|
An interface of object for accessing trace details. More...
#include <msg_tracing.hpp>
Public Member Functions | |
virtual optional< current_thread_id_t > | tid () const noexcept=0 |
Get the Thread ID from trace message. More... | |
virtual optional< std::type_index > | msg_type () const noexcept=0 |
Get the information about message type. More... | |
virtual optional< msg_source_t > | msg_source () const noexcept=0 |
Get the information about message source. More... | |
virtual optional< const so_5::agent_t * > | agent () const noexcept=0 |
Get a pointer to agent from trace message. More... | |
virtual optional< message_or_signal_flag_t > | message_or_signal () const noexcept=0 |
Get message or signal information. More... | |
virtual optional< message_instance_info_t > | message_instance_info () const noexcept=0 |
Get message instance information. More... | |
virtual optional< compound_action_description_t > | compound_action () const noexcept=0 |
Get the description of a compound action. More... | |
virtual optional< const so_5::impl::event_handler_data_t * > | event_handler_data_ptr () const noexcept=0 |
Get pointer to event handler. More... | |
Protected Member Functions | |
trace_data_t (const trace_data_t &)=delete | |
trace_data_t & | operator= (const trace_data_t &)=delete |
trace_data_t ()=default | |
virtual | ~trace_data_t () noexcept=default |
An interface of object for accessing trace details.
A reference to an object with this interface will be passed to trace filter. This interface provides access to details of a trace message.
Please note that not all data can be available for every trace message. Because of that all methods returns optional values. It means that the value returned must be checked for presense first. For example:
|
protecteddelete |
|
protecteddefault |
|
protectedvirtualdefaultnoexcept |
|
pure virtualnoexcept |
Get a pointer to agent from trace message.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtualnoexcept |
Get the description of a compound action.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtualnoexcept |
Get pointer to event handler.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtualnoexcept |
Get message instance information.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtualnoexcept |
Get message or signal information.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtualnoexcept |
Get the information about message source.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtualnoexcept |
Get the information about message type.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
protecteddelete |
|
pure virtualnoexcept |
Get the Thread ID from trace message.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.