libzypp  17.5.0
zypp::ProgressReportAdaptor Struct Reference

#include <ZYppCallbacks.h>

Public Member Functions

 ProgressReportAdaptor (const ProgressData::ReceiverFnc &fnc, callback::SendReport< ProgressReport > &report)
 
bool operator() (const ProgressData &progress)
 

Public Attributes

ProgressData::ReceiverFnc _fnc
 
callback::SendReport< ProgressReport > & _report
 
bool _first
 

Detailed Description

Definition at line 58 of file ZYppCallbacks.h.

Constructor & Destructor Documentation

◆ ProgressReportAdaptor()

zypp::ProgressReportAdaptor::ProgressReportAdaptor ( const ProgressData::ReceiverFnc fnc,
callback::SendReport< ProgressReport > &  report 
)
inline

Definition at line 61 of file ZYppCallbacks.h.

Member Function Documentation

◆ operator()()

bool zypp::ProgressReportAdaptor::operator() ( const ProgressData progress)
inline

Definition at line 69 of file ZYppCallbacks.h.

Member Data Documentation

◆ _fnc

ProgressData::ReceiverFnc zypp::ProgressReportAdaptor::_fnc

Definition at line 88 of file ZYppCallbacks.h.

◆ _report

callback::SendReport<ProgressReport>& zypp::ProgressReportAdaptor::_report

Definition at line 89 of file ZYppCallbacks.h.

◆ _first

bool zypp::ProgressReportAdaptor::_first

Definition at line 90 of file ZYppCallbacks.h.


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