Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FilterCreator.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file protocols/filters/FilterCreator.hh
11 /// @brief Base class for FilterCreators for the Filter load-time factory registration scheme
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 #ifndef INCLUDED_protocols_filters_FilterCreator_hh
15 #define INCLUDED_protocols_filters_FilterCreator_hh
16 
17 // Unit Headers
19 
20 // Utility Headers
21 #include <utility/pointer/ReferenceCount.hh>
22 
23 // c++ headers
24 #include <string>
25 
26 namespace protocols {
27 namespace filters {
28 
29 /// @brief Abstract base class for a Filter factory; the Creator class is responsible for
30 /// creating a particular filter class.
32 {
33 public:
34  FilterCreator();
35  virtual ~FilterCreator();
36 
37  virtual FilterOP create_filter() const = 0;
38  virtual std::string keyname() const = 0;
39 };
40 
43 
44 } //namespace filters
45 } //namespace protocols
46 
47 #endif