Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::wum2::WorkUnit_Wait Class Reference

WorkUnit that sleeps for X seconds. More...

#include <WorkUnit.hh>

Inheritance diagram for protocols::wum2::WorkUnit_Wait:
Inheritance graph
Collaboration diagram for protocols::wum2::WorkUnit_Wait:
Collaboration graph

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_

Detailed Description

WorkUnit that sleeps for X seconds.

Constructor & Destructor Documentation

protocols::wum2::WorkUnit_Wait::WorkUnit_Wait ( )
protocols::wum2::WorkUnit_Wait::WorkUnit_Wait ( core::Size  master,
core::Size  trajectory_idx,
long  wait_time 
protocols::wum2::WorkUnit_Wait::~WorkUnit_Wait ( )

Member Function Documentation

void protocols::wum2::WorkUnit_Wait::run ( )

Run the workunit.

Implements protocols::wum2::WorkUnit.

References protocols::swa::rna::sleep(), and wait_time_.

void protocols::wum2::WorkUnit_Wait::wait_time ( long  wait_time)

References wait_time(), and wait_time_.

Referenced by wait_time().

long protocols::wum2::WorkUnit_Wait::wait_time ( )

References wait_time_.

Member Data Documentation

long protocols::wum2::WorkUnit_Wait::wait_time_

Referenced by run(), and wait_time().

The documentation for this class was generated from the following files: