CMS 3D CMS Logo

Classes | Typedefs | Enumerations | Functions

edm::serviceregistry Namespace Reference

Classes

struct  AllArgsMaker
class  BlockingWrapper
struct  MakerBase
struct  NoArgsMaker
struct  ParameterSetMaker
class  SaveConfiguration
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< Tmake_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

Enumerator:
kOverlapIsError 
kTokenOverrides 
kConfigurationOverrides 

Definition at line 30 of file ServiceLegacy.h.


Function Documentation

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

Definition at line 93 of file connect_but_block_self.h.

References make_blockingwrapper().

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

                                                                 {
         boost::shared_ptr<boost::shared_ptr<sigc::connection> > holder(new boost::shared_ptr<sigc::connection>());
         *holder = boost::shared_ptr<sigc::connection>(
                    new sigc::connection(oSignal.connect(
                                                   make_blockingwrapper(iFunc,
                                                                        static_cast<const typename Signal::slot_type*>(0)))));
      }
template<class T >
T::value_type edm::serviceregistry::deref ( T iT)

Definition at line 77 of file connect_but_block_self.h.

{ return *iT;}
template<class T , class TArg >
BlockingWrapper<T,TArg> edm::serviceregistry::make_blockingwrapper ( T  iT,
const sigc::slot< void, TArg > *   
)

Definition at line 85 of file connect_but_block_self.h.

                                                                                  {
            return BlockingWrapper<T,TArg>(iT);
         }
template<class T >
BlockingWrapper<T> edm::serviceregistry::make_blockingwrapper ( T  iT,
const sigc::slot< void > *   
)

Definition at line 80 of file connect_but_block_self.h.

Referenced by connect_but_block_self().

                                                                       {
            return BlockingWrapper<T>(iT);
         }