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
filters
TimeFilter.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 sw=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/filters/TimeFilter.hh
11
/// @author Sarel Fleishman (sarelf@uw.edu)
12
13
#ifndef INCLUDED_protocols_filters_TimeFilter_hh
14
#define INCLUDED_protocols_filters_TimeFilter_hh
15
16
17
// Project Headers
18
#include <
protocols/filters/Filter.hh
>
19
#include <
core/pose/Pose.fwd.hh
>
20
#include <
core/types.hh
>
21
#include <utility/tag/Tag.fwd.hh>
22
#include <
protocols/moves/DataMap.fwd.hh
>
23
#include <
protocols/moves/Mover.fwd.hh
>
24
25
#include <utility/vector1.hh>
26
27
#ifdef WIN32
28
#include <ctime>
29
#endif
30
31
namespace
protocols {
32
namespace
filters {
33
34
class
TimeFilter
:
public
Filter
35
{
36
public
:
37
/// @brief default ctor
38
TimeFilter
();
39
virtual
bool
apply
(
core::pose::Pose
const
& pose )
const
;
40
virtual
core::Real
compute
(
core::pose::Pose
const
& pose )
const
;
41
virtual
void
report
( std::ostream & out,
core::pose::Pose
const
& pose )
const
;
42
virtual
core::Real
report_sm
(
core::pose::Pose
const
& pose )
const
;
43
virtual
FilterOP
clone
()
const
{
44
return
new
TimeFilter
( *
this
);
45
}
46
virtual
FilterOP
fresh_instance
()
const
{
47
return
new
TimeFilter
();
48
}
49
50
virtual
~TimeFilter
();
51
virtual
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
52
protocols::moves::DataMap
&,
53
Filters_map
const
&,
54
protocols::moves::Movers_map
const
&,
55
core::pose::Pose
const
& );
56
private
:
57
core::Size
mutable
tic_
,
toc_
;
58
};
59
60
}
// filters
61
}
// protocols
62
63
#endif
64
Generated on Sat Jun 1 2013 11:49:52 for Rosetta 3.5 by
1.8.4