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
jd2
BOINCJobDistributor.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/jd2/BOINCJobDistributor.hh
11
/// @brief implementation of BOINCJobDistributor
12
/// @author Mike Tyka
13
14
#ifndef INCLUDED_protocols_jd2_BOINCJobDistributor_hh
15
#define INCLUDED_protocols_jd2_BOINCJobDistributor_hh
16
17
// Unit headers
18
#include <
protocols/jd2/ShuffleJobDistributor.hh
>
19
20
// Package headers
21
#include <
protocols/jd2/JobDistributor.hh
>
22
#include <
protocols/jd2/Job.fwd.hh
>
23
// AUTO-REMOVED #include <protocols/jd2/JobDistributorFactory.hh>
24
25
#include <
protocols/moves/Mover.fwd.hh
>
26
27
// Utility headers
28
#include <
core/types.hh
>
29
30
// C++ headers
31
#include <string>
32
33
#include <utility/vector1.hh>
34
35
36
namespace
protocols {
37
namespace
jd2 {
38
39
class
BOINCJobDistributor
:
public
ShuffleFileSystemJobDistributor
40
{
41
protected
:
42
///@brief ctor is protected; singleton pattern
43
BOINCJobDistributor
();
44
45
virtual
46
void
47
job_failed
(
core::pose::Pose
& pose,
bool
will_retry );
48
49
virtual
50
void
51
job_succeeded
(
core::pose::Pose
& pose,
core::Real
run_time );
52
53
virtual
54
void
55
mark_current_job_id_for_repetition
();
56
57
virtual
58
void
59
begin_critical_section
();
60
61
virtual
62
void
63
end_critical_section
();
64
65
core::Size
total_completed_nstruct_
;
// for graphics display
66
67
public
:
68
virtual
~BOINCJobDistributor
();
69
void
checkpoint_read
();
70
void
checkpoint_write
();
71
void
checkpoint_clear
();
72
73
friend
class
JobDistributorFactory
;
//ctor access
74
75
virtual
76
void
77
go
(
protocols::moves::MoverOP
mover );
78
79
virtual
80
core::Size
81
get_new_job_id
();
82
};
83
84
}
//jd2
85
}
//protocols
86
87
#endif //INCLUDED_protocols_jd2_BOINCJobDistributor_HH
Generated on Sat Jun 1 2013 11:54:40 for Rosetta 3.5 by
1.8.4