CMS 3D CMS Logo

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

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

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

lat::Callback2Rep< T1, T2 >

List of all members.

Public Member Functions

virtual void call (T1 a, T2 b)
 CallbackImpF22 (void(*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 CallbackImpF22 self

Private Attributes

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


Detailed Description

template<class T1, class T2, class T3, class T4>
class lat::CallbackImpF22< T1, T2, T3, T4 >

Definition at line 536 of file Callback.h.


Member Typedef Documentation

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

Definition at line 538 of file Callback.h.


Constructor & Destructor Documentation

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

Definition at line 540 of file Callback.h.

00542         : m_function (function),
00543           m_fill_3 (fill_3),
00544           m_fill_4 (fill_4)
00545     { }


Member Function Documentation

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

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 547 of file Callback.h.

References lat::CallbackImpF22< T1, T2, T3, T4 >::m_fill_3, and lat::CallbackImpF22< T1, T2, T3, T4 >::m_fill_4.

00548     { (*m_function) (a, b, m_fill_3, m_fill_4); }

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

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 550 of file Callback.h.

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

00551         { const self *x = dynamic_cast<const self *> (other);
00552           return x && x->m_function == m_function
00553                    && x->m_fill_3 == m_fill_3 && x->m_fill_4 == m_fill_4; }


Member Data Documentation

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

Definition at line 557 of file Callback.h.

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

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

Definition at line 558 of file Callback.h.

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

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

Referenced by lat::CallbackImpF22< 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