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>
7 
9 
11 {
12  public:
14 
17 
18  virtual ~DDAlgorithmHandler();
19 
21 
23  void initialize(const std::string & algoName,
24  const DDLogicalPart & parent,
25  const DDNumericArguments & nArgs,
26  const DDVectorArguments & vArgs,
27  const DDMapArguments & mArgs,
28  const DDStringArguments & sArgs,
29  const DDStringVectorArguments & svArgs) throw (DDException);
30 
32  void execute( DDCompactView& ) throw (DDException);
33 
34 
35  private:
36  DDAlgorithm * algo_;
37  std::string algoname_;
39 };
40 
41 #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
An exception for DDD errors.
Definition: DDException.h:23
type of data representation of DDCompactView
Definition: DDCompactView.h:81
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:95
DDLogicalPart parent_
parent logical part
virtual ~DDAlgorithmHandler()
DDAlgorithm * algo_
the wrapped algorithm object