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 SO_5_NOEXCEPT=0 |
Get the Thread ID from trace message. More... | |
virtual optional< std::type_index > | msg_type () const SO_5_NOEXCEPT=0 |
Get the information about message type. More... | |
virtual optional< msg_source_t > | msg_source () const SO_5_NOEXCEPT=0 |
Get the information about message source. More... | |
virtual optional< const so_5::agent_t * > | agent () const SO_5_NOEXCEPT=0 |
Get a pointer to agent from trace message. More... | |
virtual optional< message_or_signal_flag_t > | message_or_signal () const SO_5_NOEXCEPT=0 |
Get message or signal information. More... | |
virtual optional< message_instance_info_t > | message_instance_info () const SO_5_NOEXCEPT=0 |
Get message instance information. More... | |
virtual optional< compound_action_description_t > | compound_action () const SO_5_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 SO_5_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 () SO_5_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 |
|
protectedvirtualdefault |
|
pure virtual |
Get a pointer to agent from trace message.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtual |
Get the description of a compound action.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtual |
Get pointer to event handler.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtual |
Get message instance information.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtual |
Get message or signal information.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtual |
Get the information about message source.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
pure virtual |
Get the information about message type.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.
|
protecteddelete |
|
pure virtual |
Get the Thread ID from trace message.
Implemented in so_5::impl::msg_tracing_helpers::details::actual_trace_data_t.