CMS 3D CMS Logo

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

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

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

lat::Callback1Rep< T1 >

List of all members.

Public Member Functions

virtual void call (T1 a)
 CallbackImpC11 (C *object, void(C::*function)(T1, T2), const T2 &fill_2)
virtual bool equal (const Callback1Rep< T1 > *other) const

Private Types

typedef CallbackImpC11 self

Private Attributes

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


Detailed Description

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

Definition at line 353 of file Callback.h.


Member Typedef Documentation

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

Definition at line 355 of file Callback.h.


Constructor & Destructor Documentation

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

Definition at line 357 of file Callback.h.

00359         : m_object (object),
00360           m_function (function),
00361           m_fill_2 (fill_2)
00362     { }


Member Function Documentation

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

Implements lat::Callback1Rep< T1 >.

Definition at line 364 of file Callback.h.

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

00365     { (m_object->*m_function) (a, m_fill_2); }

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

Implements lat::Callback1Rep< T1 >.

Definition at line 367 of file Callback.h.

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

00368         { const self *x = dynamic_cast<const self *> (other);
00369           return x && x->m_object == m_object && x->m_function == m_function
00370                    && x->m_fill_2 == m_fill_2; }


Member Data Documentation

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

Definition at line 375 of file Callback.h.

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

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

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

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

Definition at line 373 of file Callback.h.

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


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