libzypp
17.7.2
|
Generic report for sending messages. More...
#include <ZYppCallbacks.h>
Classes | |
struct | EMsgTypeDef |
message type (use like 'enum class MsgType') More... | |
Public Types | |
typedef base::EnumClass< EMsgTypeDef > | MsgType |
'enum class MsgType' More... | |
typedef callback::UserData | UserData |
typsafe map of userdata More... | |
![]() | |
typedef callback::UserData | UserData |
typedef UserData::ContentType | ContentType |
Public Member Functions | |
virtual bool | message (MsgType type_r, const std::string &msg_r, const UserData &userData_r) const |
Send a ready to show message text. More... | |
![]() | |
virtual void | report (const UserData &userData_r=UserData()) |
The most generic way of sending/receiving data. More... | |
virtual | ~ReportBase () |
Static Public Member Functions | |
Static sender instance | |
static callback::SendReport< JobReport > & | instance () |
Singleton sender instance. More... | |
static bool | debug (const std::string &msg_r, const UserData &userData_r=UserData()) |
send debug message text More... | |
static bool | info (const std::string &msg_r, const UserData &userData_r=UserData()) |
send message text More... | |
static bool | warning (const std::string &msg_r, const UserData &userData_r=UserData()) |
send warning text More... | |
static bool | error (const std::string &msg_r, const UserData &userData_r=UserData()) |
send error text More... | |
static bool | important (const std::string &msg_r, const UserData &userData_r=UserData()) |
send important message text More... | |
static bool | data (const std::string &msg_r, const UserData &userData_r=UserData()) |
send data message More... | |
Generic report for sending messages.
Definition at line 787 of file ZYppCallbacks.h.
typedef base::EnumClass<EMsgTypeDef> zypp::JobReport::MsgType |
'enum class MsgType'
Definition at line 794 of file ZYppCallbacks.h.
typsafe map of userdata
Definition at line 797 of file ZYppCallbacks.h.
|
inlinevirtual |
Send a ready to show message text.
Definition at line 801 of file ZYppCallbacks.h.
|
static |
Singleton sender instance.
Definition at line 50 of file ZYppImpl.cc.
|
inlinestatic |
send debug message text
Definition at line 811 of file ZYppCallbacks.h.
|
inlinestatic |
send message text
Definition at line 815 of file ZYppCallbacks.h.
|
inlinestatic |
send warning text
Definition at line 819 of file ZYppCallbacks.h.
|
inlinestatic |
send error text
Definition at line 823 of file ZYppCallbacks.h.
|
inlinestatic |
send important message text
Definition at line 827 of file ZYppCallbacks.h.
|
inlinestatic |
send data message
Definition at line 831 of file ZYppCallbacks.h.