![]() |
Rosetta
2020.11
|
The JobInputter class is responsible for. More...
#include <JobInputter.hh>
Public Member Functions | |
~JobInputter () override | |
JobInputterCOP | get_self_ptr () const |
Get self const owning pointers. More... | |
JobInputterOP | get_self_ptr () |
Get self owning pointers. More... | |
JobInputterCAP | get_self_weak_ptr () const |
Get self const weak pointers. More... | |
JobInputterAP | get_self_weak_ptr () |
Get self weak pointers. More... | |
virtual void | pose_from_job (core::pose::Pose &pose, JobOP job)=0 |
this function is responsible for returning the starting pose to use for the input job. The Job object (within its InnerJob) contains a PoseCOP. This function needs to either create a new Pose from the InnerJob Pose or, on first demand of a pose from that InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill the reference. More... | |
virtual void | fill_jobs (JobsContainer &jobs)=0 |
this function determines what jobs exist. This function neither knows nor cares what jobs are already complete on disk/memory - it just figures out what ones should exist given the input. NOTE: your JobInputter should order Job objects in the Jobs vector to have as few "transitions" between inputs as possible (group all Jobs of the same input next to each other). This improves efficiency of the "FAIL_BAD_INPUT" functionality. Note I (Brave Sir Steven) said "should", not "must". More... | |
virtual void | update_jobs_list (JobsContainerOP jobs) |
This function is only called by certain JobInputters to update the jobs list after it has already been created. More... | |
virtual JobInputterInputSource::Enum | input_source () const =0 |
return the type of input source that the JobInputter is currently using More... | |
virtual bool | updates_jobs_list () const |
Does this type of JobInputter update the jobs list? More... | |
Static Public Member Functions | |
static std::string | job_inputter_input_source_to_string (JobInputterInputSource::Enum source) |
call this with input_source() to get the input source of a particular job inputter More... | |
Protected Member Functions | |
void | load_pose_into_job (core::pose::Pose const &pose, JobOP job) |
this function modifies the InnerJob's pose. Access to that pose is via friendship. More... | |
void | load_pose_into_job (core::pose::PoseCOP pose, JobOP job) |
this function modifies the InnerJob's pose. Access to that pose is via friendship. More... | |
virtual core::Size | get_nstruct () const |
this code is here to restrict the use of inner_job_nonconst (this class is a friend class and can do it) More... | |
The JobInputter class is responsible for.
NOTE: your JobInputter should order Job objects in the Jobs vector to have as few "transitions" between inputs as possible (group all Jobs of the same input next to each other). This improves efficiency of the "FAIL_BAD_INPUT" functionality. I said "should", not "must" on purpose.
|
overridedefault |
|
pure virtual |
this function determines what jobs exist. This function neither knows nor cares what jobs are already complete on disk/memory - it just figures out what ones should exist given the input. NOTE: your JobInputter should order Job objects in the Jobs vector to have as few "transitions" between inputs as possible (group all Jobs of the same input next to each other). This improves efficiency of the "FAIL_BAD_INPUT" functionality. Note I (Brave Sir Steven) said "should", not "must".
Implemented in protocols::features::DatabaseJobInputter, protocols::jd2::EnsembleJobInputter, protocols::jd2::BatchJobInputter, protocols::jd2::SilentFileJobInputter, protocols::comparative_modeling::ThreadingJobInputter, protocols::jd2::AtomTreeDiffJobInputter, protocols::jd2::LargeNstructJobInputter, protocols::comparative_modeling::GenericJobInputter, protocols::jd2::EmptyPoseJobInputter, protocols::make_rot_lib::MakeRotLibJobInputter, protocols::jd2::PDBJobInputter, protocols::jd2::SerializedPoseJobInputter, protocols::jd2::PoseInputStreamJobInputter, protocols::jd2::ScreeningJobInputter, and protocols::jd2::LazySilentFileJobInputter.
|
protectedvirtual |
this code is here to restrict the use of inner_job_nonconst (this class is a friend class and can do it)
Referenced by protocols::jd2::ScreeningJobInputter::fill_jobs(), protocols::jd2::SerializedPoseJobInputter::fill_jobs(), protocols::jd2::EmptyPoseJobInputter::fill_jobs(), protocols::comparative_modeling::GenericJobInputter::fill_jobs(), protocols::jd2::LargeNstructJobInputter::fill_jobs(), protocols::comparative_modeling::ThreadingJobInputter::fill_jobs(), protocols::features::DatabaseJobInputter::fill_jobs(), and protocols::jd2::LargeNstructJobInputter::update_jobs_list().
|
inline |
Get self const owning pointers.
Referenced by protocols::jd2::LargeNstructJobInputter::fill_jobs().
|
inline |
Get self owning pointers.
|
inline |
Get self const weak pointers.
|
inline |
Get self weak pointers.
|
pure virtual |
return the type of input source that the JobInputter is currently using
Implemented in protocols::features::DatabaseJobInputter, protocols::jd2::BatchJobInputter, protocols::jd2::SilentFileJobInputter, protocols::jd2::LargeNstructJobInputter, protocols::comparative_modeling::ThreadingJobInputter, protocols::jd2::AtomTreeDiffJobInputter, protocols::comparative_modeling::GenericJobInputter, protocols::jd2::EmptyPoseJobInputter, protocols::jd2::PDBJobInputter, protocols::make_rot_lib::MakeRotLibJobInputter, protocols::jd2::SerializedPoseJobInputter, protocols::jd2::PoseInputStreamJobInputter, protocols::jd2::ScreeningJobInputter, and protocols::jd2::LazySilentFileJobInputter.
|
static |
call this with input_source() to get the input source of a particular job inputter
References protocols::jd2::JobInputterInputSource::ATOM_TREE_FILE, protocols::jd2::JobInputterInputSource::DATABASE, protocols::jd2::JobInputterInputSource::MAKE_ROT_LIB, protocols::jd2::JobInputterInputSource::NONE, protocols::jd2::JobInputterInputSource::PDB_FILE, protocols::jd2::JobInputterInputSource::POSE, protocols::jd2::JobInputterInputSource::RESOURCE_MANAGED_JOB, protocols::jd2::JobInputterInputSource::SCREENING_FILE, protocols::jd2::JobInputterInputSource::SERIALIZED_POSE_FILE, protocols::jd2::JobInputterInputSource::SILENT_FILE, and protocols::jd2::JobInputterInputSource::UNKNOWN.
Referenced by protocols::jd2::JobDistributor::get_job_list_from_job_inputter(), and protocols::jd2::JobDistributor::init_jd().
|
protected |
this function modifies the InnerJob's pose. Access to that pose is via friendship.
this code is here to restrict the use of inner_job_nonconst (this class is a friend class and can do it)
Referenced by protocols::jd2::ScreeningJobInputter::pose_from_job(), protocols::jd2::SerializedPoseJobInputter::pose_from_job(), protocols::make_rot_lib::MakeRotLibJobInputter::pose_from_job(), and protocols::enzdes::EnzdesJobInputter::pose_from_job().
|
protected |
this function modifies the InnerJob's pose. Access to that pose is via friendship.
this code is here to restrict the use of inner_job_nonconst (this class is a friend class and can do it)
|
pure virtual |
this function is responsible for returning the starting pose to use for the input job. The Job object (within its InnerJob) contains a PoseCOP. This function needs to either create a new Pose from the InnerJob Pose or, on first demand of a pose from that InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill the reference.
Implemented in protocols::features::DatabaseJobInputter, protocols::comparative_modeling::ThreadingJobInputter, protocols::jd2::AtomTreeDiffJobInputter, protocols::jd2::BatchJobInputter, protocols::jd2::SilentFileJobInputter, protocols::enzdes::EnzdesJobInputter, protocols::jd2::LargeNstructJobInputter, protocols::comparative_modeling::GenericJobInputter, protocols::jd2::EmptyPoseJobInputter, protocols::make_rot_lib::MakeRotLibJobInputter, protocols::jd2::PDBJobInputter, protocols::protein_interface_design::ParserJobInputter, protocols::jd2::SerializedPoseJobInputter, protocols::jd2::PoseInputStreamJobInputter, protocols::jd2::ScreeningJobInputter, and protocols::jd2::LazySilentFileJobInputter.
|
virtual |
This function is only called by certain JobInputters to update the jobs list after it has already been created.
An example case would be the LargeNstructJobInputter, which uses this function to load additional jobs after the first N have started to come back.
Reimplemented in protocols::jd2::LargeNstructJobInputter.
|
inlinevirtual |
Does this type of JobInputter update the jobs list?
False by default. Override this function in derived classes to make it true.
Reimplemented in protocols::jd2::LargeNstructJobInputter.