![]() |
Rosetta Protocols
2014.16.56682
|
The base class for all work units, this is abstract. More...
#include <WorkUnit.hh>
Public Member Functions | |
| WorkUnit () | |
| WorkUnit (core::Size master, core::Size trajectory_idx) | |
| virtual | ~WorkUnit () |
| virtual void | run ()=0 |
| Run the workunit. More... | |
| 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) |
Protected Member Functions | |
| void | create_unique_id () |
Protected Attributes | |
| 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_ |
The base class for all work units, this is abstract.
|
inline |
| protocols::wum2::WorkUnit::WorkUnit | ( | core::Size | master, |
| core::Size | trajectory_idx | ||
| ) |
|
inlinevirtual |
|
protected |
References id_.
| core::Size protocols::wum2::WorkUnit::get_run_time | ( | ) |
Returns the difference between unix start and stop times.
References unixtime_start_, and unixtime_stop_.
|
inline |
References cache_.
|
inline |
|
virtual |
Print WU details to the stream, single line by default.
References id_, unixtime_creation_, unixtime_start_, and unixtime_stop_.
|
inline |
References prioritize(), and prioritize_.
Referenced by prioritize().
|
inline |
References prioritize_.
|
pure virtual |
Run the workunit.
Implemented in protocols::wum2::WorkUnit_ElScripts, and protocols::wum2::WorkUnit_Wait.
| void protocols::wum2::WorkUnit::set_run_start | ( | ) |
Set the unixtime of the start of the execution of this WorkUnit.
References unixtime_start_.
| void protocols::wum2::WorkUnit::set_run_stop | ( | ) |
Set the unixtime of the stop of the execution of this WorkUnit.
References unixtime_stop_.
|
inline |
References trajectory_idx(), and trajectory_idx_.
Referenced by trajectory_idx().
|
inline |
References trajectory_idx_.
|
protected |
Referenced by link_cache().
|
protected |
Referenced by create_unique_id(), id(), and print().
|
protected |
Referenced by prioritize().
|
protected |
Referenced by trajectory_idx().
|
protected |
Important unixtimes.
Referenced by print().
|
protected |
Referenced by get_run_time(), print(), and set_run_start().
|
protected |
Referenced by get_run_time(), print(), and set_run_stop().
1.8.7