zypp::target::RpmRemovePackageReceiver Class Reference

#include <TargetCallbackReceiver.h>

Inheritance diagram for zypp::target::RpmRemovePackageReceiver:
[legend]

List of all members.

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.
virtual
rpm::RpmRemoveReport::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 operatin in case of fail, report fail exception.

Private Attributes

callback::SendReport
< rpm::RemoveResolvableReport
_report
Resolvable::constPtr _resolvable


Detailed Description

Definition at line 65 of file TargetCallbackReceiver.h.


Constructor & Destructor Documentation

zypp::target::RpmRemovePackageReceiver::RpmRemovePackageReceiver ( Resolvable::constPtr  res  ) 

RpmRemovePackageReceiver.

Definition at line 105 of file TargetCallbackReceiver.cc.

zypp::target::RpmRemovePackageReceiver::~RpmRemovePackageReceiver (  )  [virtual]

Definition at line 111 of file TargetCallbackReceiver.cc.


Member Function Documentation

void zypp::target::RpmRemovePackageReceiver::reportbegin (  )  [virtual]

Reimplemented from zypp::callback::ReceiveReport< _Report >.

Definition at line 115 of file TargetCallbackReceiver.cc.

void zypp::target::RpmRemovePackageReceiver::reportend (  )  [virtual]

Reimplemented from zypp::callback::ReceiveReport< _Report >.

Definition at line 119 of file TargetCallbackReceiver.cc.

void zypp::target::RpmRemovePackageReceiver::start ( const std::string &  name  )  [virtual]

Start the operation.

Definition at line 124 of file TargetCallbackReceiver.cc.

References _report, and _resolvable.

bool zypp::target::RpmRemovePackageReceiver::progress ( unsigned  percent  )  [virtual]

Inform about progress Return true on abort.

Definition at line 133 of file TargetCallbackReceiver.cc.

References _report, and _resolvable.

rpm::RpmRemoveReport::Action zypp::target::RpmRemovePackageReceiver::problem ( Exception excpt_r  )  [virtual]

inform user about a problem

Definition at line 139 of file TargetCallbackReceiver.cc.

References _report, _resolvable, zypp::target::rpm::RpmRemoveReport::ABORT, zypp::target::rpm::RemoveResolvableReport::ABORT, zypp::Exception::asUserString(), zypp::target::rpm::RpmRemoveReport::IGNORE, zypp::target::rpm::RemoveResolvableReport::IGNORE, zypp::target::rpm::RemoveResolvableReport::INVALID, zypp::target::rpm::RpmRemoveReport::problem(), zypp::target::rpm::RpmRemoveReport::RETRY, and zypp::target::rpm::RemoveResolvableReport::RETRY.

void zypp::target::RpmRemovePackageReceiver::finish (  )  [virtual]

Finish operation in case of success.

Definition at line 160 of file TargetCallbackReceiver.cc.

References _report, _resolvable, and zypp::target::rpm::RemoveResolvableReport::NO_ERROR.

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 167 of file TargetCallbackReceiver.cc.

References _report, _resolvable, and zypp::target::rpm::RemoveResolvableReport::INVALID.


Member Data Documentation

callback::SendReport<rpm::RemoveResolvableReport> zypp::target::RpmRemovePackageReceiver::_report [private]

Definition at line 68 of file TargetCallbackReceiver.h.

Referenced by finish(), problem(), progress(), and start().

Resolvable::constPtr zypp::target::RpmRemovePackageReceiver::_resolvable [private]

Definition at line 69 of file TargetCallbackReceiver.h.

Referenced by finish(), problem(), progress(), and start().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:28 2007 for libzypp by  doxygen 1.5.3