CMS 3D CMS Logo

lat::CallbackImpC22< C, T1, T2, T3, T4 > Class Template Reference

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

Inheritance diagram for lat::CallbackImpC22< C, T1, T2, T3, T4 >:

lat::Callback2Rep< T1, T2 >

List of all members.

Public Member Functions

virtual void call (T1 a, T2 b)
 CallbackImpC22 (C *object, void(C::*function)(T1, T2, T3, T4), const T3 &fill_3, const T4 &fill_4)
virtual bool equal (const Callback2Rep< T1, T2 > *other) const

Private Types

typedef CallbackImpC22 self

Private Attributes

T3 m_fill_3
T4 m_fill_4
void(C::* m_function )(T1, T2, T3, T4)
C * m_object


Detailed Description

template<class C, class T1, class T2, class T3, class T4>
class lat::CallbackImpC22< C, T1, T2, T3, T4 >

Definition at line 563 of file Callback.h.


Member Typedef Documentation

template<class C, class T1, class T2, class T3, class T4>
typedef CallbackImpC22 lat::CallbackImpC22< C, T1, T2, T3, T4 >::self [private]

Definition at line 565 of file Callback.h.


Constructor & Destructor Documentation

template<class C, class T1, class T2, class T3, class T4>
lat::CallbackImpC22< C, T1, T2, T3, T4 >::CallbackImpC22 ( C *  object,
void(C::*)(T1, T2, T3, T4)  function,
const T3 &  fill_3,
const T4 &  fill_4 
) [inline]

Definition at line 567 of file Callback.h.

00569         : m_object (object),
00570           m_function (function),
00571           m_fill_3 (fill_3),
00572           m_fill_4 (fill_4)
00573     { }


Member Function Documentation

template<class C, class T1, class T2, class T3, class T4>
virtual void lat::CallbackImpC22< C, T1, T2, T3, T4 >::call ( T1  a,
T2  b 
) [inline, virtual]

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 575 of file Callback.h.

References lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_fill_3, lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_fill_4, lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_function, and lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_object.

00576     { (m_object->*m_function) (a, b, m_fill_3, m_fill_4); }

template<class C, class T1, class T2, class T3, class T4>
virtual bool lat::CallbackImpC22< C, T1, T2, T3, T4 >::equal ( const Callback2Rep< T1, T2 > *  other  )  const [inline, virtual]

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 578 of file Callback.h.

References lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_fill_3, lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_fill_4, lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_function, lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_object, and x.

00579         { const self *x = dynamic_cast<const self *> (other);
00580           return x && x->m_object == m_object && x->m_function == m_function
00581                    && x->m_fill_3 == m_fill_3 && x->m_fill_4 == m_fill_4; }


Member Data Documentation

template<class C, class T1, class T2, class T3, class T4>
T3 lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_fill_3 [private]

Definition at line 586 of file Callback.h.

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

template<class C, class T1, class T2, class T3, class T4>
T4 lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_fill_4 [private]

Definition at line 587 of file Callback.h.

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

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

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

template<class C, class T1, class T2, class T3, class T4>
C* lat::CallbackImpC22< C, T1, T2, T3, T4 >::m_object [private]

Definition at line 584 of file Callback.h.

Referenced by lat::CallbackImpC22< C, T1, T2, T3, T4 >::call(), and lat::CallbackImpC22< C, T1, T2, T3, T4 >::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