casa
$Rev:20696$
|
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.
casa::LogSink::LsiIntermediate::LsiIntermediate | ( | ) | [inline] |
casa::LogSink::LsiIntermediate::LsiIntermediate | ( | LogSinkInterface * | lsi | ) | [inline] |
casa::LogSink::LsiIntermediate::~LsiIntermediate | ( | ) | [inline] |
Definition at line 280 of file LogSink.h.
References logSinkInterface_p.
casa::LogSink::LsiIntermediate::LsiIntermediate | ( | const LsiIntermediate & | ) | [private] |
Copy ctor and op= are private and not defined to prevent double-delete.
Bool casa::LogSink::LsiIntermediate::operator! | ( | ) | const [inline] |
Definition at line 284 of file LogSink.h.
References logSinkInterface_p.
LogSinkInterface& casa::LogSink::LsiIntermediate::operator* | ( | ) | [inline] |
Definition at line 282 of file LogSink.h.
References logSinkInterface_p.
LogSinkInterface* casa::LogSink::LsiIntermediate::operator-> | ( | ) | [inline] |
Definition at line 283 of file LogSink.h.
References logSinkInterface_p.
LsiIntermediate& casa::LogSink::LsiIntermediate::operator= | ( | const LsiIntermediate & | ) | [private] |
void casa::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().