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 CORE_SHARED_PARAMETERS_INCLUDE_RESOURCE_PARAMETER_H_
24 #define CORE_SHARED_PARAMETERS_INCLUDE_RESOURCE_PARAMETER_H_
The datatype that stores all of the information about a Parameter.
Definition: parameter.h:121
void FreeResourceParameter(ResourceParameter *param_p)
DataResource * rp_default_value_p
Definition: resource_parameter.h:37
bool SetResourceParameterDefaultValue(ResourceParameter *param_p, const DataResource *value_p)
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
const DataResource * GetResourceParameterDefaultValue(const ResourceParameter *param_p)
#define GRASSROOTS_SERVICE_API
Definition: grassroots_service_library.h:49
A datatype representing a URI.
Definition: data_resource.h:40
bool SetResourceParameterCurrentValue(ResourceParameter *param_p, const DataResource *value_p)
Parameter rp_base_param
Definition: resource_parameter.h:33
bool IsResourceParameter(const Parameter *param_p)
ResourceParameter * AllocateResourceParameter(const struct ServiceData *service_data_p, const ParameterType pt, const char *const name_s, const char *const display_name_s, const char *const description_s, DataResource *default_value_p, DataResource *current_value_p, ParameterLevel level)
Allocate a ResourceParameter.
Definition: resource_parameter.h:31
bool SetResourceParameterCurrentValueFromJSON(ResourceParameter *param_p, const json_t *value_p)
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
ParameterLevel
The ParameterLevel defines the level that a user should be to adjust the Parameter.
Definition: parameter.h:52
DataResource * rp_current_value_p
Definition: resource_parameter.h:35
bool GetCurrentResourceParameterValueFromParameterSet(const ParameterSet *const params_p, const char *const name_s, const DataResource **value_pp)
const DataResource * GetResourceParameterCurrentValue(const ResourceParameter *param_p)
A datatype for holding the configuration data for a Service.
Definition: service.h:126
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46
ResourceParameter * AllocateResourceParameterFromJSON(const json_t *param_json_p, const struct Service *service_p, const bool concise_flag)