Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
19 
20 // Package headers
22 #include <protocols/jd2/Job.fwd.hh>
23 // AUTO-REMOVED #include <protocols/jd2/JobDistributorFactory.hh>
24 
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 
40 {
41 protected:
42  ///@brief ctor is protected; singleton pattern
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
56 
57  virtual
58  void
60 
61  virtual
62  void
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
78 
79  virtual
82 };
83 
84 }//jd2
85 }//protocols
86 
87 #endif //INCLUDED_protocols_jd2_BOINCJobDistributor_HH