Anti-Sway Capstone 1.0
|
Data Recording Interface Header. More...
Go to the source code of this file.
Typedefs | |
typedef int | FileID_t |
A File. | |
Functions | |
FileID_t | OpenDataFile (char *name, char **entry_names, int num_entries) |
int | RecordData (FileID_t file, double data[], int data_length) |
int | RecordValue (FileID_t file, char *value_name, double value) |
int | SaveDataFiles () |
Data Recording Interface Header.
FileID_t OpenDataFile | ( | char * | name, |
char ** | entry_names, | ||
int | num_entries ) |
Opens a data file
name | The name of the file |
entry_names | The name of each entry |
num_entries | The number of entries |
int RecordData | ( | FileID_t | file, |
double | data[], | ||
int | data_length ) |
Records data for each entry
file | The FileID_t to record upon |
data | The array of data to record (in order of the entries) |
data_length | The length of the data array |
int RecordValue | ( | FileID_t | file, |
char * | value_name, | ||
double | value ) |
Records one-time data
file | The FileID_t to record upon |
value_name | The name of the value |
value | The value to record |
int SaveDataFiles | ( | ) |
Records all data into actual files, and closes all files