#include <connection_base.hxx>
Inheritance diagram for internal::scoped_noticer:
Public Member Functions | |
scoped_noticer (connection_base &c, PGSTD::auto_ptr< noticer > t) throw () | |
Start period where different noticer applies to connection. | |
~scoped_noticer () | |
Protected Member Functions | |
scoped_noticer (connection_base &c, noticer *t) throw () | |
Take ownership of given noticer, and start using it. |
Set different noticer in given connection for the duration of the scoped_noticer's lifetime. After that, the original noticer is restored.
No effort is made to respect any new noticer that may have been set in the meantime, so don't do that.
|
Start period where different noticer applies to connection.
|