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_UNSIGNED_INT_PARAMETER_H_
24 #define CORE_SHARED_PARAMETERS_INCLUDE_UNSIGNED_INT_PARAMETER_H_
100 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
101 const uint32 *default_value_p, uint8 level);
106 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
107 const uint32 *default_value_p,
const uint32 *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
Definition: unsigned_int_parameter.h:33
const uint32 * GetUnsignedIntParameterDefaultValue(const UnsignedIntParameter *param_p)
#define GRASSROOTS_SERVICE_API
Definition: grassroots_service_library.h:49
Parameter uip_base_param
Definition: unsigned_int_parameter.h:35
Parameter * CreateAndAddUnsignedIntParameterToParameterSet(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 uint32 *default_value_p, const uint32 *current_value_p, uint8 level)
bool IsUnsignedIntParameterBounded(const UnsignedIntParameter *param_p)
Definition: unsigned_int_parameter.h:59
Parameter * EasyCreateAndAddUnsignedIntParameterToParameterSet(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 uint32 *default_value_p, uint8 level)
bool GetCurrentUnsignedIntParameterValueFromParameterSet(const ParameterSet *const params_p, const char *const name_s, const uint32 **value_pp)
uint32 * uip_default_value_p
Definition: unsigned_int_parameter.h:39
bool SetUnsignedIntParameterCurrentValueFromJSON(UnsignedIntParameter *param_p, const json_t *value_p)
void FreeUnsignedIntParameterOption(UnsignedIntParameterOption *option_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
UnsignedIntParameterOption * AllocateUnsignedIntParameterOption(const uint32 value, const char *description_s)
void GetUnsignedIntParameterBounds(const UnsignedIntParameter *param_p, const uint32 **min_pp, const uint32 **max_pp)
uint32 uipo_value
The internal value for this option.
Definition: unsigned_int_parameter.h:51
UnsignedIntParameterOptionNode * AllocateUnsignedIntParameterOptionNode(UnsignedIntParameterOption *option_p)
UnsignedIntParameter * AllocateUnsignedIntParameterFromJSON(const json_t *param_json_p, const struct Service *service_p, const bool concise_flag)
uint32 * uip_max_value_p
Definition: unsigned_int_parameter.h:43
Definition: unsigned_int_parameter.h:48
void FreeStringParameterOptionNode(ListItem *item_p)
void FreeUnsignedIntParameter(UnsignedIntParameter *param_p)
bool SetUnsignedIntParameterCurrentValue(UnsignedIntParameter *param_p, const uint32 *value_p)
A datatype for holding the configuration data for a Service.
Definition: service.h:126
UnsignedIntParameterOption * uipon_option_p
Definition: unsigned_int_parameter.h:63
bool CreateAndAddUnsignedIntParameterOption(UnsignedIntParameter *param_p, const uint32 value, const char *description_s)
uint32 * uip_min_value_p
Definition: unsigned_int_parameter.h:41
uint32 * uip_current_value_p
Definition: unsigned_int_parameter.h:37
char * uipo_description_s
The user-friendly description for this value.
Definition: unsigned_int_parameter.h:54
bool IsUnsignedIntParameter(const Parameter *param_p)
A set of Parameters along with an optional name and description.
Definition: parameter_set.h:46
ListItem uipon_node
Definition: unsigned_int_parameter.h:61
bool SetUnsignedIntParameterDefaultValue(UnsignedIntParameter *param_p, const uint32 *value_p)
UnsignedIntParameter * AllocateUnsignedIntParameter(const struct ServiceData *service_data_p, const char *const name_s, const char *const display_name_s, const char *const description_s, const uint32 *default_value_p, const uint32 *current_value_p, ParameterLevel level)
Allocate a UnsignedIntParameter.
const uint32 * GetUnsignedIntParameterCurrentValue(const UnsignedIntParameter *param_p)
bool SetUnsignedIntParameterBounds(UnsignedIntParameter *param_p, const uint32 min_value, const uint32 max_value)
A doubly-linked node that points to its predecessor and successor.
Definition: linked_list.h:43