CMS 3D CMS Logo

PluginFactory.h File Reference

#include <map>
#include <vector>
#include "FWCore/PluginManager/interface/PluginFactoryBase.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/PluginManager/interface/PluginManager.h"
#include "FWCore/PluginManager/interface/ModuleDef.h"

Go to the source code of this file.

Namespaces

namespace  edmplugin

Classes

class  edmplugin::PluginFactory< R *(Arg)>
struct  edmplugin::PluginFactory< R *(Arg)>::PMaker< TPlug >
struct  edmplugin::PluginFactory< R *(Arg)>::PMakerBase
class  edmplugin::PluginFactory< R *(Arg1, Arg2)>
struct  edmplugin::PluginFactory< R *(Arg1, Arg2)>::PMaker< TPlug >
struct  edmplugin::PluginFactory< R *(Arg1, Arg2)>::PMakerBase
class  edmplugin::PluginFactory< R *(void)>
struct  edmplugin::PluginFactory< R *(void)>::PMaker< TPlug >
struct  edmplugin::PluginFactory< R *(void)>::PMakerBase

Defines

#define CONCATENATE(a, b)   CONCATENATE_HIDDEN(a,b)
#define CONCATENATE_HIDDEN(a, b)   a ## b
#define DEFINE_EDM_PLUGIN(factory, type, name)   static factory::PMaker<type> EDM_PLUGIN_SYM(s_maker , __LINE__ ) (name)
#define EDM_PLUGIN_SYM(x, y)   EDM_PLUGIN_SYM2(x,y)
#define EDM_PLUGIN_SYM2(x, y)   x ## y
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)


Define Documentation

#define CONCATENATE ( a,
b   )     CONCATENATE_HIDDEN(a,b)

Definition at line 234 of file PluginFactory.h.

#define CONCATENATE_HIDDEN ( a,
b   )     a ## b

Definition at line 233 of file PluginFactory.h.

#define DEFINE_EDM_PLUGIN ( factory,
type,
name   )     static factory::PMaker<type> EDM_PLUGIN_SYM(s_maker , __LINE__ ) (name)

Definition at line 246 of file PluginFactory.h.

#define EDM_PLUGIN_SYM ( x,
 )     EDM_PLUGIN_SYM2(x,y)

Definition at line 243 of file PluginFactory.h.

#define EDM_PLUGIN_SYM2 ( x,
 )     x ## y

Definition at line 244 of file PluginFactory.h.

#define EDM_REGISTER_PLUGINFACTORY ( _factory_,
_category_   ) 

Value:

namespace edmplugin {\
  template<> _factory_* _factory_::get() { static _factory_ s_instance; return &s_instance;}\
  template<> const std::string& _factory_::category() const { static std::string s_cat(_category_);  return s_cat;}\
} enum {CONCATENATE(dummy_edm_register_pluginfactory_, __LINE__)}

Definition at line 235 of file PluginFactory.h.


Generated on Tue Jun 9 17:53:32 2009 for CMSSW by  doxygen 1.5.4