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.
paired_blast_service.h
Go to the documentation of this file.
1 /*
2 ** Copyright 2014-2016 The Earlham Institute
3 **
4 ** Licensed under the Apache License, Version 2.0 (the "License");
5 ** you may not use this file except in compliance with the License.
6 ** You may obtain a copy of the License at
7 **
8 ** http://www.apache.org/licenses/LICENSE-2.0
9 **
10 ** Unless required by applicable law or agreed to in writing, software
11 ** distributed under the License is distributed on an "AS IS" BASIS,
12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ** See the License for the specific language governing permissions and
14 ** limitations under the License.
15 */
16 
22 /*
23  * paired_blast_service.h
24  *
25  * Created on: 9 Feb 2016
26  * Author: billy
27  */
28 
29 #ifndef SERVICES_BLAST_INCLUDE_PAIRED_BLAST_SERVICE_H_
30 #define SERVICES_BLAST_INCLUDE_PAIRED_BLAST_SERVICE_H_
31 
32 #include "blast_service.h"
33 #include "blast_service_api.h"
34 #include "service.h"
35 #include "paired_service.h"
36 #include "providers_state_table.h"
37 #include "remote_service_job.h"
38 
39 
40 #ifdef __cplusplus
41 extern "C"
42 {
43 #endif
44 
45 
55 BLAST_SERVICE_LOCAL bool AddPairedServiceParameters (Service *service_p, ParameterSet *internal_params_p);
56 
57 
58 BLAST_SERVICE_LOCAL bool GetPairedServiceParameterTypeForNamedParameter (const Service *service_p, const char *param_name_s, ParameterType *pt_p);
59 
60 
70 BLAST_SERVICE_LOCAL char *GetPreviousRemoteBlastServiceJob (const char *local_job_id_s, const uint32 output_format_code, const BlastServiceData *blast_data_p);
71 
72 
83 
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 
90 
91 
92 
93 #endif /* SERVICES_BLAST_INCLUDE_PAIRED_BLAST_SERVICE_H_ */
RemoteServiceJob
A datatype describing a ServiceJob that is run on a remote Grassroots Server.
Definition: remote_service_job.h:65
ParameterType
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
service.h
BlastServiceData
The configuration data for the Blast Service.
Definition: blast_service.h:143
providers_state_table.h
paired_service.h
blast_service_api.h
Service
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
GetPairedServiceParameterTypeForNamedParameter
bool GetPairedServiceParameterTypeForNamedParameter(const Service *service_p, const char *param_name_s, ParameterType *pt_p)
BLAST_SERVICE_LOCAL
#define BLAST_SERVICE_LOCAL
Definition: blast_service_api.h:48
AddPairedServiceParameters
bool AddPairedServiceParameters(Service *service_p, ParameterSet *internal_params_p)
Add the parameters for all PairedServices of a given Service to given ParameterSet.
remote_service_job.h
GetPreviousRemoteBlastServiceJob
char * GetPreviousRemoteBlastServiceJob(const char *local_job_id_s, const uint32 output_format_code, const BlastServiceData *blast_data_p)
Try to get the results of a previously run BlastServiceJob on a remote server.
blast_service.h
SaveRemoteBlastJobDetails
bool SaveRemoteBlastJobDetails(RemoteServiceJob *job_p, const ServiceData *blast_data_p)
Save the results of a RemoteServiceJob to a local file for ease of access.
ServiceData
A datatype for holding the configuration data for a Service.
Definition: service.h:126
ParameterSet
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46