casacore::LogSink::LsiIntermediate Class Reference

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...

List of all members.

Public Member Functions

 LsiIntermediate ()
 LsiIntermediate (LogSinkInterface *lsi)
 ~LsiIntermediate ()
LogSinkInterfaceoperator* ()
LogSinkInterfaceoperator-> ()
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.
LsiIntermediateoperator= (const LsiIntermediate &)

Private Attributes

LogSinkInterfacelogSinkInterface_p

Detailed Description

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.


Constructor & Destructor Documentation

casacore::LogSink::LsiIntermediate::LsiIntermediate (  )  [inline]

Definition at line 278 of file LogSink.h.

casacore::LogSink::LsiIntermediate::LsiIntermediate ( LogSinkInterface lsi  )  [inline]

Definition at line 279 of file LogSink.h.

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 295 of file LogSink.h.

Referenced by operator!(), operator*(), operator->(), replace(), and ~LsiIntermediate().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1