Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
comparative_modeling
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
18
#include <
protocols/jd2/JobInputter.hh
>
19
#include <
protocols/comparative_modeling/ThreadingJobInputter.fwd.hh
>
20
#include <
protocols/jd2/Job.fwd.hh
>
21
22
//project headers
23
#include <
core/pose/Pose.fwd.hh
>
24
#ifdef WIN32
25
#include <
core/sequence/SequenceAlignment.hh
>
26
#endif
27
28
//utility headers
29
#include <map>
30
31
#include <
core/sequence/SequenceAlignment.fwd.hh
>
32
#include <utility/vector1.hh>
33
34
namespace
protocols {
35
namespace
comparative_modeling {
36
37
/// @details This is the simplest implementation of JobInputter
38
class
ThreadingJobInputter
:
public
protocols::jd2::JobInputter
{
39
typedef
utility::vector1< core::sequence::SequenceAlignment >
Alignments
;
40
typedef
utility::vector1< core::pose::PoseOP >
PoseOPs
;
41
typedef
std::map< std::string, PoseOPs >
PoseMap
;
42
typedef
utility::vector1< std::string >
FileList
;
43
typedef
std::map< std::string, utility::vector1< core::Size > >
ExtraResidues
;
44
public
:
45
ThreadingJobInputter
();
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.
59
virtual
protocols::jd2::JobInputterInputSource::Enum
input_source
()
const
;
60
61
private
:
62
/// @brief Returns the number of templates in <template_poses_>
63
size_t
num_templates
()
const
;
64
65
Alignments
alignments_
;
66
PoseMap
template_poses_
;
67
ExtraResidues
extra_residues_
;
68
protocols::jd2::JobInputterInputSource::Enum
input_source_
;
69
};
// ThreadingJobInputter
70
71
}
// namespace comparative_modeling
72
}
// namespace protocols
73
74
#endif //INCLUDED_protocols_comparative_modeling_ThreadingJobInputter_HH
Generated on Sat Jun 1 2013 11:45:40 for Rosetta 3.5 by
1.8.4