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.
28 #ifndef SERVER_SRC_SERVICES_LIB_INCLUDE_MAPPED_PARAMETER_H_
29 #define SERVER_SRC_SERVICES_LIB_INCLUDE_MAPPED_PARAMETER_H_
This datatype allows the storage of MappedParameters on a LinkedList.
Definition: mapped_parameter.h:92
bool mp_required_flag
Is this MappedParameter required for the LinkedService to run?
Definition: mapped_parameter.h:75
A datatype to represent a running task.
Definition: service_job.h:72
#define GRASSROOTS_SERVICE_API
Definition: grassroots_service_library.h:49
bool SetMappedStringParameterValue(MappedParameter *mapped_param_p, ParameterSet *params_p, const char *param_name_s)
Set a Parameter value within a given ParameterSet by a MappedParameter's defintion.
void FreeMappedParameter(MappedParameter *mapped_param_p)
Free a MappedParameter.
MappedParameter * AllocateMappedParameter(const char *input_s, const char *output_s, bool required_flag, bool multi_flag)
Allocate a MappedParameter for the given Parameter names.
ListItem mpn_node
The base node.
Definition: mapped_parameter.h:95
bool mp_multiple_flag
Can there be multiple input values?
Definition: mapped_parameter.h:81
void FreeMappedParameterNode(ListItem *node_p)
Free a MappedParameterNode and its associated MappedParameter.
MappedParameterNode * AllocateMappedParameterNode(MappedParameter *mapped_param_p)
Allocate a MappedParameterNode to store a MappedParameter on a LinkedList.
char * mp_output_param_s
This is name of the parameter in the second service.
Definition: mapped_parameter.h:69
This structure is used to store a relationship between a value from the output of running one service...
Definition: mapped_parameter.h:52
MappedParameter * mpn_mapped_param_p
A pointer to the MappedParameter to store.
Definition: mapped_parameter.h:98
MappedParameter * CreateMappedParameterFromJSON(const json_t *mapped_param_json_p)
Create a new MappedParameter from a JSON fragment.
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46
A doubly-linked node that points to its predecessor and successor.
Definition: linked_list.h:43
char * mp_input_param_s
This is the selector to get the value from the first service's output.
Definition: mapped_parameter.h:59