CMS 3D CMS Logo

lat::HookImpF11< R, T1, T2 > Class Template Reference

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

Inheritance diagram for lat::HookImpF11< R, T1, T2 >:

lat::Hook1Rep< R, T1 >

List of all members.

Public Member Functions

virtual R call (T1 a)
 HookImpF11 (R(*function)(T1, T2), const T2 &fill_2)

Private Attributes

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


Detailed Description

template<class R, class T1, class T2>
class lat::HookImpF11< R, T1, T2 >

Definition at line 267 of file Hook.h.


Constructor & Destructor Documentation

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

Definition at line 270 of file Hook.h.

00271         : m_function (function),
00272           m_fill_2 (fill_2)
00273     { }


Member Function Documentation

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

Implements lat::Hook1Rep< R, T1 >.

Definition at line 275 of file Hook.h.

References lat::HookImpF11< R, T1, T2 >::m_fill_2, and lat::HookImpF11< R, T1, T2 >::m_function.

00276     { return (*m_function) (a, m_fill_2); }


Member Data Documentation

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

Definition at line 280 of file Hook.h.

Referenced by lat::HookImpF11< R, T1, T2 >::call().

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

Referenced by lat::HookImpF11< R, T1, T2 >::call().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:25 2009 for CMSSW by  doxygen 1.5.4