#include <TargetCallbackReceiver.h>
Inheritance diagram for zypp::target::RpmInstallPackageReceiver:
Public Member Functions | |
RpmInstallPackageReceiver (Resolvable::constPtr res) | |
virtual | ~RpmInstallPackageReceiver () |
virtual void | reportbegin () |
virtual void | reportend () |
virtual void | start (const Pathname &name) |
Start the operation. | |
void | tryLevel (target::rpm::InstallResolvableReport::RpmLevel level_r) |
bool | aborted () const |
virtual bool | progress (unsigned percent) |
Inform about progress Return true on abort. | |
virtual rpm::RpmInstallReport::Action | problem (Exception &excpt_r) |
inform user about a problem | |
virtual void | finish () |
Finish operation in case of success. | |
virtual void | finish (Exception &excpt_r) |
Finish operation in case of success. | |
Private Attributes | |
callback::SendReport< rpm::InstallResolvableReport > | _report |
Resolvable::constPtr | _resolvable |
target::rpm::InstallResolvableReport::RpmLevel | _level |
bool | _abort |
Definition at line 25 of file TargetCallbackReceiver.h.
|
Definition at line 24 of file TargetCallbackReceiver.cc. |
|
Definition at line 32 of file TargetCallbackReceiver.cc. |
|
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmInstallReport >. Definition at line 36 of file TargetCallbackReceiver.cc. |
|
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmInstallReport >. Definition at line 40 of file TargetCallbackReceiver.cc. |
|
Start the operation.
Definition at line 45 of file TargetCallbackReceiver.cc. References _abort, _report, and _resolvable. |
|
Definition at line 95 of file TargetCallbackReceiver.cc. References _level. |
|
Definition at line 47 of file TargetCallbackReceiver.h. References _abort. |
|
Inform about progress Return true on abort.
Definition at line 55 of file TargetCallbackReceiver.cc. References _abort, _report, and _resolvable. |
|
|
Finish operation in case of success.
Definition at line 84 of file TargetCallbackReceiver.cc. References _level, _report, _resolvable, and zypp::target::rpm::InstallResolvableReport::NO_ERROR. |
|
Finish operation in case of success.
Definition at line 90 of file TargetCallbackReceiver.cc. References _level, _report, _resolvable, and zypp::target::rpm::InstallResolvableReport::INVALID. |
|
Definition at line 28 of file TargetCallbackReceiver.h. Referenced by finish(), problem(), progress(), and start(). |
|
Definition at line 29 of file TargetCallbackReceiver.h. Referenced by finish(), problem(), progress(), and start(). |
|
Definition at line 30 of file TargetCallbackReceiver.h. Referenced by finish(), problem(), and tryLevel(). |
|
Definition at line 31 of file TargetCallbackReceiver.h. Referenced by aborted(), progress(), and start(). |