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

#include <MultiThreadingJob.hh>

Inheritance diagram for protocols::jd2::MultiThreadingJob:
Inheritance graph
[legend]

Public Member Functions

InnerMultiThreadingJobOP multi_threading_inner_job ()
 
 ~MultiThreadingJob () override
 
- Public Member Functions inherited from protocols::jd2::Job
 Job (InnerJobOP inner_job, core::Size nstruct_index)
 
 Job (Job const &src)
 Copy constructor. More...
 
JobOP copy_without_output () const
 returns a copy of this object whose "output fields" are zeroed out. Used by the JobDistributor in cases where the job fails and must be retried to prevent accumulation of Job state after a failure. This implementation was chosen over a clear_all_output function to prevent mover A from deleting mover B's hard work! You probably should not be trying to call this function. The exception: If you want an intermediate-output pose (not the final pose) to not have the aggregated accessory data in the "real" Job object. More...
 
JobOP clone () const
 Return an owning pointer to a copy of this object. More...
 
 ~Job () override
 
virtual void show (std::ostream &out) const
 
InnerJobCOP inner_job () const
 access to inner-job ... use is discouraged - use sparingly! — DO NOT use my_job->inner_job()->get_pose() INSTEAD use my_job->get_pose() More...
 
std::string const & input_tag () const
 return the input tag (a short string, generally) More...
 
InnerJobOP inner_job_nonconst ()
 nonconst access is intended only for the JobInputter to load poses into the InnerJob, and the Parser to add constraints, and the JobDistributor to delete completed inputs (recycle memory) More...
 
core::pose::PoseCOP get_pose () const
 get_pose : will return More...
 
void get_pose (core::pose::Pose &) const
 in-place copy of input pose More...
 
core::Size nstruct_index () const
 
core::Size nstruct_max () const
 
void add_string (std::string const &string_in)
 add an output string More...
 
void add_strings (Strings const &)
 add output strings More...
 
void add_string_string_pair (std::string const &string1, std::string const &string2)
 add a string/string pair More...
 
void add_string_real_pair (std::string const &string_in, core::Real const real_in)
 add a string/real pair More...
 
void clear_output ()
 Delete the output strings, string/string pairs, and string/real pairs. More...
 
Stringsget_strings ()
 
StringStringPairsget_string_string_pairs ()
 
StringRealPairsget_string_real_pairs ()
 
Strings::const_iterator output_strings_begin () const
 
Strings::const_iterator output_strings_end () const
 
StringStringPairs::const_iterator output_string_string_pairs_begin () const
 
StringStringPairs::const_iterator output_string_string_pairs_end () const
 
StringRealPairs::const_iterator output_string_real_pairs_begin () const
 
StringRealPairs::const_iterator output_string_real_pairs_end () const
 
Strings get_strings () const
 
StringStringPairs get_string_string_pairs () const
 
StringRealPairs get_string_real_pairs () const
 
void set_status_prefix (std::string prefix)
 
std::string const & status_prefix () const
 
bool completed () const
 
bool to_do () const
 
bool can_be_deleted () const
 Returns true iff this job can be deleted to free up memory. More...
 
bool bad () const
 
core::Size start_time () const
 
core::Size end_time () const
 
core::Size elapsed_time () const
 
std::string timestamp () const
 
void set_completed (bool value=true)
 
void set_can_be_deleted (bool value=true)
 Set whether this job can be deleted to free up memory. More...
 
void set_bad (bool value=true)
 
void start_timing ()
 
void end_timing ()
 
void add_output_observer (JobOutputterObserverAP an_observer)
 
void remove_output_observer (JobOutputterObserverAP old_observer)
 
void call_output_observers (core::pose::Pose const &pose)
 

Private Member Functions

 MultiThreadingJob (InnerMultiThreadingJobOP inner_job, core::Size nstruct_index)
 

Private Attributes

InnerMultiThreadingJobOP inner_job_
 

Additional Inherited Members

- Public Types inherited from protocols::jd2::Job
typedef std::list< std::string > Strings
 TODO these should be maps rather than lists. More...
 
typedef std::map< std::string,
std::string > 
StringStringPairs
 
typedef std::map< std::string,
core::Real
StringRealPairs
 

Constructor & Destructor Documentation

protocols::jd2::MultiThreadingJob::MultiThreadingJob ( InnerMultiThreadingJobOP  inner_job,
core::Size  nstruct_index 
)
private
protocols::jd2::MultiThreadingJob::~MultiThreadingJob ( )
overridedefault

Member Function Documentation

InnerMultiThreadingJobOP protocols::jd2::MultiThreadingJob::multi_threading_inner_job ( )

References inner_job_.

Member Data Documentation

InnerMultiThreadingJobOP protocols::jd2::MultiThreadingJob::inner_job_
private

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