Rosetta 3.4
Public Types | Public Member Functions | Static Public Member Functions
protocols::jd2::JobOutputterFactory Class Reference

#include <JobOutputterFactory.hh>

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

List of all members.

Public Types

typedef std::map< std::string,
JobOutputterCreatorOP
JobOutputterMap

Public Member Functions

virtual ~JobOutputterFactory ()
void factory_register (JobOutputterCreatorOP creator)
 add a JobOutputter prototype, using its default type name as the map key
JobOutputterOP get_new_JobOutputter ()
 return JobOutputter defined by output parameters (contained in option system and #defines for MPI, etc)
JobOutputterOP get_new_JobOutputter (JobOutputterOP default_jobout)
 return JobOutputter defined by output parameters (contained in option system and #defines for MPI, etc). The difference is that if the option system, etc, says nothing about output (which as of this writing defaults to PDBJobOutputter), this function leaves the input Outputter unchanged. This allows overriding the default outputter choice in your executable (without abusing the mutability of the options system)

Static Public Member Functions

static JobOutputterFactoryget_instance ()

Member Typedef Documentation


Constructor & Destructor Documentation

protocols::jd2::JobOutputterFactory::~JobOutputterFactory ( ) [virtual]

Member Function Documentation

void protocols::jd2::JobOutputterFactory::factory_register ( JobOutputterCreatorOP  creator)

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

JobOutputterFactory * protocols::jd2::JobOutputterFactory::get_instance ( ) [static]
JobOutputterOP protocols::jd2::JobOutputterFactory::get_new_JobOutputter ( )

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

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

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

JobOutputterOP protocols::jd2::JobOutputterFactory::get_new_JobOutputter ( JobOutputterOP  default_jobout)

return JobOutputter defined by output parameters (contained in option system and #defines for MPI, etc). The difference is that if the option system, etc, says nothing about output (which as of this writing defaults to PDBJobOutputter), this function leaves the input Outputter unchanged. This allows overriding the default outputter choice in your executable (without abusing the mutability of the options system)


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines