|
casacore
|
LsiIntermediate is a helper class to allow LogSinkInterface to implement semantics that allow causing all classes accessing the log sink to be aimed at a different sink object. More...
Public Member Functions | |
| LsiIntermediate () | |
| LsiIntermediate (LogSinkInterface *lsi) | |
| ~LsiIntermediate () | |
| LogSinkInterface & | operator* () |
| LogSinkInterface * | operator-> () |
| Bool | operator! () const |
| void | replace (LogSinkInterface *newLsi) |
Private Member Functions | |
| LsiIntermediate (const LsiIntermediate &) | |
| Copy ctor and op= are private and not defined to prevent double-delete. | |
| LsiIntermediate & | operator= (const LsiIntermediate &) |
Private Attributes | |
| LogSinkInterface * | logSinkInterface_p |
LsiIntermediate is a helper class to allow LogSinkInterface to implement semantics that allow causing all classes accessing the log sink to be aimed at a different sink object.
This used to be done by using an odd "replace" method in std::shared_ptr; however, this is functionality is being removed to std::shared_ptr as it is modernized so this class was created to serve this narrow purpose.
|
inline |
Definition at line 275 of file LogSink.h.
References logSinkInterface_p.
Referenced by LsiIntermediate(), and operator=().
|
inline |
Definition at line 276 of file LogSink.h.
References casacore::LogSinkInterface::LogSinkInterface(), and logSinkInterface_p.
|
inline |
Definition at line 277 of file LogSink.h.
References logSinkInterface_p.
|
private |
Copy ctor and op= are private and not defined to prevent double-delete.
References LsiIntermediate().
|
inline |
Definition at line 281 of file LogSink.h.
References logSinkInterface_p.
|
inline |
Definition at line 279 of file LogSink.h.
References casacore::LogSinkInterface::LogSinkInterface(), and logSinkInterface_p.
|
inline |
Definition at line 280 of file LogSink.h.
References casacore::LogSinkInterface::LogSinkInterface(), and logSinkInterface_p.
|
private |
References LsiIntermediate().
|
inline |
Definition at line 283 of file LogSink.h.
References casacore::LogSinkInterface::LogSinkInterface(), and logSinkInterface_p.
|
private |
Definition at line 292 of file LogSink.h.
Referenced by LsiIntermediate(), LsiIntermediate(), operator!(), operator*(), operator->(), replace(), and ~LsiIntermediate().