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

#include <BatchJobInputter.hh>

Inheritance diagram for protocols::jd2::BatchJobInputter:
Inheritance graph
[legend]
Collaboration diagram for protocols::jd2::BatchJobInputter:
Collaboration graph
[legend]

Public Member Functions

 BatchJobInputter (std::string batch)
 
virtual ~BatchJobInputter ()
 
virtual void pose_from_job (core::pose::Pose &pose, JobOP job)
 this function is responsible for filling the pose reference with the pose indicated by the job. The Job object (within its InnerJob) contains a PoseCOP. This function needs to either fill the pose reference from the InnerJob or, on first demand of a pose from that InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill the reference. This implementation uses pose_from_pdb More...
 
virtual void fill_jobs (Jobs &jobs)
 this function determines what jobs exist from -in::file::silent and -in::file::tags. More...
 
virtual
JobInputterInputSource::Enum 
input_source () const
 Return the type of input source that the BatchJobInputter is currently using. More...
 
- Public Member Functions inherited from protocols::jd2::JobInputter
virtual ~JobInputter ()
 

Static Public Attributes

static std::string const BOGUS_BATCH_ID
 

Private Member Functions

void read_batch ()
 
void check_batch ()
 

Private Attributes

std::string current_batch_
 
JobInputterOP this_batch_job_inputter_
 
utility::options::OptionCollection
const 
vanilla_options_
 

Additional Inherited Members

- Static Public Member Functions inherited from protocols::jd2::JobInputter
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 inherited from protocols::jd2::JobInputter
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...
 

Detailed Description

This is the simplest implementation of JobInputter, which reads from -s/-l and Batch files.

Constructor & Destructor Documentation

protocols::jd2::BatchJobInputter::BatchJobInputter ( std::string  batch)
protocols::jd2::BatchJobInputter::~BatchJobInputter ( )
virtual

References vanilla_options_.

Member Function Documentation

void protocols::jd2::BatchJobInputter::check_batch ( )
private
virtual void protocols::jd2::BatchJobInputter::fill_jobs ( Jobs jobs)
inlinevirtual

this function determines what jobs exist from -in::file::silent and -in::file::tags.

Implements protocols::jd2::JobInputter.

References check_batch(), and this_batch_job_inputter_.

JobInputterInputSource::Enum protocols::jd2::BatchJobInputter::input_source ( ) const
virtual

Return the type of input source that the BatchJobInputter is currently using.

Returns
The input source for the current batch.

Implements protocols::jd2::JobInputter.

References this_batch_job_inputter_.

virtual void protocols::jd2::BatchJobInputter::pose_from_job ( core::pose::Pose pose,
JobOP  job 
)
inlinevirtual

this function is responsible for filling the pose reference with the pose indicated by the job. The Job object (within its InnerJob) contains a PoseCOP. This function needs to either fill the pose reference from the InnerJob or, on first demand of a pose from that InnerJob, instantiate the pose, hand off a COP to the InnerJob, and fill the reference. This implementation uses pose_from_pdb

Implements protocols::jd2::JobInputter.

References check_batch(), and this_batch_job_inputter_.

void protocols::jd2::BatchJobInputter::read_batch ( )
private

Member Data Documentation

std::string const protocols::jd2::BatchJobInputter::BOGUS_BATCH_ID
static
std::string protocols::jd2::BatchJobInputter::current_batch_
private
JobInputterOP protocols::jd2::BatchJobInputter::this_batch_job_inputter_
private
utility::options::OptionCollection const protocols::jd2::BatchJobInputter::vanilla_options_
private

Referenced by read_batch(), and ~BatchJobInputter().


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