12 #ifndef ZYPP_CALLBACK_H
13 #define ZYPP_CALLBACK_H
144 template<
class _Report>
148 template<
class _Report>
177 template<
class _Report>
178 struct DistributeReport
216 template<
class _Report>
264 template<
class _Report>
272 :
_oldRec( Distributor::instance().getReceiver() )
278 :
_oldRec( Distributor::instance().getReceiver() )
300 #endif // ZYPP_CALLBACK_H
virtual void reportbegin()
DistributeReport< _Report > Distributor
ReceiveReport * whoIsConnected() const
Temporarily connect a ReceiveReport then restore the previous one.
ReceiveReport< _Report > Receiver
TempConnect(Receiver &rec_r)
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
void setReceiver(Receiver &rec_r)
ReceiveReport< _Report > Receiver
DistributeReport< _Report > Distributor
Receiver * getReceiver() const
ReceiveReport< _Report > Receiver
void unsetReceiver(Receiver &rec_r)
DistributeReport< _Report > Distributor
Distributor & operator->()
DistributeReport< _Report > Distributor
static Receiver * whoIsConnected()
Easy-to use interface to the ZYPP dependency resolver.
static DistributeReport & instance()
ReceiveReport< _Report > Receiver