Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SavePoseMover.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 SavePoseMover.hh
11 ///
12 /// @brief
13 /// @author Florian Richter
14 
15 #ifndef INCLUDED_protocols_rosetta_scripts_SavePoseMover_hh
16 #define INCLUDED_protocols_rosetta_scripts_SavePoseMover_hh
17 
18 //unit headers
20 
21 #include <protocols/moves/Mover.hh>
22 
23 // Project Headers
24 #include <core/pose/Pose.fwd.hh>
25 
26 #include <utility/vector1.hh>
27 
28 
29 
30 
31 namespace protocols {
32 namespace rosetta_scripts {
33 
34 /// @brief mover that can be used to save or restore a pose at an arbitrary
35 /// point during a rosetta scripts protocol. other movers or filters can be
36 /// set up to access poses saved by this mover during their apply calls.
38 {
39 public:
40 
41  SavePoseMover();
43 
44  virtual void apply( core::pose::Pose & pose );
45  virtual std::string get_name() const;
48 
49  void
51  TagPtr const tag,
52  protocols::moves::DataMap & data_map,
55  core::pose::Pose const &
56  );
57 
58 private:
60  bool restore_pose_; //determines whether this mover saves or restores a pose
61 };
62 
63 
64 } // rosetta_scripts
65 } // protocols
66 
67 #endif
68