Rosetta 3.5
|
WorkUnit that sleeps for X seconds. More...
#include <WorkUnit.hh>
Public Member Functions | |
WorkUnit_Wait () | |
WorkUnit_Wait (core::Size master, core::Size trajectory_idx, long wait_time) | |
~WorkUnit_Wait () | |
void | run () |
Run the workunit. More... | |
void | wait_time (long wait_time) |
long | wait_time () |
![]() | |
WorkUnit () | |
WorkUnit (core::Size master, core::Size trajectory_idx) | |
virtual | ~WorkUnit () |
virtual void | print (std::ostream &out, bool verbose=false) const |
Print WU details to the stream, single line by default. More... | |
void | set_run_start () |
Set the unixtime of the start of the execution of this WorkUnit. More... | |
void | set_run_stop () |
Set the unixtime of the stop of the execution of this WorkUnit. More... | |
core::Size | get_run_time () |
Returns the difference between unix start and stop times. More... | |
void | id (int id) |
int | id () |
void | master (int master) |
int | master () |
void | trajectory_idx (int trajectory_idx) |
int | trajectory_idx () |
void | prioritize (bool prioritize) |
bool | prioritize () |
void | link_cache (protocols::moves::MoverCacheSP cache) |
Private Attributes | |
long | wait_time_ |
Additional Inherited Members | |
![]() | |
void | create_unique_id () |
![]() | |
bool | prioritize_ |
int | id_ |
int | master_ |
int | trajectory_idx_ |
core::Size | unixtime_creation_ |
Important unixtimes. More... | |
core::Size | unixtime_start_ |
core::Size | unixtime_stop_ |
protocols::moves::MoverCacheSP | cache_ |
WorkUnit that sleeps for X seconds.
|
inline |
protocols::wum2::WorkUnit_Wait::WorkUnit_Wait | ( | core::Size | master, |
core::Size | trajectory_idx, | ||
long | wait_time | ||
) |
|
inline |
|
virtual |
Run the workunit.
Implements protocols::wum2::WorkUnit.
References protocols::swa::rna::sleep(), and wait_time_.
|
inline |
References wait_time(), and wait_time_.
Referenced by wait_time().
|
inline |
References wait_time_.
|
private |
Referenced by run(), and wait_time().