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
topology_broker
ConstraintEvaluatorWrapper.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 TopologyBroker
11
/// @brief top-class (Organizer) of the TopologyBroker mechanism
12
/// @detailed responsibilities:
13
/// @author Oliver Lange
14
15
16
#ifndef INCLUDED_protocols_topology_broker_ConstraintEvaluatorWrapper_hh
17
#define INCLUDED_protocols_topology_broker_ConstraintEvaluatorWrapper_hh
18
19
20
// Unit Headers
21
#include <
protocols/topology_broker/ConstraintEvaluatorWrapper.fwd.hh
>
22
23
// Package Headers
24
#include <
protocols/topology_broker/ConstraintClaimer.hh
>
25
26
// Project Headers
27
#include <
core/pose/Pose.fwd.hh
>
28
29
// ObjexxFCL Headers
30
#include <
protocols/evaluation/PoseEvaluator.hh
>
31
// Utility headers
32
33
//// C++ headers
34
35
// option key includes
36
37
38
namespace
protocols {
39
namespace
topology_broker {
40
41
class
ConstraintEvaluatorWrapper
:
public
evaluation::PoseEvaluator
{
42
43
public
:
44
ConstraintEvaluatorWrapper
(
std::string
const
&
name
,
ConstraintClaimerCOP
claimer );
//for factory
45
46
using
evaluation::PoseEvaluator::apply
;
47
48
//sets xxx_cst and xxx_viol columns
49
virtual
void
apply
(
core::pose::Pose
& pose,
std::string
tag,
core::io::silent::SilentStruct
&pss)
const
;
50
51
//returns constraint score
52
virtual
core::Real
apply
(
core::pose::Pose
& pose )
const
;
53
54
virtual
core::Size
size
()
const
{
return
1; }
55
virtual
std::string
name
(
core::Size
i )
const
;
56
57
private
:
58
std::string
name_
;
59
ConstraintClaimerCOP
claimer_
;
60
};
//class ConstraintEvaluatorWrapper
61
62
}
63
}
64
65
#endif
Generated on Sat Jun 1 2013 12:24:29 for Rosetta 3.5 by
1.8.4