#include <ui_message.h>
|
| ui_message_handlert (message_handlert *, uit, const std::string &program, const bool always_flush, timestampert::clockt clock_type) |
|
virtual void | print (unsigned level, const std::string &message) override |
|
virtual void | print (unsigned level, const std::string &message, const source_locationt &location) override |
|
virtual void | print (unsigned level, const xmlt &data) override |
|
virtual void | print (unsigned level, const jsont &data) override |
|
virtual void | xml_ui_msg (const std::string &type, const std::string &msg, const source_locationt &location) |
|
virtual void | json_ui_msg (const std::string &type, const std::string &msg, const source_locationt &location) |
|
virtual void | ui_msg (const std::string &type, const std::string &msg, const source_locationt &location) |
|
const char * | level_string (unsigned level) |
|
std::string | command (unsigned c) const override |
| Create an ECMA-48 SGR (Select Graphic Rendition) command. More...
|
|
Definition at line 21 of file ui_message.h.
◆ uit
Enumerator |
---|
PLAIN | |
XML_UI | |
JSON_UI | |
Definition at line 24 of file ui_message.h.
◆ ui_message_handlert() [1/4]
ui_message_handlert::ui_message_handlert |
( |
const class cmdlinet & |
cmdline, |
|
|
const std::string & |
program |
|
) |
| |
◆ ui_message_handlert() [2/4]
◆ ui_message_handlert() [3/4]
◆ ~ui_message_handlert()
ui_message_handlert::~ui_message_handlert |
( |
| ) |
|
|
virtual |
◆ ui_message_handlert() [4/4]
◆ command()
std::string ui_message_handlert::command |
( |
unsigned |
| ) |
const |
|
inlineoverrideprotectedvirtual |
Create an ECMA-48 SGR (Select Graphic Rendition) command.
The default behavior is no action.
Reimplemented from message_handlert.
Definition at line 97 of file ui_message.h.
◆ flush()
void ui_message_handlert::flush |
( |
unsigned |
level | ) |
|
|
overridevirtual |
◆ get_json_stream()
◆ get_ui()
virtual uit ui_message_handlert::get_ui |
( |
| ) |
const |
|
inlinevirtual |
◆ json_ui_msg()
void ui_message_handlert::json_ui_msg |
( |
const std::string & |
type, |
|
|
const std::string & |
msg, |
|
|
const source_locationt & |
location |
|
) |
| |
|
protectedvirtual |
◆ level_string()
const char * ui_message_handlert::level_string |
( |
unsigned |
level | ) |
|
|
protected |
◆ print() [1/5]
void ui_message_handlert::print |
( |
unsigned |
level, |
|
|
const jsont & |
data |
|
) |
| |
|
overrideprotectedvirtual |
◆ print() [2/5]
void ui_message_handlert::print |
( |
unsigned |
level, |
|
|
const std::string & |
message |
|
) |
| |
|
overrideprotectedvirtual |
◆ print() [3/5]
void ui_message_handlert::print |
( |
unsigned |
level, |
|
|
const std::string & |
message, |
|
|
const source_locationt & |
location |
|
) |
| |
|
overrideprotectedvirtual |
◆ print() [4/5]
void ui_message_handlert::print |
( |
unsigned |
level, |
|
|
const structured_datat & |
data |
|
) |
| |
|
overridevirtual |
◆ print() [5/5]
void ui_message_handlert::print |
( |
unsigned |
level, |
|
|
const xmlt & |
data |
|
) |
| |
|
overrideprotectedvirtual |
◆ ui_msg()
void ui_message_handlert::ui_msg |
( |
const std::string & |
type, |
|
|
const std::string & |
msg, |
|
|
const source_locationt & |
location |
|
) |
| |
|
protectedvirtual |
◆ xml_ui_msg()
void ui_message_handlert::xml_ui_msg |
( |
const std::string & |
type, |
|
|
const std::string & |
msg, |
|
|
const source_locationt & |
location |
|
) |
| |
|
protectedvirtual |
◆ _ui
uit ui_message_handlert::_ui |
|
protected |
◆ always_flush
const bool ui_message_handlert::always_flush |
|
protected |
◆ console_message_handler
◆ json_stream
◆ message_handler
◆ out
std::ostream& ui_message_handlert::out |
|
protected |
◆ time
std::unique_ptr<const timestampert> ui_message_handlert::time |
|
protected |
The documentation for this class was generated from the following files: