CMS 3D CMS Logo

edm::serviceregistry Namespace Reference


Classes

struct  AllArgsMaker
class  BlockingWrapper
struct  MakerBase
struct  NoArgsMaker
struct  ParameterSetMaker
class  ServiceMaker
class  ServiceMakerBase
class  ServicesManager
class  ServiceWrapper
class  ServiceWrapperBase
class  TypeInfoHolder

Typedefs

typedef
edmplugin::PluginFactory
< ServiceMakerBase *()> 
ServicePluginFactory

Enumerations

enum  ServiceLegacy { kOverlapIsError, kTokenOverrides, kConfigurationOverrides }

Functions

template<class Func, class Signal>
void connect_but_block_self (Signal &oSignal, const Func &iFunc)
template<class T>
T::value_type deref (T &iT)
template<class T, class TArg>
BlockingWrapper< T, TArg > make_blockingwrapper (T iT, const sigc::slot< void, TArg > *)
template<class T>
BlockingWrapper< T > make_blockingwrapper (T iT, const sigc::slot< void > *)


Typedef Documentation

typedef edmplugin::PluginFactory< ServiceMakerBase* ()> edm::serviceregistry::ServicePluginFactory

Definition at line 30 of file ServicePluginFactory.h.


Enumeration Type Documentation

enum edm::serviceregistry::ServiceLegacy

Enumerator:
kOverlapIsError 
kTokenOverrides 
kConfigurationOverrides 

Definition at line 30 of file ServiceLegacy.h.

00030                          {
00031          kOverlapIsError,
00032          kTokenOverrides,
00033          kConfigurationOverrides
00034       };


Function Documentation

template<class Func, class Signal>
void edm::serviceregistry::connect_but_block_self ( Signal oSignal,
const Func &  iFunc 
) [inline]

Definition at line 93 of file connect_but_block_self.h.

References edm::holder, and make_blockingwrapper().

Referenced by edm::ConstProductRegistry::watchProductAdditions().

00093                                                                  {
00094          boost::shared_ptr<boost::shared_ptr<sigc::connection> > holder(new boost::shared_ptr<sigc::connection>());
00095          *holder = boost::shared_ptr<sigc::connection>(
00096                     new sigc::connection(oSignal.connect(
00097                                                    make_blockingwrapper(iFunc,
00098                                                                         static_cast<const typename Signal::slot_type*>(0)))));
00099       }

template<class T>
T::value_type edm::serviceregistry::deref ( T &  iT  )  [inline]

Definition at line 77 of file connect_but_block_self.h.

Referenced by reco::candidate::const_iterator_imp_specific< C >::deref(), and printContentsOfStdContainer().

00077 { return *iT;}

template<class T, class TArg>
BlockingWrapper<T,TArg> edm::serviceregistry::make_blockingwrapper ( iT,
const sigc::slot< void, TArg > *   
) [inline]

Definition at line 85 of file connect_but_block_self.h.

00086                                                                                   {
00087             return BlockingWrapper<T,TArg>(iT);
00088          }

template<class T>
BlockingWrapper<T> edm::serviceregistry::make_blockingwrapper ( iT,
const sigc::slot< void > *   
) [inline]

Definition at line 80 of file connect_but_block_self.h.

Referenced by connect_but_block_self().

00081                                                                        {
00082             return BlockingWrapper<T>(iT);
00083          }


Generated on Tue Jun 9 18:46:34 2009 for CMSSW by  doxygen 1.5.4