![]() |
Rosetta Protocols
2014.16.56682
|
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 () |
Public Member Functions inherited from protocols::wum2::WorkUnit | |
| 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 | |
Protected Member Functions inherited from protocols::wum2::WorkUnit | |
| void | create_unique_id () |
Protected Attributes inherited from protocols::wum2::WorkUnit | |
| 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::stepwise::sampling::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().
1.8.7