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 CountedPtr; however, this is functionality is being removed to CountedPtr as it is modernized so this class was created to serve this narrow purpose.
Definition at line 273 of file LogSink.h.
| casacore::LogSink::LsiIntermediate::LsiIntermediate | ( | ) | [inline] |
| casacore::LogSink::LsiIntermediate::LsiIntermediate | ( | LogSinkInterface * | lsi | ) | [inline] |
| casacore::LogSink::LsiIntermediate::~LsiIntermediate | ( | ) | [inline] |
Definition at line 280 of file LogSink.h.
References logSinkInterface_p.
| casacore::LogSink::LsiIntermediate::LsiIntermediate | ( | const LsiIntermediate & | ) | [private] |
Copy ctor and op= are private and not defined to prevent double-delete.
| Bool casacore::LogSink::LsiIntermediate::operator! | ( | ) | const [inline] |
Definition at line 284 of file LogSink.h.
References logSinkInterface_p.
| LogSinkInterface& casacore::LogSink::LsiIntermediate::operator* | ( | ) | [inline] |
Definition at line 282 of file LogSink.h.
References logSinkInterface_p.
| LogSinkInterface* casacore::LogSink::LsiIntermediate::operator-> | ( | ) | [inline] |
Definition at line 283 of file LogSink.h.
References logSinkInterface_p.
| LsiIntermediate& casacore::LogSink::LsiIntermediate::operator= | ( | const LsiIntermediate & | ) | [private] |
| void casacore::LogSink::LsiIntermediate::replace | ( | LogSinkInterface * | newLsi | ) | [inline] |
Definition at line 286 of file LogSink.h.
References logSinkInterface_p.
Definition at line 295 of file LogSink.h.
Referenced by operator!(), operator*(), operator->(), replace(), and ~LsiIntermediate().
1.6.1