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
forge
remodel
RemodelConstraintGenerator.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/forge/remodel/RemodelConstraintGenerator.hh
11
///
12
/// @brief abstract base class that generates constraints during forge loop remodelling
13
/// @author Florian Richter, floric@u.washington.edu, april 2009
14
/// @modified Tom Linsky, tlinsky@uw.edu
15
16
17
18
#ifndef INCLUDED_protocols_forge_remodel_RemodelConstraintGenerator_hh
19
#define INCLUDED_protocols_forge_remodel_RemodelConstraintGenerator_hh
20
21
//unit headers
22
#include <
protocols/forge/components/VarLengthBuild.fwd.hh
>
23
#include <
protocols/forge/remodel/RemodelConstraintGenerator.fwd.hh
>
24
// AUTO-REMOVED #include <protocols/forge/build/BuildInstruction.hh>
25
26
//project headers
27
#include <
core/pose/Pose.fwd.hh
>
28
#include <
core/scoring/constraints/Constraint.fwd.hh
>
29
#ifdef WIN32
30
#include <
core/scoring/constraints/Constraint.hh
>
// WIN32 INCLUDE
31
#endif
32
#include <
core/id/SequenceMapping.fwd.hh
>
33
#include <
protocols/moves/Mover.hh
>
34
35
//utility headers
36
#include <utility/pointer/ReferenceCount.hh>
37
38
#include <utility/vector1.hh>
39
40
41
namespace
protocols {
42
namespace
forge {
43
namespace
remodel {
44
45
46
/// @brief pure virtual base class
47
class
RemodelConstraintGenerator
:
public
protocols::moves::Mover
48
{
49
public
:
// typedefs
50
///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
51
virtual
~RemodelConstraintGenerator
();
52
53
///@brief generates constraints and adds them to the pose
54
virtual
55
void
apply
(
core::pose::Pose
& pose );
56
57
void
parse_my_tag
(
58
utility::tag::TagPtr
const
tag,
59
protocols::moves::DataMap
&,
60
protocols::filters::Filters_map
const
&,
61
protocols::moves::Movers_map
const
&,
62
core::pose::Pose
const
& );
63
64
typedef
protocols::forge::components::VarLengthBuildAP
VarLengthBuildAP
;
65
66
67
public
:
//constructors
68
69
RemodelConstraintGenerator
();
70
71
RemodelConstraintGenerator
(
RemodelConstraintGenerator
const
& rval );
72
73
74
public
:
75
76
//virtual
77
//RemodelConstraintGeneratorOP
78
//clone() const = 0;
79
80
void
81
add_remodel_constraints_to_pose
(
82
core::pose::Pose
& pose );
83
84
void
85
remove_remodel_constraints_from_pose
(
86
core::pose::Pose
& pose )
const
;
87
88
virtual
89
void
90
generate_remodel_constraints
(
91
core::pose::Pose
const
& pose ) = 0;
92
93
/// @brief Pose-specific setup routines go here
94
virtual
void
95
init
(
core::pose::Pose
const
& ) {};
96
97
VarLengthBuildAP
98
vlb
()
const
;
99
100
void
101
set_vlb
(
VarLengthBuildAP
vlb
);
102
103
std::string
104
id
()
const
;
105
106
void
107
set_id
(
std::string
const
&
id
);
108
109
void
110
set_seqmap
(
core::id::SequenceMappingCOP
seqmap
);
111
112
core::id::SequenceMappingCOP
113
seqmap
()
const
;
114
115
// Undefined, commenting out to fix PyRosetta build core::scoring::constraints::ConstraintCOPs constraints() const;
116
117
static
core::scoring::constraints::ConstraintCOPs
const
118
lookup_stored_constraints
(
std::string
const
&
id
);
119
120
protected
:
121
122
void
123
add_constraint
(
core::scoring::constraints::ConstraintCOP
cst );
124
125
void
126
add_constraints
(
core::scoring::constraints::ConstraintCOPs
csts );
127
128
void
129
clear_constraints
();
130
131
void
132
clear_stored_constraints
();
133
134
void
135
store_constraints
();
136
137
private
:
138
139
std::string
id_
;
140
141
core::scoring::constraints::ConstraintCOPs
csts_
;
142
143
core::id::SequenceMappingCOP
seqmap_
;
144
145
VarLengthBuildAP
vlb_
;
146
147
static
std::map<std::string,core::scoring::constraints::ConstraintCOPs>
cst_map_
;
148
149
};
//class RemodelConstraintGenerator
150
151
152
}
//namespace remodel
153
}
//namespace forge
154
}
//namespace protocols
155
156
157
158
159
#endif
160
Generated on Sat Jun 1 2013 11:52:03 for Rosetta 3.5 by
1.8.4