|
Rosetta 3.5
|
: singleton checkpoint timer class More...
#include <Checkpoint.hh>

Public Member Functions | |
| void | set_interval (const int interval_in) |
Static Public Member Functions | |
| static Timer & | instance (void) |
| static bool | is_on (void) |
| static bool | time_to_checkpoint (void) |
| static void | reset (void) |
Private Member Functions | |
| Timer (void) | |
Static Private Attributes | |
| static bool | is_on_ = false |
| static int | interval_ = 600 |
| static time_t | time_ = time(0) |
: singleton checkpoint timer class
Definition at line 40 of file Checkpoint.hh.
|
inlineprivate |
Definition at line 54 of file Checkpoint.hh.
|
static |
Definition at line 33 of file Checkpoint.cc.
Referenced by protocols::checkpoint::checkpoint_with_interval().
|
static |
Definition at line 44 of file Checkpoint.cc.
References is_on_.
Referenced by protocols::checkpoint::CheckPointer::checkpoint(), and protocols::checkpoint::CheckPointer::recover_checkpoint().
|
static |
Definition at line 65 of file Checkpoint.cc.
References protocols::boinc::Boinc::checkpoint_completed(), time_, and protocols::boinc::Boinc::update_pct_complete().
Referenced by protocols::checkpoint::CheckPointer::checkpoint(), protocols::jd2::BOINCJobDistributor::checkpoint_write(), and protocols::jobdist::BaseJobDistributor::checkpoint_write().
| void protocols::checkpoint::Timer::set_interval | ( | const int | interval_in) |
Definition at line 39 of file Checkpoint.cc.
References interval_.
Referenced by protocols::checkpoint::checkpoint_with_interval().
|
static |
Definition at line 46 of file Checkpoint.cc.
References interval_, and time_.
Referenced by protocols::checkpoint::CheckPointer::checkpoint().
|
staticprivate |
Definition at line 60 of file Checkpoint.hh.
Referenced by set_interval(), and time_to_checkpoint().
|
staticprivate |
Definition at line 59 of file Checkpoint.hh.
|
staticprivate |
Definition at line 61 of file Checkpoint.hh.
Referenced by reset(), time_to_checkpoint(), and Timer().
1.8.4