Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PDBJobInputter.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/PDBJobInputter.hh
11 /// @brief header file for PDBJobInputter class, part of August 2008 job distributor as planned at RosettaCon08
12 /// @author Steven Lewis smlewi@gmail.com
13 
14 
15 #ifndef INCLUDED_protocols_jd2_PDBJobInputter_hh
16 #define INCLUDED_protocols_jd2_PDBJobInputter_hh
17 
18 //unit headers
21 #include <protocols/jd2/Job.fwd.hh>
22 
23 //project headers
24 #include <core/pose/Pose.fwd.hh>
25 
26 #include <utility/vector1.hh>
27 
28 //utility headers
29 
30 namespace protocols {
31 namespace jd2 {
32 
33 ///@details This is the simplest implementation of JobInputter, which reads from -s/-l and PDB files.
35 {
36 public:
37 
39 
40  virtual ~PDBJobInputter();
41 
42  ///@brief this function is responsible for filling the pose reference with the pose indicated by the job. The Job object (within its InnerJob) contains a PoseCOP. This function needs to either fill the pose reference from the InnerJob or, on first demand of a pose from that InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill the reference. This implementation uses pose_from_pdb
43  virtual void pose_from_job( core::pose::Pose & pose, JobOP job );
44 
45  ///@brief this function determines what jobs exist from -s/-l
46  virtual void fill_jobs( Jobs & jobs );
47 
48  /// @brief Return the type of input source that the PDBJobInputter is currently
49  /// using.
50  /// @return Always <em>PDB_FILE</em>.
52 
53 }; // PDBJobInputter
54 
55 } // namespace jd2
56 } // namespace protocols
57 
58 #endif //INCLUDED_protocols_jd2_PDBJobInputter_HH