Default stringifier of rotor messages. More...
#include <default_stringifier.h>
Public Member Functions | |
| void | stringify_to (std::ostream &, const message_base_t &) const override |
| dumps string representation of a message to output stream | |
| bool | try_visit (const message_base_t &message, void *context) const override |
| returns true if a message has been successfully processed | |
Default stringifier of rotor messages.
The custom message stringifier should override the try_visit method and do message stringification of own custom messages, and only then call try_visit of the default_stringifier.
The stringifier is potentially slow and should be used for debugging or problems identification.
|
overridevirtual |
dumps string representation of a message to output stream
Implements rotor::message_stringifier_t.
|
overridevirtual |
returns true if a message has been successfully processed
Implements rotor::message_visitor_t.