+337 868 051 80
office@grasp-sas.com
Menu
Home
Publications
Products
Labs
Documentation
Register
Contact
src
input
drivers
sdata
grasp_input_driver_sdata_error_codes.h
Go to the documentation of this file.
1
/*
2
* To change this license header, choose License Headers in Project Properties.
3
* To change this template file, choose Tools | Templates
4
* and open the template in the editor.
5
*/
6
7
/*
8
* File: grasp_input_driver_sdata_error_codes.h
9
* Author: david
10
*
11
* Created on July 3, 2018, 8:59 AM
12
*/
13
14
#ifndef GRASP_INPUT_DRIVER_SDATA_ERROR_CODES_H
15
#define GRASP_INPUT_DRIVER_SDATA_ERROR_CODES_H
16
17
// Ok status is 0
18
19
// This is not an error it self, it is an status.
20
// but if the EOF arrives before it is expected, then
21
// It'll be an error
22
#define GRASP_SDATA_EOF 1
23
24
// This is the list of errors that can be returned
25
#define GRASP_ERROR_SDATA_DRIVER_ONLY_ONE_FILE_ALLOWED -1
26
#define GRASP_ERROR_SDATA_DRIVER_FILE_CANNOT_OPEN -2
27
#define GRASP_ERROR_SDATA_READ_UNEXPECTED_END -3
28
#define GRASP_ERROR_SDATA_MALFORMED -4
29
#define GRASP_ERROR_SDATA_MALFORMED_TIMESTAMP -5
30
#define GRASP_ERROR_SDATA_MALFORMED_LINE -6
31
#define GRASP_ERROR_SDATA_VALUE_OUT_OF_BOUNDS -7
32
#define GRASP_ERROR_SDATA_READING_PROBLEM -8
33
#define GRASP_ERROR_SDATA_CLOSING_PROBLEM -9
34
#define GRASP_ERROR_SDATA_OPEN_FAILED -10
35
#define GRASP_ERROR_SDATA_MISSING_VERSION -11
36
#define GRASP_ERROR_SDATA_VERSION_PATTERN_BADFORMED -12
37
#define GRASP_ERROR_SDATA_VERSION_UNSUPPORTED -13
38
#define GRASP_ERROR_SDATA_NOT_ENOUGH_MEM_DECLARED -14
39
#define GRASP_ERROR_SDATA_DUMP_ERROR -15
40
#define GRASP_ERROR_SDATA_SEGMENT_SIZE -16
41
#define GRASP_ERROR_SDATA_INVALID_VALUE -17
42
43
44
45
46
#endif
/* GRASP_INPUT_DRIVER_SDATA_ERROR_CODES_H */
47
Menu