CMS 3D CMS Logo

Classes | Public Member Functions | Private Member Functions | Private Attributes

edm::ESWatcher< T > Class Template Reference

#include <ESWatcher.h>

List of all members.

Classes

struct  NullFunction

Public Member Functions

bool check (const edm::EventSetup &iSetup)
template<class TFunc >
 ESWatcher (TFunc iFunctor)
template<class TObj , class TMemFunc >
 ESWatcher (TObj &iObj, TMemFunc iFunc)
 ESWatcher ()

Private Member Functions

 ESWatcher (const ESWatcher &)
const ESWatcheroperator= (const ESWatcher &)

Private Attributes

unsigned long long cacheId_
boost::function< void(const T &)> callback_

Detailed Description

template<class T>
class edm::ESWatcher< T >

Definition at line 33 of file ESWatcher.h.


Constructor & Destructor Documentation

template<class T>
edm::ESWatcher< T >::ESWatcher ( ) [inline]

Definition at line 42 of file ESWatcher.h.

:callback_(NullFunction()), cacheId_(0) {}
template<class T>
template<class TFunc >
edm::ESWatcher< T >::ESWatcher ( TFunc  iFunctor) [inline]

Definition at line 45 of file ESWatcher.h.

:callback_(iFunctor),cacheId_(0) {}
template<class T>
template<class TObj , class TMemFunc >
edm::ESWatcher< T >::ESWatcher ( TObj &  iObj,
TMemFunc  iFunc 
) [inline]

Definition at line 48 of file ESWatcher.h.

                                         :
    callback_(boost::bind(iFunc,iObj,_1)),
    cacheId_(0)
     {}
template<class T>
edm::ESWatcher< T >::ESWatcher ( const ESWatcher< T > &  ) [private]

Member Function Documentation

template<class T>
bool edm::ESWatcher< T >::check ( const edm::EventSetup iSetup) [inline]
template<class T>
const ESWatcher& edm::ESWatcher< T >::operator= ( const ESWatcher< T > &  ) [private]

Member Data Documentation

template<class T>
unsigned long long edm::ESWatcher< T >::cacheId_ [private]

Definition at line 75 of file ESWatcher.h.

Referenced by edm::ESWatcher< TrackAssociatorRecord >::check().

template<class T>
boost::function<void (const T&)> edm::ESWatcher< T >::callback_ [private]

Definition at line 74 of file ESWatcher.h.

Referenced by edm::ESWatcher< TrackAssociatorRecord >::check().