Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WhileMover.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
11 /// @brief
12 /// @author
13 
14 #ifndef INCLUDED_protocols_moves_WhileMover_hh
15 #define INCLUDED_protocols_moves_WhileMover_hh
16 
17 // Unit headers
19 
20 // Unit Headers
21 #include <protocols/moves/Mover.hh>
22 
23 // Package headers
24 
25 // Project headers
26 #include <core/types.hh>
27 #include <core/pose/Pose.fwd.hh>
28 
29 #include <utility/vector1.hh>
30 
31 
32 // ObjexxFCL Headers
33 
34 // C++ Headers
35 
36 // Utility Headers
37 
38 namespace protocols {
39 namespace moves {
40 
41 class WhileMover : public Mover {
42 public:
43  // default constructor (nmoves=1)
44  WhileMover();
45 
46  WhileMover(
47  MoverOP mover_in,
48  core::Size nmoves_in,
49  PoseConditionOP condition
50  );
51 
52  ~WhileMover();
53 
54  virtual void apply( core::pose::Pose & pose );
55  virtual std::string get_name() const;
56 
57 private:
61 };
62 
64 public:
66  virtual ~PoseCondition();
67  virtual bool operator() ( core::pose::Pose const& ) = 0;
68 };
69 
70 } // moves
71 } // protocols
72 
73 
74 #endif