Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
The base class for generating blast tools. More...
#include <blast_tool_factory.hpp>
Public Member Functions | |
BlastToolFactory (const json_t *service_config_p) | |
The BlastToolFactory constructor. More... | |
virtual | ~BlastToolFactory () |
The BlastToolFactory destructor. More... | |
virtual const char * | GetName ()=0 |
Get an identifying name for this BlastToolFactory. More... | |
virtual BlastTool * | CreateBlastTool (BlastServiceJob *job_p, const char *name_s, const BlastServiceData *data_p)=0 |
Create a BlastTool. More... | |
virtual BlastTool * | CreateBlastTool (const json_t *json_p, BlastServiceJob *blast_job_p, BlastServiceData *service_data_p)=0 |
Create a BlastTool from serialised JSON. More... | |
virtual Synchronicity | GetToolsSynchronicity () const =0 |
Are the BlastTools that this BlastToolFactory create able to run asynchronously? More... | |
Static Public Member Functions | |
static BlastToolFactory * | GetBlastToolFactory (const json_t *service_config_p) |
Get the BlastToolFactory to use. More... | |
Protected Attributes | |
const json_t * | btf_service_config_p |
The JSON fragment containing the configuration data for this BlastToolFactory. More... | |
The base class for generating blast tools.
BlastToolFactory | ( | const json_t * | service_config_p | ) |
The BlastToolFactory constructor.
service_config_p | The JSON fragment containing the configuration data for this BlastToolFactory. |
|
virtual |
The BlastToolFactory destructor.
|
static |
Get the BlastToolFactory to use.
service_config_p | The configuration for the Blast service from the global server configuration. |
|
pure virtual |
Get an identifying name for this BlastToolFactory.
Implemented in DrmaaBlastToolFactory, and SystemBlastToolFactory.
|
pure virtual |
Create a BlastTool.
job_p | The ServiceJob to associate with the newly generated BlastTool. |
name_s | The name to give to the new BlastTool. |
data_p | The BlastServiceData for the Service that will use this BlastTool. |
Implemented in DrmaaBlastToolFactory, and SystemBlastToolFactory.
|
pure virtual |
Create a BlastTool from serialised JSON.
json_p | The ServiceJob to associate with the newly generated BlastTool. |
blast_job_p | The BlastServiceJob to be associated with the generated BlastTool. |
service_data_p | The BlastServiceData for the Service that will use this BlastTool. |
Implemented in DrmaaBlastToolFactory, and SystemBlastToolFactory.
|
pure virtual |
Are the BlastTools that this BlastToolFactory create able to run asynchronously?
true
if the BlastTools are able to run asynchronously, false
otherwise. Implemented in DrmaaBlastToolFactory, and SystemBlastToolFactory.
|
protected |
The JSON fragment containing the configuration data for this BlastToolFactory.