| ARX 1.0 The next-generation open source augmented reality toolkit.

Loading...
Searching...
No Matches
Error.h
Go to the documentation of this file.
1/*
2 * Error.h
3 * artoolkitX
4 *
5 * This file is part of artoolkitX.
6 *
7 * artoolkitX is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * artoolkitX is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with artoolkitX. If not, see <http://www.gnu.org/licenses/>.
19 *
20 * As a special exception, the copyright holders of this library give you
21 * permission to link this library with independent modules to produce an
22 * executable, regardless of the license terms of these independent modules, and to
23 * copy and distribute the resulting executable under terms of your choice,
24 * provided that you also meet, for each linked independent module, the terms and
25 * conditions of the license of that module. An independent module is a module
26 * which is neither derived from nor based on this library. If you modify this
27 * library, you may extend this exception to your version of the library, but you
28 * are not obligated to do so. If you do not wish to do so, delete this exception
29 * statement from your version.
30 *
31 * Copyright 2018 Realmax, Inc.
32 * Copyright 2015 Daqri, LLC.
33 * Copyright 2014-2015 ARToolworks, Inc.
34 *
35 * Author(s): Philip Lamb
36 *
37 */
38
39#ifndef ARWRAPPER_ERROR_H
40#define ARWRAPPER_ERROR_H
41
47#ifdef __cplusplus
48 extern "C" {
49#endif
50
51 enum {
52 ARX_ERROR_NONE = 0,
53 ARX_ERROR_GENERIC = -1,
54 ARX_ERROR_OUT_OF_MEMORY = -2,
55 ARX_ERROR_OVERFLOW = -3,
56 ARX_ERROR_NODATA = -4,
57 ARX_ERROR_IOERROR = -5,
58 ARX_ERROR_EOF = -6,
59 ARX_ERROR_TIMEOUT = -7,
60 ARX_ERROR_INVALID_COMMAND = -8,
61 ARX_ERROR_INVALID_ENUM = -9,
62 ARX_ERROR_THREADS = -10,
63 ARX_ERROR_FILE_NOT_FOUND = -11,
64 ARX_ERROR_LENGTH_UNAVAILABLE = -12,
65 ARX_ERROR_DEVICE_UNAVAILABLE = -13
66 };
67
68#ifdef __cplusplus
69}
70#endif
71#endif // !ARWRAPPER_ERROR_H
ARX_ERROR_TIMEOUT
@ ARX_ERROR_TIMEOUT
Definition: Error.h:59
ARX_ERROR_THREADS
@ ARX_ERROR_THREADS
Definition: Error.h:62
ARX_ERROR_NONE
@ ARX_ERROR_NONE
Definition: Error.h:52
ARX_ERROR_EOF
@ ARX_ERROR_EOF
Definition: Error.h:58
ARX_ERROR_OVERFLOW
@ ARX_ERROR_OVERFLOW
Definition: Error.h:55
ARX_ERROR_IOERROR
@ ARX_ERROR_IOERROR
Definition: Error.h:57
ARX_ERROR_FILE_NOT_FOUND
@ ARX_ERROR_FILE_NOT_FOUND
Definition: Error.h:63
ARX_ERROR_DEVICE_UNAVAILABLE
@ ARX_ERROR_DEVICE_UNAVAILABLE
Definition: Error.h:65
ARX_ERROR_GENERIC
@ ARX_ERROR_GENERIC
Definition: Error.h:53
ARX_ERROR_INVALID_COMMAND
@ ARX_ERROR_INVALID_COMMAND
Definition: Error.h:60
ARX_ERROR_OUT_OF_MEMORY
@ ARX_ERROR_OUT_OF_MEMORY
Definition: Error.h:54
ARX_ERROR_INVALID_ENUM
@ ARX_ERROR_INVALID_ENUM
Definition: Error.h:61
ARX_ERROR_LENGTH_UNAVAILABLE
@ ARX_ERROR_LENGTH_UNAVAILABLE
Definition: Error.h:64
ARX_ERROR_NODATA
@ ARX_ERROR_NODATA
Definition: Error.h:56