File indexing completed on 2024-04-06 12:11:46
0001 #ifndef Fireworks_Geometry_DisplayPluginFactory_h
0002 #define Fireworks_Geometry_DisplayPluginFactory_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "FWCore/PluginManager/interface/PluginFactory.h"
0025 #include "FWCore/Framework/interface/ConsumesCollector.h"
0026 #include "Fireworks/Geometry/interface/DisplayPlugin.h"
0027
0028
0029 namespace fireworks {
0030 namespace geometry {
0031 typedef edmplugin::PluginFactory<DisplayPlugin*(edm::ConsumesCollector)> DisplayPluginFactory;
0032 }
0033 }
0034
0035 #define DEFINE_FIREWORKS_GEOM_DISPLAY(type) \
0036 static fireworks::geometry::DisplayPluginFactory::PMaker<type> EDM_PLUGIN_SYM(s_display, __LINE__)(#type)
0037
0038 #endif