libzypp
13.10.6
|
#include <TargetCallbackReceiver.h>
Public Member Functions | |
RpmInstallPackageReceiver (Resolvable::constPtr res) | |
virtual | ~RpmInstallPackageReceiver () |
virtual void | reportbegin () |
virtual void | reportend () |
virtual void | start (const Pathname &name) |
Start the operation. More... | |
void | tryLevel (target::rpm::InstallResolvableReport::RpmLevel level_r) |
bool | aborted () const |
virtual bool | progress (unsigned percent) |
Inform about progress Return true on abort. More... | |
virtual rpm::RpmInstallReport::Action | problem (Exception &excpt_r) |
inform user about a problem More... | |
virtual void | finishInfo (const std::string &info_r) |
Additional rpm output to be reported in finish in case of success. More... | |
virtual void | finish () |
Finish operation in case of success. More... | |
virtual void | finish (Exception &excpt_r) |
Finish operatin in case of fail, report fail exception. More... | |
Public Member Functions inherited from zypp::callback::ReceiveReport< rpm::RpmInstallReport > | |
virtual | ~ReceiveReport () |
ReceiveReport * | whoIsConnected () const |
bool | connected () const |
void | connect () |
void | disconnect () |
Private Attributes | |
callback::SendReport < rpm::InstallResolvableReport > | _report |
Resolvable::constPtr | _resolvable |
target::rpm::InstallResolvableReport::RpmLevel | _level |
bool | _abort |
std::string | _finishInfo |
Additional Inherited Members | |
Public Types inherited from zypp::callback::ReceiveReport< rpm::RpmInstallReport > | |
typedef rpm::RpmInstallReport | ReportType |
typedef ReceiveReport < rpm::RpmInstallReport > | Receiver |
typedef DistributeReport < rpm::RpmInstallReport > | Distributor |
Definition at line 25 of file TargetCallbackReceiver.h.
zypp::target::RpmInstallPackageReceiver::RpmInstallPackageReceiver | ( | Resolvable::constPtr | res | ) |
Definition at line 24 of file TargetCallbackReceiver.cc.
|
virtual |
Definition at line 32 of file TargetCallbackReceiver.cc.
|
virtual |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmInstallReport >.
Definition at line 36 of file TargetCallbackReceiver.cc.
|
virtual |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmInstallReport >.
Definition at line 40 of file TargetCallbackReceiver.cc.
|
virtual |
Start the operation.
Definition at line 45 of file TargetCallbackReceiver.cc.
void zypp::target::RpmInstallPackageReceiver::tryLevel | ( | target::rpm::InstallResolvableReport::RpmLevel | level_r | ) |
Definition at line 101 of file TargetCallbackReceiver.cc.
|
inline |
Definition at line 48 of file TargetCallbackReceiver.h.
|
virtual |
Inform about progress Return true on abort.
Definition at line 55 of file TargetCallbackReceiver.cc.
|
virtual |
inform user about a problem
Definition at line 62 of file TargetCallbackReceiver.cc.
|
virtual |
Additional rpm output to be reported in finish in case of success.
Definition at line 84 of file TargetCallbackReceiver.cc.
|
virtual |
Finish operation in case of success.
Definition at line 90 of file TargetCallbackReceiver.cc.
|
virtual |
Finish operatin in case of fail, report fail exception.
Finish operation in case of success.
Definition at line 96 of file TargetCallbackReceiver.cc.
|
private |
Definition at line 28 of file TargetCallbackReceiver.h.
|
private |
Definition at line 29 of file TargetCallbackReceiver.h.
|
private |
Definition at line 30 of file TargetCallbackReceiver.h.
|
private |
Definition at line 31 of file TargetCallbackReceiver.h.
|
private |
Definition at line 32 of file TargetCallbackReceiver.h.