Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GenericJobInputter.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/GenericJobInputter.hh
11 /// @brief header file for GenericJobInputter class, part of August 2008 job distributor as planned at RosettaCon08
12 /// @author Oliver Lange
13 
14 
15 #ifndef INCLUDED_protocols_comparative_modeling_GenericJobInputter_hh
16 #define INCLUDED_protocols_comparative_modeling_GenericJobInputter_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 
29 //utility headers
30 
31 namespace protocols {
32 namespace comparative_modeling {
33 
34 ///@details This is the simplest implementation of JobInputter
36 {
37 public:
39  /// @brief this function is responsible for filling the pose reference with
40  /// the pose indicated by the job. The Job object (within its InnerJob)
41  /// contains a PoseCOP. This function needs to either fill the pose
42  /// reference from the InnerJob or, on first demand of a pose from that
43  /// InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill
44  /// the reference.
45  virtual void pose_from_job( core::pose::Pose & pose, protocols::jd2::JobOP job );
46 
47  ///@brief this function determines what jobs exist
48  virtual void fill_jobs( protocols::jd2::Jobs & jobs );
49 
50  /// @brief Return the type of input source that the GenericJobInputter is currently
51  /// using.
52  /// @return Always <em>POSE</em>.
54 
55 }; // GenericJobInputter
56 
57 } // namespace comparative_modeling
58 } // namespace protocols
59 
60 #endif //INCLUDED_protocols_comparative_modeling_GenericJobInputter_HH