Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
genicam
library
CPP
include
Base
GCError.h
Go to the documentation of this file.
1
//***************************************************************************
2
// (C) 2005 STEMMER IMAGING
3
//
10
//
11
// License: This file is published under the license of the EMVA GenICam Standard Group.
12
// A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
13
// If for some reason you are missing this file please contact the EMVA or visit the website
14
// (http://www.genicam.org) for a full copy.
15
//
16
// THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
17
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
18
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
20
// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26
// POSSIBILITY OF SUCH DAMAGE.
27
//***************************************************************************
28
29
// TLIClientDummy.dll GenICam TransportLayer Dummy Client
30
31
#ifndef GC_ERROR_DEF_H
32
#define GC_ERROR_DEF_H
33
34
#include <
Base/GCTypes.h
>
35
36
namespace
GENICAM_NAMESPACE
37
{
40
typedef
int32_t
GC_ERROR
;
41
45
enum
GCErrorID
46
{
47
GC_ERR_SUCCESS
= 0,
48
GC_ERR_INVALID_BUFFER_SIZE
= -1,
49
GC_ERR_INVALID_HANDLE
= -2,
50
GC_ERR_INVALID_ID
= -3,
51
GC_ERR_ACCESS_DENIED
= -4,
52
GC_ERR_NO_DATA
= -5,
53
GC_ERR_ERROR
= -6,
54
GC_ERR_INVALID_PARAMETER
= -7,
55
GC_ERR_TIMEOUT
= -8,
56
GC_ERR_INVALID_FILENAME
= -9,
57
GC_ERR_INVALID_ADDRESS
= -10,
58
GC_ERR_FILE_IO
= -11
59
};
60
63
enum
GCModuleID
{
64
GC_MOD_SYSTEM
= 0x0,
65
GC_MOD_TLICLIENT
= 0x20000000,
66
GC_MOD_TLISYSTEM
= 0x10000000,
67
GC_MOD_FACTORY
= 0x08000000,
68
GC_MOD_GENAPI
= 0x04000000
69
70
};
71
72
#define GC_GET_ERROR(ErrorCode) (((ErrorCode ) & 0xFFFF ) | 0xFFFF0000)
73
#define GC_IS_ERROR(ErrorCode) (((ErrorCode ) & 0x80000000) ? true : false)
74
}
75
#endif //GC_ERROR_DEF_H
GENICAM_NAMESPACE::GCErrorID
GCErrorID
Define a list which maps error ids to error descriptions The list is filled in the cpp file...
Definition:
GCError.h:45
GENICAM_NAMESPACE::GC_ERR_FILE_IO
Definition:
GCError.h:58
GENICAM_NAMESPACE::GC_ERR_ERROR
Definition:
GCError.h:53
GENICAM_NAMESPACE::GC_ERR_INVALID_ADDRESS
Definition:
GCError.h:57
GENICAM_NAMESPACE::GC_MOD_TLISYSTEM
Definition:
GCError.h:66
GENICAM_NAMESPACE
Definition:
GCArray.h:31
GENICAM_NAMESPACE::GC_ERR_NO_DATA
Definition:
GCError.h:52
GENICAM_NAMESPACE::GC_ERR_TIMEOUT
Definition:
GCError.h:55
GENICAM_NAMESPACE::GC_ERROR
int32_t GC_ERROR
Gen Cam Error.
Definition:
GCError.h:40
GENICAM_NAMESPACE::GC_ERR_ACCESS_DENIED
Definition:
GCError.h:51
GENICAM_NAMESPACE::GCModuleID
GCModuleID
Modules were errors can come from.
Definition:
GCError.h:63
GENICAM_NAMESPACE::GC_ERR_SUCCESS
Definition:
GCError.h:47
GENICAM_NAMESPACE::GC_ERR_INVALID_BUFFER_SIZE
Definition:
GCError.h:48
GENICAM_NAMESPACE::GC_MOD_FACTORY
Definition:
GCError.h:67
GENICAM_NAMESPACE::GC_MOD_SYSTEM
Definition:
GCError.h:64
GENICAM_NAMESPACE::GC_ERR_INVALID_PARAMETER
Definition:
GCError.h:54
GENICAM_NAMESPACE::GC_ERR_INVALID_ID
Definition:
GCError.h:50
GENICAM_NAMESPACE::GC_ERR_INVALID_HANDLE
Definition:
GCError.h:49
GENICAM_NAMESPACE::GC_ERR_INVALID_FILENAME
Definition:
GCError.h:56
GENICAM_NAMESPACE::GC_MOD_GENAPI
Definition:
GCError.h:68
GCTypes.h
Platform-dependent type definitions.
GENICAM_NAMESPACE::GC_MOD_TLICLIENT
Definition:
GCError.h:65
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 17 2021 02:48:40