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
moves
IfMover.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/protein_interface_design/movers/IfMover.hh
11
/// @author Sarel Fleishman (sarelf@u.washington.edu)
12
/// @author Christopher Miles (cmiles@uw.edu)
13
14
#ifndef INCLUDED_protocols_moves_IfMover_hh
15
#define INCLUDED_protocols_moves_IfMover_hh
16
17
// C/C++ headers
18
#include <string>
19
20
// Utility headers
21
#include <utility/tag/Tag.fwd.hh>
22
23
// Project headers
24
#include <
core/pose/Pose.fwd.hh
>
25
#include <
protocols/filters/Filter.hh
>
26
27
// Package headers
28
#include <
protocols/moves/Mover.hh
>
29
#include <
protocols/moves/DataMap.fwd.hh
>
30
31
#include <utility/vector1.hh>
32
33
34
namespace
protocols {
35
namespace
moves {
36
37
class
IfMover
:
public
protocols::moves::Mover
{
38
public
:
39
/// @brief No-argument constructor
40
IfMover
() : protocols::moves::
Mover
(
"If"
) {}
41
42
/// @brief Virtual destructor
43
virtual
~IfMover
() {};
44
45
protocols::moves::MoverOP
clone
()
const
{
46
return
new
IfMover
(*
this
);
47
}
48
49
protocols::moves::MoverOP
fresh_instance
()
const
{
50
return
new
IfMover
();
51
}
52
53
void
apply
(
core::pose::Pose
& pose);
54
55
// Required for backwards compatibility.
56
// Synonym for `get_additional_output_true_mover().`
57
core::pose::PoseOP
get_additional_output
();
58
59
core::pose::PoseOP
get_additional_output_true_mover
();
60
core::pose::PoseOP
get_additional_output_false_mover
();
61
62
virtual
std::string
get_name
()
const
;
63
64
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
protocols::moves::DataMap
&,
protocols::filters::Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& );
65
66
private
:
67
protocols::filters::FilterOP
filter_
;
68
69
/// @brief Invoked when filter evaluates to true
70
protocols::moves::MoverOP
true_mover_
;
71
72
/// @brief Invoked when filter evaluates to false
73
protocols::moves::MoverOP
false_mover_
;
74
};
75
76
}
// moves
77
}
// protocols
78
79
#endif
/*INCLUDED_protocols_ProteinInterfaceDesign_movers_IfMover_HH*/
Generated on Sat Jun 1 2013 12:00:17 for Rosetta 3.5 by
1.8.4