Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RestrictToInterfaceOperation.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/toolbox/task_operations/RestrictToInterfaceOperation.hh
11 /// @brief TaskOperation class that finds an interface and makes it mobile in the PackerTask
12 /// @author Steven Lewis smlewi@unc.edu
13 
14 #ifndef INCLUDED_protocols_toolbox_task_operations_RestrictToInterfaceOperation_hh
15 #define INCLUDED_protocols_toolbox_task_operations_RestrictToInterfaceOperation_hh
16 
17 // Unit Headers
20 
21 // Project Headers
22 #include <core/pose/Pose.fwd.hh>
24 
25 // Utility Headers
26 #include <core/types.hh>
27 
28 // C++ Headers
29 #include <string>
30 
31 #include <utility/vector1.hh>
32 
33 
34 namespace protocols {
35 namespace toolbox {
36 namespace task_operations {
37 
38 ///@details this class is a TaskOperation to prevent repacking of residues not near an interface.
40 {
41 public:
43 
44  RestrictToInterfaceOperation( core::Size upper_chain = 1, core::Size lower_chain = 2 );
45 
46  RestrictToInterfaceOperation( std::string const & calculator );
47 
49 
50  virtual TaskOperationOP clone() const;
51 
52  virtual
53  void
55 
56 private:
57  ///@brief constructor helper function - makes the PoseMetricCalculator
58  void make_calculator( core::Size upper_chain, core::Size lower_chain );
59 
60  ///@brief constructor helper function - names the PoseMetricCalculator
61  void make_name( core::Size upper_chain, core::Size lower_chain );
62 
64 };
65 
66 } //namespace protocols
67 } //namespace toolbox
68 } //namespace task_operations
69 
70 #endif // INCLUDED_protocols_toolbox_TaskOperations_RestrictToInterfaceOperation_HH