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
simple_moves
O2M_MutateMover.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/simple_moves/O2M_MutateMover.hh
11
/// @brief Mover that takes a starting structure and some task ops, and produces every single possible point mutation
12
/// DOES NOT WORK WITH ROSETTASCRIPTS
13
/// @author Ken Jung
14
15
#ifndef INCLUDED_protocols_simple_moves_O2M_MutateMover_hh
16
#define INCLUDED_protocols_simple_moves_O2M_MutateMover_hh
17
#include <
protocols/simple_moves/O2M_MutateMover.fwd.hh
>
18
19
#include <
protocols/moves/Mover.hh
>
20
#include <
core/pack/task/TaskFactory.fwd.hh
>
21
#include <
core/pack/task/PackerTask.fwd.hh
>
22
#include <
core/scoring/ScoreFunction.hh
>
23
24
#include <utility/exit.hh>
25
26
namespace
protocols{
27
namespace
simple_moves{
28
29
class
O2M_MutateMover
:
public
protocols::moves::Mover
30
{
31
public
:
32
typedef
core::pose::PoseSP
PoseSP
;
33
34
O2M_MutateMover
(){}
35
~O2M_MutateMover
(){}
36
37
void
apply
(
core::io::serialization::PipeMap
& pmap);
38
39
// stupid mover base class crap
40
void
apply
(
Pose
& ){
41
utility_exit_with_message(
"DOESNT WORK WITH SINGLE POSE"
);
42
}
43
std::string
get_name
()
const
{
return
"stupid jd2"
; }
44
void
parse_my_tag
(
utility::tag::TagPtr
const
,
protocols::moves::DataMap
&,
protocols::filters::Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& ) {
45
utility_exit_with_message(
"DOESNT WORK WITH JD2"
);
46
}
47
48
void
parse_def
( utility::lua::LuaObject
const
& def,
49
utility::lua::LuaObject
const
& score_fxns,
50
utility::lua::LuaObject
const
& tasks,
51
protocols::moves::MoverCacheSP
cache );
52
53
protocols::moves::MoverSP
create
() {
return
protocols::moves::MoverSP
(
new
O2M_MutateMover
); }
54
static
std::string
name
() {
55
return
"O2M_MutateMover"
;
56
}
57
private
:
58
core::pack::task::TaskFactorySP
task_factory_
;
59
core::scoring::ScoreFunctionOP
scorefxn_
;
60
};
61
62
63
}
//simple_moves
64
}
//protocols
65
66
#endif
Generated on Sat Jun 1 2013 12:16:17 for Rosetta 3.5 by
1.8.4