![]() |
Rosetta
2021.16
|
ArchiveManager is responsible for communication with JobDistributor and organization of Batches and returning decoys he owns an Archive (AbstractArchiveBase) that will be handed the decoys and is asked to generate_batch() if the QUEUE_EMPTY . More...
#include <ArchiveManager.hh>

Public Types | |
| typedef utility::vector1< Batch > | BatchList |
Public Member Functions | |
| BaseArchiveManager () | |
| ctor is protected; singleton pattern More... | |
| virtual | ~BaseArchiveManager () |
| virtual Batch & | start_new_batch () |
| virtual void | finalize_batch (Batch &, bool reread=false) |
| virtual void | cancel_batches_previous_to (core::Size batch_id, bool allow_reading_of_decoys=true) |
| virtual void | save_archive ()=0 |
| BatchList const & | batches () const |
| virtual bool | restore_archive ()=0 |
| core::Size | last_batch_id () const |
Protected Member Functions | |
| virtual void | queue_batch (Batch const &batch)=0 |
| virtual void | cancel_batch (Batch &batch, bool allow_reading_of_decoys=true) |
| void | set_archive (AbstractArchiveBaseOP) |
| AbstractArchiveBase & | the_archive () |
| virtual void | unlock_file (Batch const &, bool) |
| void | read_returning_decoys (Batch &batch, bool final) |
Protected Attributes | |
| utility::vector1< Batch > | batches_ |
Static Protected Attributes | |
| static bool | options_registered_ |
Private Attributes | |
| AbstractArchiveBaseOP | theArchive_ |
ArchiveManager is responsible for communication with JobDistributor and organization of Batches and returning decoys he owns an Archive (AbstractArchiveBase) that will be handed the decoys and is asked to generate_batch() if the QUEUE_EMPTY .
| typedef utility::vector1< Batch > protocols::jd2::archive::BaseArchiveManager::BatchList |
|
inline |
ctor is protected; singleton pattern
|
inlinevirtual |
|
inline |
References batches_.
Referenced by protocols::jd2::archive::ArchiveManager::unfinished_batches().
|
protectedvirtual |
Reimplemented in protocols::jd2::archive::ArchiveManager.
References protocols::jd2::archive::Batch::mark_as_cancelled().
Referenced by cancel_batches_previous_to().
|
virtual |
References batches_, and cancel_batch().
Referenced by protocols::abinitio::IterativeBase::increment_stage(), and protocols::abinitio::IterativeBase::rescore_nonlocal_archive().
|
virtual |
References protocols::jd2::archive::Batch::all_broker_files(), protocols::jd2::archive::Batch::batch(), batches_, protocols::jd2::archive::Batch::broker_file(), protocols::jd2::archive::Batch::flag_file(), protocols::jd2::archive::Batch::has_finished(), protocols::jd2::archive::Batch::has_silent_in(), protocols::jd2::archive::Batch::intermediate_structs(), protocols::jd2::archive::Batch::is_cancelled(), protocols::jd2::archive::Batch::mark_as_finished(), protocols::jd2::archive::Batch::nstruct(), queue_batch(), protocols::jd2::archive::Batch::read_info_file(), protocols::jd2::archive::report_batch_inconsistency(), protocols::jd2::archive::Batch::score_file(), protocols::jd2::archive::Batch::set_decoys_returned(), protocols::jd2::archive::Batch::silent_in(), protocols::jd2::archive::Batch::silent_out(), protocols::jd2::archive::AbstractArchiveBase::still_interested(), the_archive(), protocols::jd2::tr(), protocols::jd2::archive::Batch::user_options(), and protocols::jd2::archive::Batch::write_info_file().
Referenced by protocols::abinitio::IterativeBase::generate_batch(), and protocols::jd2::archive::ArchiveManager::read_existing_batches().
|
inline |
References batches_.
Referenced by protocols::abinitio::IterativeBase::increment_stage(), and start_new_batch().
|
protectedpure virtual |
Implemented in protocols::jd2::archive::ArchiveManager.
Referenced by finalize_batch(), and protocols::jd2::archive::ArchiveManager::send_stop_to_jobdistributor().
|
protected |
References protocols::jd2::archive::Batch::alternative_decoys_out(), protocols::jd2::archive::Batch::decoys_returned(), protocols::jd2::archive::Batch::intermediate_structs(), protocols::jd2::archive::Batch::mark_as_finished(), core::io::silent::SilentFileData::read_file(), protocols::jd2::archive::AbstractArchiveBase::read_structures(), core::io::silent::SilentFileData::read_tags_fast(), protocols::jd2::archive::Batch::set_decoys_returned(), protocols::jd2::archive::Batch::silent_out(), core::io::silent::SilentFileData::size(), the_archive(), protocols::jd2::tr(), and unlock_file().
Referenced by protocols::jd2::archive::ArchiveManager::jobs_completed().
|
pure virtual |
Implemented in protocols::jd2::archive::ArchiveManager.
|
pure virtual |
|
protected |
Referenced by protocols::jd2::archive::ArchiveManager::go().
|
virtual |
References batches_, last_batch_id(), protocols::jd2::archive::Batch::set_id(), and protocols::jd2::tr().
Referenced by protocols::jd2::archive::ArchiveManager::read_existing_batches().
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in protocols::jd2::archive::ArchiveManager.
Referenced by read_returning_decoys().
|
protected |
|
staticprotected |
|
private |
Referenced by the_archive().
1.8.7