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_DOUBLE_PARAMETER_H_
24 #define CORE_SHARED_PARAMETERS_INCLUDE_DOUBLE_PARAMETER_H_
139 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
140 const double64 *default_value_p, uint8 level);
164 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
165 const double64 *default_value_p,
const double64 *current_value_p, uint8 level);
The datatype that stores all of the information about a Parameter.
Definition: parameter.h:121
A datatype to tell the system that certain parameters should be grouped together in the client's user...
Definition: parameter_group.h:85
bool SetDoubleParameterBounds(DoubleParameter *param_p, const double64 *min_value_p, const double64 *max_value_p)
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
Definition: double_parameter.h:35
#define GRASSROOTS_SERVICE_API
Definition: grassroots_service_library.h:49
Parameter * CreateAndAddDoubleParameterToParameterSet(const struct ServiceData *service_data_p, ParameterSet *params_p, ParameterGroup *group_p, const ParameterType pt, const char *const name_s, const char *const display_name_s, const char *const description_s, const double64 *default_value_p, const double64 *current_value_p, uint8 level)
Allocate a new Parameter and add it to a ParameterSet.
ListItem dpon_node
Definition: double_parameter.h:63
double64 * dp_max_value_p
Definition: double_parameter.h:45
DoubleParameter * AllocateDoubleParameter(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, const double64 *default_value_p, const double64 *current_value_p, ParameterLevel level)
Allocate a DoubleParameter.
const double64 * GetDoubleParameterCurrentValue(const DoubleParameter *param_p)
double64 * dp_current_value_p
Definition: double_parameter.h:39
double64 dpo_value
The internal value for this option.
Definition: double_parameter.h:53
double64 * dp_min_value_p
Definition: double_parameter.h:43
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
bool GetCurrentDoubleParameterValueFromParameterSet(const ParameterSet *const params_p, const char *const name_s, const double64 **value_pp)
double64 * dp_default_value_p
Definition: double_parameter.h:41
bool SetDoubleParameterCurrentValueFromJSON(DoubleParameter *param_p, const json_t *value_p)
bool SetDoubleParameterDefaultValue(DoubleParameter *param_p, const double64 *value_p)
ParameterLevel
The ParameterLevel defines the level that a user should be to adjust the Parameter.
Definition: parameter.h:52
char * dpo_description_s
The user-friendly description for this value.
Definition: double_parameter.h:56
bool GetDoubleParameterBounds(const DoubleParameter *param_p, double64 *min_value_p, double64 *max_value_p)
Definition: double_parameter.h:61
DoubleParameter * AllocateDoubleParameterFromJSON(const json_t *param_json_p, const struct Service *service_p, const bool concise_flag)
DoubleParameterOption * dpon_option_p
Definition: double_parameter.h:65
bool IsDoubleParameter(const Parameter *param_p)
Definition: double_parameter.h:50
bool SetDoubleParameterCurrentValue(DoubleParameter *param_p, const double64 *value_p)
Parameter dp_base_param
Definition: double_parameter.h:37
bool SetDoubleParameterMinimumValue(DoubleParameter *param_p, const double64 *min_value_p)
A datatype for holding the configuration data for a Service.
Definition: service.h:126
void FreeDoubleParameter(DoubleParameter *param_p)
const double64 * GetDoubleParameterDefaultValue(const DoubleParameter *param_p)
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46
Parameter * EasyCreateAndAddDoubleParameterToParameterSet(const struct ServiceData *service_data_p, ParameterSet *params_p, ParameterGroup *group_p, const ParameterType pt, const char *const name_s, const char *const display_name_s, const char *const description_s, const double64 *default_value_p, uint8 level)
Allocate a new Parameter and add it to a ParameterSet.
bool SetDoubleParameterMaximumValue(DoubleParameter *param_p, const double64 *max_value_p)
A doubly-linked node that points to its predecessor and successor.
Definition: linked_list.h:43