CMS 3D CMS Logo

lat::CallbackImpF11< T1, T2 > Class Template Reference

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

Inheritance diagram for lat::CallbackImpF11< T1, T2 >:

lat::Callback1Rep< T1 >

List of all members.

Public Member Functions

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

Private Types

typedef CallbackImpF11 self

Private Attributes

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


Detailed Description

template<class T1, class T2>
class lat::CallbackImpF11< T1, T2 >

Definition at line 329 of file Callback.h.


Member Typedef Documentation

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

Definition at line 331 of file Callback.h.


Constructor & Destructor Documentation

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

Definition at line 333 of file Callback.h.

00335         : m_function (function),
00336           m_fill_2 (fill_2)
00337     { }


Member Function Documentation

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

Implements lat::Callback1Rep< T1 >.

Definition at line 339 of file Callback.h.

References lat::CallbackImpF11< T1, T2 >::m_fill_2.

00340     { (*m_function) (a, m_fill_2); }

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

Implements lat::Callback1Rep< T1 >.

Definition at line 342 of file Callback.h.

References lat::CallbackImpF11< T1, T2 >::m_fill_2, lat::CallbackImpF11< T1, T2 >::m_function, and x.

00343         { const self *x = dynamic_cast<const self *> (other);
00344           return x && x->m_function == m_function && x->m_fill_2 == m_fill_2; }


Member Data Documentation

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

Definition at line 348 of file Callback.h.

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

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

Referenced by lat::CallbackImpF11< T1, T2 >::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