libzypp  13.10.6
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 48 of file ZYppCallbacks.h.

Constructor & Destructor Documentation

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

Definition at line 51 of file ZYppCallbacks.h.

Member Function Documentation

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

Definition at line 59 of file ZYppCallbacks.h.

Member Data Documentation

ProgressData::ReceiverFnc zypp::ProgressReportAdaptor::_fnc

Definition at line 80 of file ZYppCallbacks.h.

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

Definition at line 81 of file ZYppCallbacks.h.

bool zypp::ProgressReportAdaptor::_first

Definition at line 82 of file ZYppCallbacks.h.


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