|
stereocam
0.0-0.dev0.dirty.el6
|
Data Structures | |
| struct | UserData |
| UserData structure passed to all user defined hook functions. More... | |
Macros | |
| #define | MAX_LINE_LENGTH 8096 |
| The maximum length of a line in a raw data file. | |
| #define | GET_DS_VAR(dataset, varname, errval, var) |
| Convenience macro for getting a variable in a dataset. | |
Functions | |
| void * | stereocam_init_process (void) |
| Initialize the STEREOCAM process. | |
| void | stereocam_finish_process (void *user_data) |
| Finish the STEREOCAM process. | |
| int | stereocam_process_file (void *user_data, const char *input_dir, const char *file_name) |
| Process a raw STEREOCAM data file. | |
| int | main (int argc, char *argv[]) |
| #define GET_DS_VAR | ( | dataset, | |
| varname, | |||
| errval, | |||
| var | |||
| ) |
Convenience macro for getting a variable in a dataset.
Definition at line 31 of file stereocam_ingest.h.
| void stereocam_finish_process | ( | void * | user_data | ) |
Finish the STEREOCAM process.
This function frees all memory used by the UserData structure, and does any final cleanup needed by the process.
| user_data | void pointer to the UserData structure |
Definition at line 248 of file stereocam_ingest.c.
| void* stereocam_init_process | ( | void | ) |
Initialize the STEREOCAM process.
This function will:
If an error occurs in this function it will be appended to the log and error mail messages, and the process status will be set appropriately.
| data | void pointer to the UserData structure |
| NULL | if an error occurred |
Definition at line 34 of file stereocam_ingest.c.
| int stereocam_process_file | ( | void * | user_data, |
| const char * | input_dir, | ||
| const char * | file_name | ||
| ) |
Process a raw STEREOCAM data file.
If an error occurs in this function it will be appended to the log and error mail messages, and the process status will be set appropriately.
| user_data | void pointer to the UserData structure |
| input_dir | path to the file |
| file_name | file name |
| 1 | if successful |
| 0 | if the current file should be skipped |
| -1 | if a fatal error occurred |
Definition at line 302 of file stereocam_ingest.c.