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

#include <JobInputterFactory.hh>

Collaboration diagram for protocols::jd2::JobInputterFactory:
Collaboration graph

Public Types

typedef std::map< std::string,

Public Member Functions

virtual ~JobInputterFactory ()
void factory_register (JobInputterCreatorOP creator)
 add a JobInputter prototype, using its default type name as the map key More...
JobInputterOP get_new_JobInputter ()
 return JobInputter defined by input parameters (contained in option system and #defines for MPI, etc) More...

Static Public Member Functions

static JobInputterFactoryget_instance ()

Private Member Functions

JobInputterOP get_JobInputter_from_string (std::string const &job_inputter_type)
 JobInputterFactory ()
 JobInputterFactory (JobInputterFactory const &)
JobInputterFactory const & operator= (JobInputterFactory const &)

Private Attributes

JobInputterMap job_inputter_creator_map_

Static Private Attributes

static JobInputterFactoryinstance_

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::jd2::JobInputterFactory::~JobInputterFactory ( )
protocols::jd2::JobInputterFactory::JobInputterFactory ( )

Referenced by get_instance().

protocols::jd2::JobInputterFactory::JobInputterFactory ( JobInputterFactory const &  )

Member Function Documentation

void protocols::jd2::JobInputterFactory::factory_register ( JobInputterCreatorOP  creator)

add a JobInputter prototype, using its default type name as the map key

References job_inputter_creator_map_.

JobInputterFactory * protocols::jd2::JobInputterFactory::get_instance ( )
JobInputterOP protocols::jd2::JobInputterFactory::get_JobInputter_from_string ( std::string const &  job_inputter_type)

return new JobInputter by key lookup in map

References job_inputter_creator_map_, and protocols::jd2::TR().

Referenced by get_new_JobInputter().

JobInputterOP protocols::jd2::JobInputterFactory::get_new_JobInputter ( )

return JobInputter defined by input parameters (contained in option system and #defines for MPI, etc)

return new JobInputter from logic of option system plus compilation options. All the logic for determining job input type lives here.

References get_JobInputter_from_string().

Referenced by protocols::jd2::JobDistributorFactory::create_job_inputter().

JobInputterFactory const& protocols::jd2::JobInputterFactory::operator= ( JobInputterFactory const &  )

Member Data Documentation

JobInputterFactory * protocols::jd2::JobInputterFactory::instance_

Referenced by get_instance().

JobInputterMap protocols::jd2::JobInputterFactory::job_inputter_creator_map_

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