Warning, file /include/DDEve/Factories.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef DDEVE_FACTORIES_H
0014 #define DDEVE_FACTORIES_H
0015
0016 #ifndef __CINT__
0017 #include "DD4hep/Plugins.h"
0018 #endif
0019 #include "DDEve/View.h"
0020 #include "DDEve/Display.h"
0021
0022 namespace {
0023
0024 template <typename P, typename S> class Factory;
0025
0026
0027 DD4HEP_PLUGIN_FACTORY_ARGS_2(dd4hep::View*,dd4hep::Display*,const char*) { return new P(a0,a1); }
0028 }
0029
0030 #define DECLARE_VIEW_FACTORY(x) \
0031 DD4HEP_PLUGINSVC_FACTORY(x,DD4hep_DDEve_##x,dd4hep::View*(dd4hep::Display*, const char*),__LINE__)
0032
0033 #endif