Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UnconstrainedTorsionsMover.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/ligand_docking/UnconstrainedTorsionsMover.hh
11 ///
12 /// @brief
13 /// @author Ian W. Davis
14 
15 
16 #ifndef INCLUDED_protocols_ligand_docking_UnconstrainedTorsionsMover_hh
17 #define INCLUDED_protocols_ligand_docking_UnconstrainedTorsionsMover_hh
18 
19 #include <core/pose/Pose.fwd.hh>
20 #include <protocols/ligand_docking/ResidueTorsionRestraints.hh> ///TODO make this a .fwd
23 #include <protocols/moves/Mover.hh>
24 // AUTO-REMOVED #include <utility/vector1.hh>
25 #include <set>
26 
27 #include <utility/vector1.hh>
28 
29 
30 namespace protocols {
31 namespace ligand_docking {
32 
33 ///@brief Juggles torsional constraints with packing or rotamer trials.
34 ///
35 ///@details Adds torsional constraints to the specified residue in the pose,
36 /// but then removes them before running the supplied mover.
37 /// They are then either restored (if no conformational change) or re-initialized.
38 /// The supplied child_mover is expected to be either a full repack or rotamer trials.
39 ///
41 {
42 public:
44 
46  protocols::moves::MoverOP child_mover,
47  Restraints restraints
48  );
49 
51  protocols::moves::MoverOP child_mover,
52  std::set<ResidueTorsionRestraintsOP> restraints
53  );
54 
56  protocols::moves::MoverOP child_mover,
58  );
59 
60 
62 
63  ///@brief Removes its constraints, runs mover, restores constraints.
64  virtual void apply( core::pose::Pose & pose );
65  virtual std::string get_name() const;
66 
67 private:
68 
71 
72 }; // UnconstrainedTorsionsMover
73 
74 
75 } // namespace ligand_docking
76 } // namespace protocols
77 
78 #endif // INCLUDED_protocols_ligand_docking_UnconstrainedTorsionsMover_HH