Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JumpClaimer.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 TopologyBroker
11 /// @brief top-class (Organizer) of the TopologyBroker mechanism
12 /// @detailed responsibilities:
13 /// @author Oliver Lange
14 
15 
16 #ifndef INCLUDED_protocols_topology_broker_JumpClaimer_hh
17 #define INCLUDED_protocols_topology_broker_JumpClaimer_hh
18 
19 
20 // Unit Headers
22 
23 // Package Headers
27 
28 // Project Headers
29 #include <core/pose/Pose.hh>
32 
33 // ObjexxFCL Headers
34 
35 // Utility headers
36 //#include <utility/io/izstream.hh>
37 //#include <utility/io/ozstream.hh>
38 //#include <utility/io/util.hh>
39 //#include <basic/Tracer.hh>
40 //#include <basic/options/option.hh>
41 
42 #include <utility/pointer/ReferenceCount.hh>
43 
44 #include <utility/vector1.hh>
45 
46 
47 //#include <basic/options/option_macros.hh>
48 
49 //// C++ headers
50 //#include <fstream>
51 
52 
53 // option key includes
54 
55 
56 namespace protocols {
57 namespace topology_broker {
58 
59 ///@brief Claimer that works with the old system of BaseJumpSetup
60 /// it supports only JumpFrames of type [ BBTorsion ] UpJump DownJump [ BBTorsion ]
61 /// the class JumpSample is still used to transport the information jumps and jump_atoms, but cuts are ignored
62 /// all functionality of JumpSample is not used anymore
63 class JumpClaimer : public FragmentClaimer {
65 public:
66  JumpClaimer(); //for factory
68  JumpClaimer( JumpClaimer const & src );
69  ~JumpClaimer();
70 
71  virtual TopologyClaimerOP clone() const;
72 
73  virtual void generate_claims( DofClaims& );
74 
75  virtual void new_decoy( core::pose::Pose const& );
76  virtual void new_decoy();
77 
78  ///@brief type() is specifying the output name of the TopologyClaimer
79  virtual std::string type() const {
80  return _static_type_name();
81  }
82 
83  virtual void initialize_dofs( core::pose::Pose&, DofClaims const& init_claims, DofClaims& failed_to_init );
84 
86  return "JumpClaimer";
87  }
88 
89  virtual bool read_tag( std::string tag, std::istream& is );
90 
91 protected:
94  }
95 
97  return jump_def_;
98  }
99 
100  void set_keep_jumps_from_input_pose( bool setting ) {
101  bKeepJumpsFromInputPose_ = setting;
102  }
103 
104  void init_jumps();
105 
106 private:
113 }; //class JumpClaimer
114 
115 
116 }
117 }
118 
119 #endif