UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
factory.hpp
1 /* factory.hpp */
2 /* $Id$ */
3 #ifndef __factory_hpp
4 #define __factory_hpp
5 
6 #include <hds_db/base/project.hpp>
7 #include <hds_db/base/seismic.hpp>
8 #include <hds_db/base/locker.hpp>
9 #include <string>
10 
12 namespace hds
13 {
15  namespace db
16  {
18  class Factory
19  {
20  public:
21 
22  virtual ~Factory() {/* nothing to do*/}
23 
24 
27  virtual Project* getProject() const = 0;
28 
32  virtual Seismic* getSeismic(const std::string &project_str) const = 0;
33 
37  virtual Locker* getLocker(const std::string &name) const = 0;
38  };
39  }; // db
40 }; // hds
41 
42 #endif /* factory.hpp */
Definition: seismic.hpp:19
Definition: locker.hpp:50
virtual Seismic * getSeismic(const std::string &project_str) const =0
Definition: factory.hpp:18
Definition: project.hpp:16
virtual Project * getProject() const =0