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_BOOLEAN_PARAMETER_H_
24 #define CORE_SHARED_PARAMETERS_INCLUDE_BOOLEAN_PARAMETER_H_
74 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
75 const bool *default_value_p, uint8 level);
80 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
81 const bool *default_value_p,
const bool *current_value_p, uint8 level);
The datatype that stores all of the information about a Parameter.
Definition: parameter.h:121
Parameter * EasyCreateAndAddBooleanParameterToParameterSet(const struct ServiceData *service_data_p, ParameterSet *params_p, ParameterGroup *group_p, const char *const name_s, const char *const display_name_s, const char *const description_s, const bool *default_value_p, uint8 level)
A datatype to tell the system that certain parameters should be grouped together in the client's user...
Definition: parameter_group.h:85
Parameter bp_base_param
Definition: boolean_parameter.h:36
#define GRASSROOTS_SERVICE_API
Definition: grassroots_service_library.h:49
bool IsBooleanParameter(const Parameter *param_p)
BooleanParameter * AllocateBooleanParameter(const struct ServiceData *service_data_p, const char *const name_s, const char *const display_name_s, const char *const description_s, const bool *default_value_p, const bool *current_value_p, ParameterLevel level)
Allocate a BooleanParameter.
void FreeBooleanParameter(BooleanParameter *param_p)
bool * bp_current_value_p
Definition: boolean_parameter.h:38
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
bool * bp_default_value_p
Definition: boolean_parameter.h:40
Definition: boolean_parameter.h:34
ParameterLevel
The ParameterLevel defines the level that a user should be to adjust the Parameter.
Definition: parameter.h:52
bool GetCurrentBooleanParameterValueFromParameterSet(const ParameterSet *const params_p, const char *const name_s, const bool **value_pp)
bool SetBooleanParameterCurrentValueFromJSON(BooleanParameter *param_p, const json_t *value_p)
bool SetBooleanParameterDefaultValue(BooleanParameter *param_p, const bool *value_p)
BooleanParameter * AllocateBooleanParameterFromJSON(const json_t *param_json_p, const struct Service *service_p, const bool concise_flag)
Parameter * CreateAndAddBooleanParameterToParameterSet(const struct ServiceData *service_data_p, ParameterSet *params_p, ParameterGroup *group_p, const char *const name_s, const char *const display_name_s, const char *const description_s, const bool *default_value_p, const bool *current_value_p, uint8 level)
const bool * GetBooleanParameterDefaultValue(const BooleanParameter *param_p)
bool SetBooleanParameterCurrentValue(BooleanParameter *param_p, const bool *value_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
const bool * GetBooleanParameterCurrentValue(const BooleanParameter *param_p)