libzypp 17.31.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 59 of file ZYppCallbacks.h.

Constructor & Destructor Documentation

◆ ProgressReportAdaptor()

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

Definition at line 62 of file ZYppCallbacks.h.

Member Function Documentation

◆ operator()()

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

Definition at line 70 of file ZYppCallbacks.h.

Member Data Documentation

◆ _fnc

ProgressData::ReceiverFnc zypp::ProgressReportAdaptor::_fnc

Definition at line 89 of file ZYppCallbacks.h.

◆ _report

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

Definition at line 90 of file ZYppCallbacks.h.

◆ _first

bool zypp::ProgressReportAdaptor::_first

Definition at line 91 of file ZYppCallbacks.h.

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