libzypp
10.5.0
|
#include <TargetCallbackReceiver.h>
Public Member Functions | |
RpmRemovePackageReceiver (Resolvable::constPtr res) | |
RpmRemovePackageReceiver. | |
virtual | ~RpmRemovePackageReceiver () |
virtual void | reportbegin () |
virtual void | reportend () |
virtual void | start (const std::string &name) |
Start the operation. | |
virtual bool | progress (unsigned percent) |
Inform about progress Return true on abort. | |
bool | aborted () const |
Returns true if removing is aborted during progress. | |
virtual rpm::RpmRemoveReport::Action | problem (Exception &excpt_r) |
inform user about a problem | |
virtual void | finishInfo (const std::string &info_r) |
Additional rpm output to be reported in finish in case of success. | |
virtual void | finish () |
Finish operation in case of success. | |
virtual void | finish (Exception &excpt_r) |
Finish operatin in case of fail, report fail exception. | |
Private Attributes | |
callback::SendReport < rpm::RemoveResolvableReport > | _report |
Resolvable::constPtr | _resolvable |
bool | _abort |
std::string | _finishInfo |
Definition at line 69 of file TargetCallbackReceiver.h.
zypp::target::RpmRemovePackageReceiver::RpmRemovePackageReceiver | ( | Resolvable::constPtr | res | ) |
Definition at line 111 of file TargetCallbackReceiver.cc.
zypp::target::RpmRemovePackageReceiver::~RpmRemovePackageReceiver | ( | ) | [virtual] |
Definition at line 118 of file TargetCallbackReceiver.cc.
void zypp::target::RpmRemovePackageReceiver::reportbegin | ( | ) | [virtual] |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmRemoveReport >.
Definition at line 122 of file TargetCallbackReceiver.cc.
void zypp::target::RpmRemovePackageReceiver::reportend | ( | ) | [virtual] |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmRemoveReport >.
Definition at line 126 of file TargetCallbackReceiver.cc.
void zypp::target::RpmRemovePackageReceiver::start | ( | const std::string & | name | ) | [virtual] |
Start the operation.
Definition at line 131 of file TargetCallbackReceiver.cc.
bool zypp::target::RpmRemovePackageReceiver::progress | ( | unsigned | percent | ) | [virtual] |
Inform about progress Return true on abort.
Definition at line 141 of file TargetCallbackReceiver.cc.
bool zypp::target::RpmRemovePackageReceiver::aborted | ( | ) | const [inline] |
Returns true if removing is aborted during progress.
Definition at line 98 of file TargetCallbackReceiver.h.
rpm::RpmRemoveReport::Action zypp::target::RpmRemovePackageReceiver::problem | ( | Exception & | excpt_r | ) | [virtual] |
inform user about a problem
Definition at line 148 of file TargetCallbackReceiver.cc.
void zypp::target::RpmRemovePackageReceiver::finishInfo | ( | const std::string & | info_r | ) | [virtual] |
Additional rpm output to be reported in finish in case of success.
Definition at line 169 of file TargetCallbackReceiver.cc.
void zypp::target::RpmRemovePackageReceiver::finish | ( | ) | [virtual] |
Finish operation in case of success.
Definition at line 175 of file TargetCallbackReceiver.cc.
void zypp::target::RpmRemovePackageReceiver::finish | ( | Exception & | excpt_r | ) | [virtual] |
Finish operatin in case of fail, report fail exception.
Finish operation in case of success.
Definition at line 182 of file TargetCallbackReceiver.cc.
callback::SendReport<rpm::RemoveResolvableReport> zypp::target::RpmRemovePackageReceiver::_report [private] |
Definition at line 72 of file TargetCallbackReceiver.h.
Definition at line 73 of file TargetCallbackReceiver.h.
bool zypp::target::RpmRemovePackageReceiver::_abort [private] |
Definition at line 74 of file TargetCallbackReceiver.h.
std::string zypp::target::RpmRemovePackageReceiver::_finishInfo [private] |
Definition at line 75 of file TargetCallbackReceiver.h.