Rosetta 3.5
|
This WorkUnit type has structures in it. Most Workunits should derive from this one rather THe the Base class. More...
#include <WorkUnitBase.hh>
Public Member Functions | |
WorkUnit_SilentStructStore () | |
virtual | ~WorkUnit_SilentStructStore () |
virtual protocols::wum::WorkUnitBaseOP | clone () const |
virtual void | run () |
This Work unit doesnt do anything - its just keeps the structures. More... | |
virtual void | serialize () |
write decoys into serial data store overwritinge whatever was there before. It basically syncs the silent struct store with the derial data More... | |
virtual void | deserialize () |
Make ready for working. More... | |
const protocols::wum::SilentStructStore & | decoys () const |
Accessor for decoy store. More... | |
protocols::wum::SilentStructStore & | decoys () |
Accessor for decoy store. More... | |
![]() | |
WorkUnitBase () | |
virtual | ~WorkUnitBase () |
virtual void | clear_serial_data () |
Remove all data, make sure that the memory is also cleared, hence the cals to reserve. More... | |
void | print (std::ostream &out, bool verbose=false) const |
Print header information to the stream, single line by default or verbose if verbose is set to true. More... | |
core::Size | id () |
Accessor to the ID of the WorkUnit. More... | |
core::Size | extra_data_1 () |
Accessor to the extra_data_1 and 3 field of the header. More... | |
core::Size | extra_data_3 () |
void | add_blacklist (int mpi_rank) |
Adds to the blacklist. More... | |
void | clear_blacklist () |
Erases the blacklist. More... | |
bool | in_blacklist (int mpi_rank) |
Finds in blacklist, true if is, false if it isn't. More... | |
core::Size | get_run_time () |
Returns the differrence between unix start and stop times. More... | |
std::string | get_wu_type () const |
Accessor to header structure, return the WorkUnit Type. More... | |
void | set_wu_type (const std::string &text) |
Accessor to header structure, sets the WorkUnit Type. More... | |
std::string | get_options () const |
Optain the options string from the header. More... | |
virtual core::Size | mem_footprint () const |
Return the memory usage of this WorkUnit. More... | |
core::Size | last_received_from () |
Private Attributes | |
protocols::wum::SilentStructStore | decoys_ |
This WorkUnit type has structures in it. More... | |
Additional Inherited Members | |
![]() | |
virtual void | create_unique_id () |
Make a unique number out of Processor Number and unix timestamp ? More... | |
std::string & | serial_data () |
Accessor to the serial data field. More... | |
const std::string & | serial_data () const |
Accessor to the serial data field. More... | |
void | set_options (const std::string &text) |
Accesor to the "options" text field. 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... | |
![]() | |
WU_Header | header |
The header data. More... | |
core::Size | last_received_from_ |
Contains the serial number of whatever Rank/Node this WU was last receeived from. More... | |
std::vector< int > | blacklist_ |
Contains blacklist of nodes. This data is NOT sent, and is only used on the sending side to determine where not to send a workunit. More... | |
This WorkUnit type has structures in it. Most Workunits should derive from this one rather THe the Base class.
|
inline |
Referenced by clone().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from protocols::wum::WorkUnitBase.
Reimplemented in protocols::wum::WorkUnit_MoverWrapper, protocols::relax::WorkUnit_BatchRelax_and_PostRescore, protocols::relax::WorkUnit_BatchRelax, and protocols::loophash::WorkUnit_LoopHash.
References WorkUnit_SilentStructStore().
|
inline |
Accessor for decoy store.
References decoys_.
Referenced by protocols::wum::MPI_Relax::process_inbound_wus_master(), protocols::relax::WorkUnit_BatchRelax_and_PostRescore::rescore_all_decoys(), protocols::loophash::WorkUnit_LoopHash::run(), protocols::relax::WorkUnit_BatchRelax::run(), protocols::wum::WorkUnit_MoverWrapper::run(), and protocols::relax::WorkUnit_BatchRelax_and_PostRescore::trim().
|
inline |
Accessor for decoy store.
References decoys_.
|
virtual |
Make ready for working.
Reimplemented from protocols::wum::WorkUnitBase.
References protocols::wum::SilentStructStore::clear(), decoys_, protocols::wum::SilentStructStore::read_from_string(), and protocols::wum::WorkUnitBase::serial_data().
|
inlinevirtual |
This Work unit doesnt do anything - its just keeps the structures.
Reimplemented from protocols::wum::WorkUnitBase.
Reimplemented in protocols::wum::WorkUnit_MoverWrapper, protocols::relax::WorkUnit_BatchRelax, and protocols::loophash::WorkUnit_LoopHash.
|
virtual |
write decoys into serial data store overwritinge whatever was there before. It basically syncs the silent struct store with the derial data
Reimplemented from protocols::wum::WorkUnitBase.
References decoys_, protocols::wum::WorkUnitBase::serial_data(), and protocols::wum::SilentStructStore::serialize().
|
private |
This WorkUnit type has structures in it.
Referenced by decoys(), deserialize(), and serialize().