CMS 3D CMS Logo

lat::CallbackImpF12< T1, T2, T3 > Class Template Reference

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

Inheritance diagram for lat::CallbackImpF12< T1, T2, T3 >:

lat::Callback1Rep< T1 >

List of all members.

Public Member Functions

virtual void call (T1 a)
 CallbackImpF12 (void(*function)(T1, T2, T3), const T2 &fill_2, const T3 &fill_3)
virtual bool equal (const Callback1Rep< T1 > *other) const

Private Types

typedef CallbackImpF12 self

Private Attributes

T2 m_fill_2
T3 m_fill_3
void(* m_function )(T1, T2, T3)


Detailed Description

template<class T1, class T2, class T3>
class lat::CallbackImpF12< T1, T2, T3 >

Definition at line 382 of file Callback.h.


Member Typedef Documentation

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

Definition at line 384 of file Callback.h.


Constructor & Destructor Documentation

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

Definition at line 386 of file Callback.h.

00388         : m_function (function),
00389           m_fill_2 (fill_2),
00390           m_fill_3 (fill_3)
00391     { }


Member Function Documentation

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

Implements lat::Callback1Rep< T1 >.

Definition at line 393 of file Callback.h.

References lat::CallbackImpF12< T1, T2, T3 >::m_fill_2, and lat::CallbackImpF12< T1, T2, T3 >::m_fill_3.

00394     { (*m_function) (a, m_fill_2, m_fill_3); }

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

Implements lat::Callback1Rep< T1 >.

Definition at line 396 of file Callback.h.

References lat::CallbackImpF12< T1, T2, T3 >::m_fill_2, lat::CallbackImpF12< T1, T2, T3 >::m_fill_3, lat::CallbackImpF12< T1, T2, T3 >::m_function, and x.

00397         { const self *x = dynamic_cast<const self *> (other);
00398           return x && x->m_function == m_function
00399                    && x->m_fill_2 == m_fill_2 && x->m_fill_3 == m_fill_3; }


Member Data Documentation

template<class T1, class T2, class T3>
T2 lat::CallbackImpF12< T1, T2, T3 >::m_fill_2 [private]

Definition at line 403 of file Callback.h.

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

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

Definition at line 404 of file Callback.h.

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

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

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