Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TaskAwareCsts.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/protein_interface_design/movers/TaskAwareCsts.hh
11 /// @author Sarel Fleishman (sarelf@u.washington.edu)
12 
13 #ifndef INCLUDED_protocols_protein_interface_design_movers_TaskAwareCsts_hh
14 #define INCLUDED_protocols_protein_interface_design_movers_TaskAwareCsts_hh
16 #include <core/pose/Pose.fwd.hh>
17 #include <utility/tag/Tag.fwd.hh>
19 #include <protocols/moves/Mover.hh>
22 
23 namespace protocols {
24 namespace protein_interface_design {
25 namespace movers {
26 
27 /// @brief applies csts (currently only coordinate csts) to every designable position in pose according to taskoperations
29 {
30 public:
32 public:
33  TaskAwareCsts();
34  void apply( Pose & pose );
35  virtual std::string get_name() const;
39  virtual ~TaskAwareCsts();
42  std::string cst_type() const{ return cst_type_; }
43  void cst_type( std::string const type ){ cst_type_ = type; }
44 private:
45  core::pack::task::TaskFactoryOP task_factory_; /// dflt NULL (design all); designable residues will have the constraints applied to them.
46  std::string cst_type_; //dflt coordinate;
47 };
48 
49 
50 } // movers
51 } // protein_interface_design
52 } // protocols
53 
54 
55 #endif /*INCLUDED_protocols_protein_interface_design_movers_TaskAwareCsts_HH*/