CMS 3D CMS Logo

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

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

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

lat::Callback2Rep< T1, T2 >

List of all members.

Public Member Functions

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

Private Types

typedef CallbackImpF21 self

Private Attributes

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


Detailed Description

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

Definition at line 485 of file Callback.h.


Member Typedef Documentation

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

Definition at line 487 of file Callback.h.


Constructor & Destructor Documentation

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

Definition at line 489 of file Callback.h.

00491         : m_function (function),
00492           m_fill_3 (fill_3)
00493     { }


Member Function Documentation

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

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 495 of file Callback.h.

References lat::CallbackImpF21< T1, T2, T3 >::m_fill_3.

00496     { (*m_function) (a, b, m_fill_3); }

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

Implements lat::Callback2Rep< T1, T2 >.

Definition at line 498 of file Callback.h.

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

00499         { const self *x = dynamic_cast<const self *> (other);
00500           return x && x->m_function == m_function && x->m_fill_3 == m_fill_3; }


Member Data Documentation

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

Definition at line 504 of file Callback.h.

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

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

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