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_filters
PoolEvaluatorCreator.cc
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_filters/PoolEvaluatorCreator.hh
11
/// @brief Header for PoolEvaluatorCreator
12
/// @author Matthew O'Meara
13
14
// Unit Headers
15
#include <
protocols/simple_filters/PoolEvaluatorCreator.hh
>
16
17
// Package Headers
18
#include <
protocols/evaluation/EvaluatorCreator.hh
>
19
20
// Package Headers
21
#include <
protocols/evaluation/PoseEvaluator.fwd.hh
>
22
#include <
protocols/evaluation/PoseEvaluator.hh
>
23
#include <
protocols/canonical_sampling/mc_convergence_checks/Pool_ConvergenceCheck.hh
>
24
25
#include <
core/io/silent/silent.fwd.hh
>
26
#include <
core/pose/Pose.hh
>
27
28
// ObjexxFCL Headers
29
#include <ObjexxFCL/string.functions.hh>
30
31
// Utility headers
32
#include <utility/pointer/ReferenceCount.hh>
33
#include <utility/vector1.hh>
34
#include <utility/file/FileName.hh>
35
36
#include <basic/options/option.hh>
37
#include <basic/Tracer.hh>
38
39
// due to template function
40
#include <
core/io/silent/SilentStruct.hh
>
41
42
// option key includes
43
#include <basic/options/option_macros.hh>
44
#include <basic/options/keys/evaluation.OptionKeys.gen.hh>
45
#include <utility/vector0.hh>
46
47
#ifdef WIN32
48
#include <
core/scoring/constraints/Constraint.hh
>
49
#endif
50
51
52
static
basic::Tracer
tr
(
"protocols.evalution.PoolEvaluatorCreator"
);
53
54
namespace
protocols {
55
namespace
simple_filters {
56
57
PoolEvaluatorCreator::~PoolEvaluatorCreator
() {}
58
59
void
PoolEvaluatorCreator::register_options
() {
60
using namespace
basic::options;
61
if
(
options_registered_
)
return
;
62
options_registered_
=
true
;
63
64
OPT( evaluation::pool );
65
66
}
67
68
void
PoolEvaluatorCreator::add_evaluators
(
evaluation::MetaPoseEvaluator
& eval )
const
{
69
using namespace
core;
70
using namespace
basic::options;
71
using namespace
basic::options::OptionKeys;
72
73
74
if
( option[ OptionKeys::evaluation::pool ].user() ) {
75
using namespace
protocols::canonical_sampling::mc_convergence_checks;
76
Pool_RMSD_OP
pool_ptr =
new
Pool_RMSD
( option[ OptionKeys::evaluation::pool ]() );
77
eval.
add_evaluation
(
new
Pool_Evaluator
( pool_ptr ) );
78
}
79
80
81
}
82
83
std::string
PoolEvaluatorCreator::type_name
()
const
{
84
return
"PoolEvaluatorCreator"
;
85
}
86
87
}
//namespace
88
}
//namespace
Generated on Sat Jun 1 2013 12:13:48 for Rosetta 3.5 by
1.8.4