DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDEve
include
DDEve
Factories.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
#ifndef DDEVE_FACTORIES_H
14
#define DDEVE_FACTORIES_H
15
16
#ifndef __CINT__
17
#include "
DD4hep/Plugins.h
"
18
#endif
19
#include "
DDEve/View.h
"
20
#include "
DDEve/Display.h
"
21
22
namespace
{
24
template
<
typename
P,
typename
S>
class
Factory;
25
27
DD4HEP_PLUGIN_FACTORY_ARGS_2
(
dd4hep::View
*,
dd4hep::Display
*,
const
char
*) {
return
new
P(a0,a1); }
28
}
29
30
#define DECLARE_VIEW_FACTORY(x) \
31
DD4HEP_PLUGINSVC_FACTORY(x,DD4hep_DDEve_##x,dd4hep::View*(dd4hep::Display*, const char*),__LINE__)
32
33
#endif // DDEVE_FACTORIES_H
dd4hep::Display
The main class of the DDEve display.
Definition:
Display.h:56
DD4HEP_PLUGIN_FACTORY_ARGS_2
#define DD4HEP_PLUGIN_FACTORY_ARGS_2(R, A0, A1)
Definition:
Plugins.h:176
Display.h
Plugins.h
dd4hep::View
class View View.h DDEve/View.h
Definition:
View.h:45
View.h
Generated on Thu Nov 7 2024 13:31:54 for DD4hep by
1.8.18