CMS 3D CMS Logo

lat::HookImpC11< C, R, T1, T2 > Class Template Reference

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

Inheritance diagram for lat::HookImpC11< C, R, T1, T2 >:

lat::Hook1Rep< R, T1 >

List of all members.

Public Member Functions

virtual R call (T1 a)
 HookImpC11 (C *object, R(C::*function)(T1, T2), const T2 &fill_2)

Private Attributes

T2 m_fill_2
R(C::* m_function )(T1, T2)
C * m_object


Detailed Description

template<class C, class R, class T1, class T2>
class lat::HookImpC11< C, R, T1, T2 >

Definition at line 285 of file Hook.h.


Constructor & Destructor Documentation

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

Definition at line 288 of file Hook.h.

00289         : m_object (object),
00290           m_function (function),
00291           m_fill_2 (fill_2)
00292     { }


Member Function Documentation

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

Implements lat::Hook1Rep< R, T1 >.

Definition at line 294 of file Hook.h.

References lat::HookImpC11< C, R, T1, T2 >::m_fill_2, lat::HookImpC11< C, R, T1, T2 >::m_function, and lat::HookImpC11< C, R, T1, T2 >::m_object.

00295     { return (m_object->*m_function) (a, m_fill_2); }


Member Data Documentation

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

Definition at line 300 of file Hook.h.

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

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

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

template<class C, class R, class T1, class T2>
C* lat::HookImpC11< C, R, T1, T2 >::m_object [private]

Definition at line 298 of file Hook.h.

Referenced by lat::HookImpC11< C, 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