CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/Fireworks/Geometry/interface/DisplayPluginFactory.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Geometry_DisplayPluginFactory_h
00002 #define Fireworks_Geometry_DisplayPluginFactory_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Geometry
00006 // Class  :     DisplayPluginFactory
00007 // 
00016 //
00017 // Original Author:  
00018 //         Created:  Thu Mar 18 04:08:40 CDT 2010
00019 // $Id: DisplayPluginFactory.h,v 1.1 2010/04/01 21:57:59 chrjones Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "FWCore/PluginManager/interface/PluginFactory.h"
00026 #include "Fireworks/Geometry/interface/DisplayPlugin.h"
00027 
00028 // forward declarations
00029 namespace fireworks {
00030   namespace geometry {
00031     typedef edmplugin::PluginFactory<DisplayPlugin*(void)> DisplayPluginFactory;
00032   }
00033 }
00034 
00035 #define DEFINE_FIREWORKS_GEOM_DISPLAY(type) \
00036 static fireworks::geometry::DisplayPluginFactory::PMaker<type > EDM_PLUGIN_SYM(s_display , __LINE__ ) (#type)
00037 
00038 
00039 #endif