|
libzypp
15.3.0
|
Temporarily connect a ReceiveReport then restore the previous one. More...
#include <Callback.h>
Public Types | |
| typedef _Report | ReportType |
| typedef ReportType::UserData | UserData |
| typedef ReceiveReport< _Report > | Receiver |
| typedef DistributeReport< _Report > | 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 270 of file Callback.h.
| typedef _Report zypp::callback::TempConnect< _Report >::ReportType |
Definition at line 272 of file Callback.h.
| typedef ReportType::UserData zypp::callback::TempConnect< _Report >::UserData |
Definition at line 273 of file Callback.h.
| typedef ReceiveReport<_Report> zypp::callback::TempConnect< _Report >::Receiver |
Definition at line 274 of file Callback.h.
| typedef DistributeReport<_Report> zypp::callback::TempConnect< _Report >::Distributor |
Definition at line 275 of file Callback.h.
|
inline |
Definition at line 277 of file Callback.h.
|
inline |
Definition at line 283 of file Callback.h.
|
inline |
Definition at line 289 of file Callback.h.
|
private |
Definition at line 297 of file Callback.h.