|
libzypp 17.37.0
|
Temporarily connect a ReceiveReport then restore the previous one. More...
#include <zypp/Callback.h>
Public Types | |
| typedef TReport | ReportType |
| typedef ReceiveReport< TReport > | Receiver |
| typedef DistributeReport< TReport > | Distributor |
Public Member Functions | |
| TempConnect () | |
| TempConnect (Receiver &rec_r) | |
| ~TempConnect () | |
Private Attributes | |
| Receiver * | _oldRec |
Temporarily connect a ReceiveReport then restore the previous one.
Pass the ReceiveReport you want to connect temporarily to the ctor. The ReceiveReport is connected, a previously connected ReceiveReport is remembered and re-connected in the dtor. Use the default ctpr to temporarily disconnect any connected report.
Definition at line 284 of file Callback.h.
| typedef TReport zypp::callback::TempConnect< TReport >::ReportType |
Definition at line 286 of file Callback.h.
| typedef ReceiveReport<TReport> zypp::callback::TempConnect< TReport >::Receiver |
Definition at line 287 of file Callback.h.
| typedef DistributeReport<TReport> zypp::callback::TempConnect< TReport >::Distributor |
Definition at line 288 of file Callback.h.
|
inline |
Definition at line 290 of file Callback.h.
|
inline |
Definition at line 296 of file Callback.h.
|
inline |
Definition at line 302 of file Callback.h.
|
private |
Definition at line 310 of file Callback.h.