Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LoopOver.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/LoopOver.hh
11 /// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
12 
13 #ifndef INCLUDED_protocols_protein_interface_design_movers_LoopOver_hh
14 #define INCLUDED_protocols_protein_interface_design_movers_LoopOver_hh
15 
16 #include <core/types.hh>
17 #include <core/pose/Pose.fwd.hh>
18 #include <utility/tag/Tag.fwd.hh>
20 #include <protocols/moves/Mover.hh>
23 
24 #include <utility/vector1.hh>
25 
26 
27 namespace protocols {
28 namespace protein_interface_design {
29 namespace movers {
30 
31 /// @brief essentially the same as the WhileMover but allows parsing and cloning. Will be removed at a future point.
32 /// This should now be incorporated into WhileMover
34 public:
35  LoopOver();
36  LoopOver(
37  core::Size max_iterations,
41  );
42 
44  return protocols::moves::MoverOP( new LoopOver( *this ) );
45  }
47  void apply( core::pose::Pose & pose );
48  virtual std::string get_name() const;
50  virtual ~LoopOver();
51 
52 private:
56  bool drift_; // do we want to allow the pose to drift or return to its original state after each iteration
57  protocols::moves::MoverStatus ms_whenfail_; // MoverStatus when filter failed after the iterations ( default MS_SUCCESS )
58 };
59 
60 } // movers
61 } // protein_interface_design
62 } // protocols
63 
64 
65 #endif /*INCLUDED_protocols_protein_interface_design_movers_LoopOver_HH*/