|
EE445M RTOS
Taken at the University of Texas Spring 2015
|
#include <limits.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include "graphlib.h"
Go to the source code of this file.
Functions | |
| char * | strdup (const char *str) |
| graph * | GLCreateGraph (long x_min, long x_max, long y_min, long y_max, long x_steps) |
| char * | GLSetTitle (graph *g, char *title) |
| void | GLLabelAxes (graph *g, char *x_axis, char *y_axis) |
| void | GLPushDataPoint (graph *g, long y_val) |
| long | GLOffScreenValue (graph *g) |
| void | GLDestroyGraph (graph *g) |
| graph* GLCreateGraph | ( | long | x_min, |
| long | x_max, | ||
| long | y_min, | ||
| long | y_max, | ||
| long | x_steps | ||
| ) |
Definition at line 25 of file graphlib.c.
References graph::all_data_points_valid, graph::data, graph::x_index, graph::x_index_max, graph::x_max, graph::x_min, graph::y_max, and graph::y_min.
Referenced by main().

| void GLDestroyGraph | ( | graph * | g | ) |
Definition at line 83 of file graphlib.c.
References graph::data, graph::title, graph::x_title, and graph::y_title.
| void GLLabelAxes | ( | graph * | g, |
| char * | x_axis, | ||
| char * | y_axis | ||
| ) |
Definition at line 48 of file graphlib.c.
References strdup(), graph::x_title, and graph::y_title.
Referenced by main().


| long GLOffScreenValue | ( | graph * | g | ) |
| void GLPushDataPoint | ( | graph * | g, |
| long | y_val | ||
| ) |
Definition at line 56 of file graphlib.c.
References graph::all_data_points_valid, graph::data, graph::most_recent_data_point, graph::x_index, and graph::x_index_max.
Referenced by main().

| char* GLSetTitle | ( | graph * | g, |
| char * | title | ||
| ) |
Definition at line 42 of file graphlib.c.
References strdup(), and graph::title.
Referenced by main().


| char* strdup | ( | const char * | str | ) |
Definition at line 15 of file graphlib.c.
References null.
Referenced by GLLabelAxes(), GLSetTitle(), and utarray_str_cpy().
