libzypp 17.35.1
|
#include <zypp/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. | |
![]() | |
virtual | ~ReceiveReport () |
ReceiveReport * | whoIsConnected () const |
bool | connected () const |
void | connect () |
void | disconnect () |
Private Attributes | |
callback::SendReport< rpm::RemoveResolvableReport > | _report |
Resolvable::constPtr | _resolvable |
bool | _abort |
std::string | _finishInfo |
Additional Inherited Members | |
![]() | |
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 120 of file TargetCallbackReceiver.cc.
|
virtual |
Definition at line 127 of file TargetCallbackReceiver.cc.
|
virtual |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmRemoveReport >.
Definition at line 131 of file TargetCallbackReceiver.cc.
|
virtual |
Reimplemented from zypp::callback::ReceiveReport< rpm::RpmRemoveReport >.
Definition at line 135 of file TargetCallbackReceiver.cc.
|
override |
Start the operation.
Forwards generic reports.
Definition at line 140 of file TargetCallbackReceiver.cc.
|
virtual |
Definition at line 147 of file TargetCallbackReceiver.cc.
|
virtual |
Inform about progress Return true on abort.
Definition at line 157 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 164 of file TargetCallbackReceiver.cc.
|
virtual |
Additional rpm output to be reported in finish in case of success.
Definition at line 185 of file TargetCallbackReceiver.cc.
|
virtual |
Finish operation in case of success.
Definition at line 191 of file TargetCallbackReceiver.cc.
Finish operatin in case of fail, report fail exception.
Finish operation in case of success.
Definition at line 198 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.