Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:46

0001 #ifndef Fireworks_Geometry_DisplayPluginFactory_h
0002 #define Fireworks_Geometry_DisplayPluginFactory_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Geometry
0006 // Class  :     DisplayPluginFactory
0007 //
0008 /**\class DisplayPluginFactory DisplayPluginFactory.h Fireworks/Geometry/interface/DisplayPluginFactory.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:
0018 //         Created:  Thu Mar 18 04:08:40 CDT 2010
0019 //
0020 
0021 // system include files
0022 
0023 // user include files
0024 #include "FWCore/PluginManager/interface/PluginFactory.h"
0025 #include "FWCore/Framework/interface/ConsumesCollector.h"
0026 #include "Fireworks/Geometry/interface/DisplayPlugin.h"
0027 
0028 // forward declarations
0029 namespace fireworks {
0030   namespace geometry {
0031     typedef edmplugin::PluginFactory<DisplayPlugin*(edm::ConsumesCollector)> DisplayPluginFactory;
0032   }
0033 }  // namespace fireworks
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