casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::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

Definition at line 278 of file LogSink.h.

Definition at line 279 of file LogSink.h.

Definition at line 280 of file LogSink.h.

References logSinkInterface_p.

Copy ctor and op= are private and not defined to prevent double-delete.


Member Function Documentation

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]

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: