Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResFilterCreator.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 core/pack/methods/ResFilterCreator.hh
11 /// @brief Declaration of the base class for ResFilter factory registration and creation
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 /// @author ashworth
14 
15 
16 #ifndef INCLUDED_core_pack_task_operation_ResFilterCreator_hh
17 #define INCLUDED_core_pack_task_operation_ResFilterCreator_hh
18 
19 // Unit headers
21 
22 // Package headers
24 
25 // Utility headers
26 #include <utility/pointer/ReferenceCount.hh>
27 
28 
29 namespace core {
30 namespace pack {
31 namespace task {
32 namespace operation {
33 
34 /// @brief The ResFilterCreator class's responsibilities are to create
35 /// on demand a new ResFilter class.
36 /// The ResFilterCreator must register itself with the ResFilterFactory
37 /// at load time (before main() begins) so that the ResFilterFactory is ready
38 /// to start creating ResFilters by the time any protocol
39 /// requests one.
41 {
42 public:
43  /// @brief Instantiate a new ResFilter
44  virtual
46  create_res_filter() const = 0;
47 
48  virtual std::string keyname() const = 0;
49 };
50 
51 }
52 }
53 }
54 }
55 
56 #endif