Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ThreadingJobInputter.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/comparative_modeling/ThreadingJobInputter.hh
11 /// @author Oliver Lange
12 /// @author James Thompson
13 
14 #ifndef INCLUDED_protocols_comparative_modeling_ThreadingJobInputter_hh
15 #define INCLUDED_protocols_comparative_modeling_ThreadingJobInputter_hh
16 
17 //unit headers
20 #include <protocols/jd2/Job.fwd.hh>
21 
22 //project headers
23 #include <core/pose/Pose.fwd.hh>
24 #ifdef WIN32
26 #endif
27 
28 //utility headers
29 #include <map>
30 
32 #include <utility/vector1.hh>
33 
34 namespace protocols {
35 namespace comparative_modeling {
36 
37 /// @details This is the simplest implementation of JobInputter
41  typedef std::map< std::string, PoseOPs > PoseMap;
43  typedef std::map< std::string, utility::vector1< core::Size > > ExtraResidues;
44 public:
46  /// @brief this function is responsible for filling the pose reference with
47  /// the pose indicated by the job. The Job object (within its InnerJob)
48  /// contains a PoseCOP. This function needs to either fill the pose
49  /// reference from the InnerJob or, on first demand of a pose from that
50  /// InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill
51  /// the reference.
52  virtual void pose_from_job( core::pose::Pose & pose, protocols::jd2::JobOP job );
53 
54  /// @brief this function determines what jobs exist
55  virtual void fill_jobs( protocols::jd2::Jobs & jobs );
56 
57  /// @brief Return the type of input source that the ThreadingJobInputter is
58  /// currently using for template structures.
60 
61 private:
62  /// @brief Returns the number of templates in <template_poses_>
63  size_t num_templates() const;
64 
69 }; // ThreadingJobInputter
70 
71 } // namespace comparative_modeling
72 } // namespace protocols
73 
74 #endif //INCLUDED_protocols_comparative_modeling_ThreadingJobInputter_HH