TIOVX User Guide
vx_error.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012-2016 The Khronos Group Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 
18 #ifndef TIVX_ERROR_H_
19 #define TIVX_ERROR_H_
20 
28 #ifdef __cplusplus
29  extern "C" {
30 #endif
31 
35 typedef struct _vx_error {
40 } tivx_error_t;
41 
46 
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif
61 
vx_bool
The most basic type in the OpenVX system. Any type that inherits from tivx_reference_t must have a vx...
Definition: vx_reference.h:63
tivx_reference_t base
The "base" reference object.
Definition: vx_error.h:37
vx_reference ownGetErrorObject(vx_context context, vx_status status)
Matches the status code against all known error objects in the context.
vx_enum vx_status
struct _vx_context * vx_context
struct _vx_reference * vx_reference
vx_status status
The specific error code contained in this object.
Definition: vx_error.h:39
vx_bool ownCreateConstErrors(vx_context context)
Creates all the status codes as error objects.
The internal representation of the error object.
Definition: vx_error.h:35