CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDAlgorithmHandler.h
Go to the documentation of this file.
1 #ifndef DD_DDALGORITHMHANDLER_H
2 #define DD_DDALGORITHMHANDLER_H
3 
4 #include <string>
6 
8 
10 {
11  public:
13 
16 
17  virtual ~DDAlgorithmHandler();
18 
20 
22  void initialize(const std::string & algoName,
23  const DDLogicalPart & parent,
24  const DDNumericArguments & nArgs,
25  const DDVectorArguments & vArgs,
26  const DDMapArguments & mArgs,
27  const DDStringArguments & sArgs,
28  const DDStringVectorArguments & svArgs);
29 
31  void execute( DDCompactView& );
32 
33 
34  private:
35  DDAlgorithm * algo_;
38 };
39 
40 #endif // DD_DDALGORITHMHANDLER_H
void execute(DDCompactView &)
executes the wrapped algorithm algo_; some pre- and post-processing (exception handling) ...
wrapper around a DDAlgorithm
list parent
Definition: dbtoconf.py:74
DDAlgorithmHandler()
creates an DDAlgorithm wrapper
type of data representation of DDCompactView
Definition: DDCompactView.h:76
void initialize(const std::string &algoName, const DDLogicalPart &parent, const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &svArgs)
initializes the wrapped algorithm algo_ and does some pre- and post-processing
std::string algoname_
name of the algorithm object
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:88
DDLogicalPart parent_
parent logical part
virtual ~DDAlgorithmHandler()
DDAlgorithm * algo_
the wrapped algorithm object