CMS 3D CMS Logo

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

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

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

lat::HookRep< R >

List of all members.

Public Member Functions

virtual R call (void)
 HookImpC02 (C *object, R(C::*function)(T1, T2), const T1 &fill_1, const T2 &fill_2)

Private Attributes

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


Detailed Description

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

Definition at line 211 of file Hook.h.


Constructor & Destructor Documentation

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

Definition at line 214 of file Hook.h.

00215         : m_object (object),
00216           m_function (function),
00217           m_fill_1 (fill_1),
00218           m_fill_2 (fill_2)
00219     { }


Member Function Documentation

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

Implements lat::HookRep< R >.

Definition at line 221 of file Hook.h.

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

00222     { return (m_object->*m_function) (m_fill_1, m_fill_2); }


Member Data Documentation

template<class C, class R, class T1, class T2>
T1 lat::HookImpC02< C, R, T1, T2 >::m_fill_1 [private]

Definition at line 227 of file Hook.h.

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

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

Definition at line 228 of file Hook.h.

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

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

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

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

Definition at line 225 of file Hook.h.

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