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.
material_jobs.h
Go to the documentation of this file.
1 /*
2 ** Copyright 2014-2018 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 /*
17  * material_jobs.h
18  *
19  * Created on: 23 Oct 2018
20  * Author: billy
21  */
22 
23 #ifndef SERVICES_FIELD_TRIALS_INCLUDE_MATERIAL_JOBS_H_
24 #define SERVICES_FIELD_TRIALS_INCLUDE_MATERIAL_JOBS_H_
25 
28 
29 #include "material.h"
30 
31 #ifdef __cplusplus
32 extern "C"
33 {
34 #endif
35 
36 
37 
39 
40 
42 
43 
45 
46 
47 
49 
50 
52 
53 
55 
56 
58 
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 
65 #endif /* SERVICES_FIELD_TRIALS_INCLUDE_MATERIAL_JOBS_H_ */
GetSubmissionMaterialParameterTypeForNamedParameter
bool GetSubmissionMaterialParameterTypeForNamedParameter(const char *param_name_s, ParameterType *pt_p)
ParameterType
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
ServiceJob
A datatype to represent a running task.
Definition: service_job.h:72
AddSubmissionMaterialParams
bool AddSubmissionMaterialParams(ServiceData *data_p, ParameterSet *param_set_p)
AddSearchMaterialParams
bool AddSearchMaterialParams(ServiceData *data_p, ParameterSet *param_set_p)
Material
Definition: material.h:121
dfw_field_trial_service_library.h
DFW_FIELD_TRIAL_SERVICE_LOCAL
#define DFW_FIELD_TRIAL_SERVICE_LOCAL
Definition: dfw_field_trial_service_library.h:43
GetSearchMaterialParameterTypeForNamedParameter
bool GetSearchMaterialParameterTypeForNamedParameter(const char *param_name_s, ParameterType *pt_p)
material.h
RunForSubmissionMaterialParams
bool RunForSubmissionMaterialParams(FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
OperationStatus
OperationStatus
The current status of an Operation.
Definition: operation.h:96
RunForSearchMaterialParams
bool RunForSearchMaterialParams(FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
dfw_field_trial_service_data.h
ServiceData
A datatype for holding the configuration data for a Service.
Definition: service.h:126
GetAllStudiesContainingMaterial
OperationStatus GetAllStudiesContainingMaterial(Material *material_p, ServiceJob *job_p, const ViewFormat format, FieldTrialServiceData *data_p)
FieldTrialServiceData
The configuration data used by the DFW Field Trial Service.
Definition: dfw_field_trial_service_data.h:118
ViewFormat
ViewFormat
An indicator of what the output destination is for the JSON data values.
Definition: view_format.h:19
ParameterSet
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46