libzypp 17.31.23
zypp::target::SendSingleTransReport Struct Reference

Convenience SendReport<rpm::SingleTransReport> wrapper. More...

Inheritance diagram for zypp::target::SendSingleTransReport:

Public Member Functions

void sendLogline (const std::string &line_r, ReportType::loglevel level_r=ReportType::loglevel::msg)
 Convenience to send a contentLogline.
 
void sendLoglineRpm (const std::string &line_r, unsigned rpmlevel_r)
 Convenience to send a contentLogline translating a rpm loglevel.
 
- Public Member Functions inherited from zypp::callback::SendReport< rpm::SingleTransReport >
 SendReport ()
 
 ~SendReport ()
 
Distributoroperator-> ()
 

Private Member Functions

void report (const callback::UserData &userData_r)
 

Additional Inherited Members

- Public Types inherited from zypp::callback::SendReport< rpm::SingleTransReport >
typedef rpm::SingleTransReport ReportType
 
typedef ReceiveReport< rpm::SingleTransReport > Receiver
 
typedef DistributeReport< rpm::SingleTransReport > Distributor
 
- Static Public Member Functions inherited from zypp::callback::SendReport< rpm::SingleTransReport >
static ReceiverwhoIsConnected ()
 
static bool connected ()
 

Detailed Description

Convenience SendReport<rpm::SingleTransReport> wrapper.

Provide convenience methods to invoke a generic report supplied with the proper UserData and ContentType,

Definition at line 1899 of file TargetImpl.cc.

Member Function Documentation

◆ sendLogline()

void zypp::target::SendSingleTransReport::sendLogline ( const std::string &  line_r,
ReportType::loglevel  level_r = ReportType::loglevel::msg 
)
inline

Convenience to send a contentLogline.

Definition at line 1902 of file TargetImpl.cc.

◆ sendLoglineRpm()

void zypp::target::SendSingleTransReport::sendLoglineRpm ( const std::string &  line_r,
unsigned  rpmlevel_r 
)
inline

Convenience to send a contentLogline translating a rpm loglevel.

Definition at line 1910 of file TargetImpl.cc.

◆ report()

void zypp::target::SendSingleTransReport::report ( const callback::UserData userData_r)
inlineprivate

Definition at line 1934 of file TargetImpl.cc.


The documentation for this struct was generated from the following file: