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.
8 #ifndef CORE_SHARED_SERVICES_INCLUDE_PARAMETERS_TIME_ARRAY_PARAMETER_H_
9 #define CORE_SHARED_SERVICES_INCLUDE_PARAMETERS_TIME_ARRAY_PARAMETER_H_
65 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
66 struct tm **default_values_pp,
const size_t num_values, uint8 level);
69 const char *
const name_s,
const char *
const display_name_s,
const char *
const description_s,
70 struct tm **default_values_pp,
struct tm **current_values_pp,
71 const size_t num_values, 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
size_t GetNumberOfTimeArrayCurrentParameterValues(const TimeArrayParameter *param_p)
ParameterType
The different types that a Parameter can take.
Definition: parameter_type.h:35
#define GRASSROOTS_SERVICE_API
Definition: grassroots_service_library.h:49
Definition: time_array_parameter.h:19
Parameter tap_base_param
Definition: time_array_parameter.h:21
bool SetTimeArrayParameterDefaultValues(TimeArrayParameter *param_p, const struct tm **values_pp, const size_t num_values)
struct tm ** tap_current_values_pp
Definition: time_array_parameter.h:23
struct tm ** tap_default_values_pp
Definition: time_array_parameter.h:25
char * GetTimeArrayParameterCurrentValuesAsFlattenedString(const TimeArrayParameter *param_p)
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
TimeArrayParameter * AllocateTimeArrayParameterFromJSON(const json_t *param_json_p, const struct Service *service_p, const bool concise_flag, const ParameterType *pt_p)
ParameterLevel
The ParameterLevel defines the level that a user should be to adjust the Parameter.
Definition: parameter.h:52
bool SetTimeArrayParameterCurrentValues(TimeArrayParameter *param_p, const struct tm **values_pp, const size_t num_values)
Parameter * CreateAndAddTimeArrayParameterToParameterSet(const 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, struct tm **default_values_pp, struct tm **current_values_pp, const size_t num_values, uint8 level)
TimeArrayParameter * AllocateTimeArrayParameter(const struct ServiceData *service_data_p, const char *const name_s, const char *const display_name_s, const char *const description_s, struct tm **default_values_pp, struct tm **current_values_pp, const size_t num_values, ParameterLevel level)
bool IsTimeArrayParameter(const Parameter *param_p)
size_t tap_num_values
Definition: time_array_parameter.h:27
Parameter * EasyCreateAndAddTimeArrayParameterToParameterSet(const 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, struct tm **default_values_pp, const size_t num_values, uint8 level)
const struct tm ** GetTimeArrayParameterDefaultValues(const TimeArrayParameter *param_p)
const struct tm * GetTimeArrayParameterCurrentValueAtIndex(const TimeArrayParameter *param_p, const size_t index)
const struct tm ** GetTimeArrayParameterCurrentValues(const TimeArrayParameter *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
void FreeTimeArrayParameter(TimeArrayParameter *param_p)