CMS 3D CMS Logo

lat::CallbackImpC02< C, T1, T2 > Class Template Reference

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

Inheritance diagram for lat::CallbackImpC02< C, T1, T2 >:

lat::CallbackRep

List of all members.

Public Member Functions

virtual void call (void)
 CallbackImpC02 (C *object, void(C::*function)(T1, T2), const T1 &fill_1, const T2 &fill_2)
virtual bool equal (const CallbackRep *other) const

Private Types

typedef CallbackImpC02 self

Private Attributes

T1 m_fill_1
T2 m_fill_2
void(C::* m_function )(T1, T2)
C * m_object


Detailed Description

template<class C, class T1, class T2>
class lat::CallbackImpC02< C, T1, T2 >

Definition at line 253 of file Callback.h.


Member Typedef Documentation

template<class C, class T1, class T2>
typedef CallbackImpC02 lat::CallbackImpC02< C, T1, T2 >::self [private]

Definition at line 255 of file Callback.h.


Constructor & Destructor Documentation

template<class C, class T1, class T2>
lat::CallbackImpC02< C, T1, T2 >::CallbackImpC02 ( C *  object,
void(C::*)(T1, T2)  function,
const T1 &  fill_1,
const T2 &  fill_2 
) [inline]

Definition at line 257 of file Callback.h.

00259         : m_object (object),
00260           m_function (function),
00261           m_fill_1 (fill_1),
00262           m_fill_2 (fill_2)
00263     { }


Member Function Documentation

template<class C, class T1, class T2>
virtual void lat::CallbackImpC02< C, T1, T2 >::call ( void   )  [inline, virtual]

Implements lat::CallbackRep.

Definition at line 265 of file Callback.h.

References lat::CallbackImpC02< C, T1, T2 >::m_fill_1, lat::CallbackImpC02< C, T1, T2 >::m_fill_2, lat::CallbackImpC02< C, T1, T2 >::m_function, and lat::CallbackImpC02< C, T1, T2 >::m_object.

template<class C, class T1, class T2>
virtual bool lat::CallbackImpC02< C, T1, T2 >::equal ( const CallbackRep other  )  const [inline, virtual]

Implements lat::CallbackRep.

Definition at line 268 of file Callback.h.

References lat::CallbackImpC02< C, T1, T2 >::m_fill_1, lat::CallbackImpC02< C, T1, T2 >::m_fill_2, lat::CallbackImpC02< C, T1, T2 >::m_function, lat::CallbackImpC02< C, T1, T2 >::m_object, and x.

00269         { const self *x = dynamic_cast<const self *> (other);
00270           return x && x->m_object == m_object && x->m_function == m_function
00271                    && x->m_fill_1 == m_fill_1 && x->m_fill_2 == m_fill_2; }


Member Data Documentation

template<class C, class T1, class T2>
T1 lat::CallbackImpC02< C, T1, T2 >::m_fill_1 [private]

Definition at line 276 of file Callback.h.

Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().

template<class C, class T1, class T2>
T2 lat::CallbackImpC02< C, T1, T2 >::m_fill_2 [private]

Definition at line 277 of file Callback.h.

Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().

template<class C, class T1, class T2>
void(C::* lat::CallbackImpC02< C, T1, T2 >::m_function)(T1, T2) [private]

Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().

template<class C, class T1, class T2>
C* lat::CallbackImpC02< C, T1, T2 >::m_object [private]

Definition at line 274 of file Callback.h.

Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().


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