CMS 3D CMS Logo

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

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

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

lat::Callback2Rep< T1, T2 >

List of all members.

Public Member Functions

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

Private Types

typedef CallbackImpC21 self

Private Attributes

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


Detailed Description

template<class C, class T1, class T2, class T3>
class lat::CallbackImpC21< C, T1, T2, T3 >

Definition at line 509 of file Callback.h.


Member Typedef Documentation

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

Definition at line 511 of file Callback.h.


Constructor & Destructor Documentation

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

Definition at line 513 of file Callback.h.

00515         : m_object (object),
00516           m_function (function),
00517           m_fill_3 (fill_3)
00518     { }


Member Function Documentation

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

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 520 of file Callback.h.

References lat::CallbackImpC21< C, T1, T2, T3 >::m_fill_3, lat::CallbackImpC21< C, T1, T2, T3 >::m_function, and lat::CallbackImpC21< C, T1, T2, T3 >::m_object.

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

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

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 523 of file Callback.h.

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

00524         { const self *x = dynamic_cast<const self *> (other);
00525           return x && x->m_object == m_object && x->m_function == m_function
00526                    && x->m_fill_3 == m_fill_3; }


Member Data Documentation

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

Definition at line 531 of file Callback.h.

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

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

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

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

Definition at line 529 of file Callback.h.

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