Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AtomTreeDiffJobInputter.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/jd2/AtomTreeDiffJobInputter.hh
11 /// @brief header file for AtomTreeDiffJobInputter class
12 /// @author Gordon Lemmon (gordon.h.lemmon@vanderbilt.edu); Rocco Moretti (rmoretti@u.washington.edu)
13 
14 
15 #ifndef INCLUDED_protocols_jd2_AtomTreeDiffJobInputter_hh
16 #define INCLUDED_protocols_jd2_AtomTreeDiffJobInputter_hh
17 
18 //unit headers
21 #include <protocols/jd2/Job.fwd.hh>
22 
23 //project headers
24 #include <core/pose/Pose.fwd.hh>
26 
27 #include <utility/vector1.hh>
28 
29 
30 //utility headers
31 
32 namespace protocols {
33 namespace jd2 {
34 
35 ///@details This is the simplest implementation of JobInputter, which reads from -s/-l and AtomTree files.
37 {
38 public:
39 
41 
42  virtual ~AtomTreeDiffJobInputter();
43 
44  /// @brief this function is responsible for filling the pose reference with
45  /// the pose indicated by the job. The Job object (within its InnerJob)
46  /// contains a PoseCOP. This function needs to either fill the pose
47  /// reference from the InnerJob or, on first demand of a pose from that
48  /// InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill
49  /// the reference. This implementation uses pose_from_pdb
50  virtual void pose_from_job( core::pose::Pose & pose, JobOP job );
51 
52  /// @brief this function determines what jobs exist from -in::file::silent and
53  /// -in::file::tags.
54  virtual void fill_jobs( Jobs & jobs );
55 
56  /// @brief Return the type of input source that the AtomTreeDiffJobInputter is currently
57  /// using.
58  /// @return Always <em>ATOM_TREE_FILE</em>.
60 
61  /// @brief Utility function to allow mutatable (!) access to the reference
62  /// poses of the undelying AtomTreeDiff object. Use with caution.
63  ///
64  /// @details This exists to allow setup on stored reference poses for properties that
65  /// don't get saved/restored in PDB format, like covalent constraints for enzyme design.
66  core::pose::PoseOPs const & all_ref_poses() const;
67 
68 private:
70 
71 }; // AtomTreeDiffJobInputter
72 
73 } // namespace jd2
74 } // namespace protocols
75 
76 #endif //INCLUDED_protocols_jd2_AtomTreeDiffJobInputter_HH