GRM Reference¶
Plot Functions¶
Functions
-
void grm_finalize(void)¶
-
int grm_clear(void)¶
-
void grm_dump_graphics_tree(FILE *f)¶
-
char *grm_dump_graphics_tree_str(void)¶
-
unsigned int grm_max_plotid(void)¶
-
int grm_merge(const grm_args_t *args)¶
-
int grm_merge_extended(const grm_args_t *args, int hold, const char *identificator)¶
-
int grm_merge_hold(const grm_args_t *args)¶
-
int grm_merge_named(const grm_args_t *args, const char *identificator)¶
-
int grm_plot(const grm_args_t *args)¶
-
int grm_render(void)¶
-
int grm_process_tree(void)¶
-
int grm_export(const char *file_path)¶
-
int grm_switch(unsigned int id)¶
-
int grm_load_graphics_tree(FILE *file)¶
-
int grm_validate(void)¶
Argument Container Functions¶
Defines
-
grm_args_first_value(args, keyword, first_value_format, first_value, array_length)¶
Typedefs
-
typedef struct _arg_private_t arg_private_t¶
-
typedef struct _args_node_t args_node_t¶
-
typedef struct _grm_args_t grm_args_t¶
-
typedef grm_args_t *grm_args_ptr_t¶
-
typedef struct _args_iterator_private_t args_iterator_private_t¶
-
typedef struct _args_iterator_t grm_args_iterator_t¶
-
typedef struct _args_value_iterator_private_t args_value_iterator_private_t¶
-
typedef struct _grm_args_value_iterator_t grm_args_value_iterator_t¶
Functions
-
grm_args_value_iterator_t *grm_arg_value_iter(const arg_t *arg)¶
-
grm_args_t *grm_args_new(void)¶
-
void grm_args_delete(grm_args_t *args)¶
-
int grm_args_push(grm_args_t *args, const char *key, const char *value_format, ...)¶
-
int grm_args_push_buf(grm_args_t *args, const char *key, const char *value_format, const void *buffer, int apply_padding)¶
-
int grm_args_contains(const grm_args_t *args, const char *keyword)¶
-
int grm_args_first_value(const grm_args_t *args, const char *keyword, const char *first_value_format, void *first_value, unsigned int *array_length)¶
-
int grm_args_values(const grm_args_t *args, const char *keyword, const char *expected_format, ...)¶
-
void grm_args_clear(grm_args_t *args)¶
-
void grm_args_remove(grm_args_t *args, const char *key)¶
-
grm_args_iterator_t *grm_args_iter(const grm_args_t *args)¶
-
grm_args_ptr_t grm_length(double value, const char *unit)¶
-
struct arg_t¶
-
struct _args_iterator_t¶
-
struct _grm_args_value_iterator_t¶
Argument Output Functions¶
Functions
-
void grm_dump(const grm_args_t *args, FILE *f)¶
-
void grm_dump_json(const grm_args_t *args, FILE *f)¶
-
char *grm_dump_json_str(void)¶
-
void grm_dump_bson(const grm_args_t *args, FILE *f)¶
Base64 Functions¶
Event Functions¶
Typedefs
-
typedef void (*grm_event_callback_t)(const grm_event_t*)¶
Enums
Functions
-
int grm_register(grm_event_type_t type, grm_event_callback_t callback)¶
-
int grm_unregister(grm_event_type_t type)¶
-
struct grm_new_plot_event_t¶
-
struct grm_update_plot_event_t¶
-
struct grm_size_event_t¶
-
struct grm_merge_end_event_t¶
-
struct grm_request_event_t¶
-
struct grm_integral_update_event_t¶
-
union grm_event_t¶
Public Members
-
grm_new_plot_event_t new_plot_event¶
-
grm_size_event_t size_event¶
-
grm_update_plot_event_t update_plot_event¶
-
grm_merge_end_event_t merge_end_event¶
-
grm_request_event_t request_event¶
-
grm_integral_update_event_t integral_update_event¶
-
grm_new_plot_event_t new_plot_event¶
Import Functions¶
Typedefs
-
typedef struct _grm_file_args_t grm_file_args_t¶
Functions
-
int grm_interactive_plot_from_file(grm_args_t *args, int argc, char **argv)¶
-
int grm_plot_from_file(int argc, char **argv)¶
Interaction Functions¶
Functions
-
int grm_input(const grm_args_t *input_args)¶
-
int grm_get_box(const int x1, const int y1, const int x2, const int y2, const int keep_aspect_ratio, int *x, int *y, int *w, int *h)¶
-
int grm_is3d(const int x, const int y)¶
-
grm_tooltip_info_t *grm_get_tooltip(int mouse_x, int mouse_y)¶
-
grm_tooltip_info_t **grm_get_tooltips_x(int mouse_x, int mouse_y, unsigned int *array_length)¶
-
grm_accumulated_tooltip_info_t *grm_get_accumulated_tooltip_x(int mouse_x, int mouse_y)¶
-
int grm_get_hover_mode(int mouse_x, int mouse_y, int disable_movable_xform)¶
-
struct grm_tooltip_info_t¶
-
struct grm_accumulated_tooltip_info_t¶
Networking Functions¶
Functions
-
void *grm_open(int is_receiver, const char *name, unsigned int id, const char *(*custom_recv)(const char*, unsigned int), int (*custom_send)(const char*, unsigned int, const char*))¶
-
grm_args_t *grm_recv(const void *p, grm_args_t *args)¶
-
int grm_send(const void *p, const char *data_desc, ...)¶
-
int grm_send_buf(const void *p, const char *data_desc, const void *buffer, int apply_padding)¶
-
int grm_send_ref(const void *p, const char *key, char format, const void *ref, int len)¶
-
int grm_send_args(const void *p, const grm_args_t *args)¶
-
void grm_close(const void *p)¶
Util Functions¶
Defines
-
EXPORT¶