CMS 3D CMS Logo

lat::CallbackRep Class Reference

#include <Iguana/Utilities/classlib/utils/Callback.h>

Inheritance diagram for lat::CallbackRep:

lat::CallbackImpC00< C > lat::CallbackImpC01< C, T1 > lat::CallbackImpC02< C, T1, T2 > lat::CallbackImpF00 lat::CallbackImpF01< T1 > lat::CallbackImpF02< T1, T2 >

List of all members.

Public Member Functions

virtual void call (void)=0
 CallbackRep (void)
virtual bool equal (const CallbackRep *x) const =0
void ref (void)
void unref (void)
virtual ~CallbackRep (void)

Private Attributes

int m_refs


Detailed Description

Definition at line 21 of file Callback.h.


Constructor & Destructor Documentation

lat::CallbackRep::CallbackRep ( void   )  [inline]

Definition at line 24 of file Callback.h.

00024 : m_refs (0) { }

virtual lat::CallbackRep::~CallbackRep ( void   )  [inline, virtual]

Definition at line 25 of file Callback.h.

00025 { }


Member Function Documentation

virtual void lat::CallbackRep::call ( void   )  [pure virtual]

Implemented in lat::CallbackImpF00, lat::CallbackImpC00< C >, lat::CallbackImpF01< T1 >, lat::CallbackImpC01< C, T1 >, lat::CallbackImpF02< T1, T2 >, and lat::CallbackImpC02< C, T1, T2 >.

Referenced by lat::Callback::operator()().

virtual bool lat::CallbackRep::equal ( const CallbackRep x  )  const [pure virtual]

Implemented in lat::CallbackImpF00, lat::CallbackImpC00< C >, lat::CallbackImpF01< T1 >, lat::CallbackImpC01< C, T1 >, lat::CallbackImpF02< T1, T2 >, and lat::CallbackImpC02< C, T1, T2 >.

Referenced by lat::Callback::operator==().

void lat::CallbackRep::ref ( void   )  [inline]

Definition at line 30 of file Callback.h.

References m_refs.

Referenced by lat::Callback::Callback(), and lat::Callback::operator=().

00030 { ++m_refs; }

void lat::CallbackRep::unref ( void   )  [inline]

Definition at line 31 of file Callback.h.

References m_refs.

00031 { if (--m_refs == 0) delete this; }


Member Data Documentation

int lat::CallbackRep::m_refs [private]

Definition at line 34 of file Callback.h.

Referenced by ref(), and unref().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:24 2009 for CMSSW by  doxygen 1.5.4