libzypp 17.31.23
|
#include <target/TargetCallbackReceiver.h>
Public Member Functions | |
RpmRemovePackageReceiver (Resolvable::constPtr res) | |
RpmRemovePackageReceiver. | |
virtual | ~RpmRemovePackageReceiver () |
virtual void | reportbegin () |
virtual void | reportend () |
void | report (const UserData &userData_r) override |
Start the operation. | |
virtual void | start (const std::string &name) |
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. | |
Public Member Functions inherited from zypp::callback::ReceiveReport< rpm::RpmRemoveReport > | |
virtual | ~ReceiveReport () |
ReceiveReport * | whoIsConnected () const |
bool | connected () const |
void | connect () |
void | disconnect () |
virtual void | reportbegin () |
virtual void | reportend () |
Private Attributes | |
callback::SendReport< rpm::RemoveResolvableReport > | _report |
Resolvable::constPtr | _resolvable |
bool | _abort |
std::string | _finishInfo |
Additional Inherited Members | |
Public Types inherited from zypp::callback::ReceiveReport< rpm::RpmRemoveReport > | |
typedef rpm::RpmRemoveReport | ReportType |
typedef ReceiveReport< rpm::RpmRemoveReport > | Receiver |
typedef DistributeReport< rpm::RpmRemoveReport > | Distributor |
Definition at line 72 of file TargetCallbackReceiver.h.
zypp::target::RpmRemovePackageReceiver::RpmRemovePackageReceiver | ( | Resolvable::constPtr | res | ) |
Definition at line 119 of file TargetCallbackReceiver.cc.
|
virtual |
Definition at line 126 of file TargetCallbackReceiver.cc.
|
virtual |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmRemoveReport >.
Definition at line 130 of file TargetCallbackReceiver.cc.
|
virtual |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmRemoveReport >.
Definition at line 134 of file TargetCallbackReceiver.cc.
|
override |
Start the operation.
Forwards generic reports.
Definition at line 139 of file TargetCallbackReceiver.cc.
|
virtual |
Definition at line 146 of file TargetCallbackReceiver.cc.
|
virtual |
Inform about progress Return true on abort.
Definition at line 156 of file TargetCallbackReceiver.cc.
|
inline |
Returns true if removing is aborted during progress.
Definition at line 104 of file TargetCallbackReceiver.h.
|
virtual |
inform user about a problem
Definition at line 163 of file TargetCallbackReceiver.cc.
|
virtual |
Additional rpm output to be reported in finish in case of success.
Definition at line 184 of file TargetCallbackReceiver.cc.
|
virtual |
Finish operation in case of success.
Definition at line 190 of file TargetCallbackReceiver.cc.
|
virtual |
Finish operatin in case of fail, report fail exception.
Finish operation in case of success.
Definition at line 197 of file TargetCallbackReceiver.cc.
|
private |
Definition at line 75 of file TargetCallbackReceiver.h.
|
private |
Definition at line 76 of file TargetCallbackReceiver.h.
|
private |
Definition at line 77 of file TargetCallbackReceiver.h.
|
private |
Definition at line 78 of file TargetCallbackReceiver.h.