19 #ifndef MIR_REPORT_LOGGING_MESSAGE_PROCESSOR_REPORT_H_ 20 #define MIR_REPORT_LOGGING_MESSAGE_PROCESSOR_REPORT_H_ 27 #include <unordered_map> 48 typedef std::unordered_map<int, InvocationDetails>
Invocations;
55 typedef std::unordered_map<void const*, MediatorDetails>
Mediators;
62 std::shared_ptr<mir::logging::Logger>
const&
log,
63 std::shared_ptr<time::Clock>
const& clock);
67 void completed_invocation(
void const* mediator,
int id,
bool result);
71 void exception_handled(
void const* mediator,
int id, std::exception
const&
error);
73 void exception_handled(
void const* mediator, std::exception
const& error);
78 std::shared_ptr<mir::logging::Logger>
const log;
79 std::shared_ptr<time::Clock>
const clock;
All things Mir.
Definition: atomic_callback.h:25
Definition: message_processor_report.h:58
std::unordered_map< void const *, MediatorDetails > Mediators
Definition: message_processor_report.h:55
std::chrono::steady_clock::time_point Timestamp
Definition: types.h:29
void log(ml::Severity severity, std::string const &message)
Definition: logger.cpp:78
Definition: message_processor_report.h:32
std::string method
Definition: message_processor_report.h:44
unknown_method
Definition: message_processor_report_tp.h:61
std::string exception
Definition: message_processor_report.h:45
Definition: message_processor_report.h:41
std::unordered_map< int, InvocationDetails > Invocations
Definition: message_processor_report.h:48
received_invocation
Definition: message_processor_report_tp.h:43
time::Timestamp start
Definition: message_processor_report.h:43