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.
|
Go to the documentation of this file.
23 #ifndef SERVICES_DFW_FIELD_TRIAL_SERVICE_INCLUDE_TREATMENT_JOBS_H_
24 #define SERVICES_DFW_FIELD_TRIAL_SERVICE_INCLUDE_TREATMENT_JOBS_H_
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 #ifdef ALLOCATE_MEASURED_VARIABLE_CONSTANTS
37 #define MEASURED_VARIABLE_JOB_PREFIX DFW_FIELD_TRIAL_SERVICE_API
38 #define MEASURED_VARIABLE_JOB_STRUCT_VAL(x,y) = { x, y}
40 #define MEASURED_VARIABLE_JOB_PREFIX extern
41 #define MEASURED_VARIABLE_JOB_STRUCT_VAL(x,y)
MEM_FLAG
An enum specifying the particular status of a piece of dynamically allocated memory for a particular ...
Definition: memory_allocations.h:38
json_t * GetAllMeasuredVariablesAsJSON(const FieldTrialServiceData *data_p, bson_t *opts_p)
This is a datatype that stores a read-only c-style string along with a ParameterType.
Definition: parameter.h:85
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
A datatype to represent a running task.
Definition: service_job.h:72
json_t * GetMeasuredVariableIndexingData(Service *service_p)
void FreeMeasuredVariablesNameKey(char *key_s)
A c-style string.
Definition: parameter_type.h:58
bool GetSubmissionMeasuredVariableParameterTypeForNamedParameter(const char *param_name_s, ParameterType *pt_p)
bool AddSubmissionMeasuredVariableParams(ServiceData *data_p, ParameterSet *param_set_p)
#define DFW_FIELD_TRIAL_SERVICE_LOCAL
Definition: dfw_field_trial_service_library.h:43
Definition: measured_variable.h:39
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
bool RunForSubmissionMeasuredVariableParams(FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
int CheckMeasuredVariable(MeasuredVariable *treatment_p, const FieldTrialServiceData *data_p)
char * GetMeasuredVariablesNameKey(void)
bool AddMeasuredVariableToServiceJob(ServiceJob *job_p, MeasuredVariable *treatment_p, const ViewFormat format, FieldTrialServiceData *data_p)
MeasuredVariable * GetMeasuredVariableByVariableName(const char *name_s, MEM_FLAG *mv_mem_p, FieldTrialServiceData *data_p)
A datatype for holding the configuration data for a Service.
Definition: service.h:126
char * GetMeasuredVariableAsString(const MeasuredVariable *treatment_p)
The configuration data used by the DFW Field Trial Service.
Definition: dfw_field_trial_service_data.h:118
MEASURED_VARIABLE_JOB_PREFIX NamedParameterType MV_TRAIT_ID MEASURED_VARIABLE_JOB_STRUCT_VAL("TR Trait Id", PT_STRING)
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46