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  {
59  };
60 
63  enum GCModuleID {
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
GCErrorID
Define a list which maps error ids to error descriptions The list is filled in the cpp file...
Definition: GCError.h:45
int32_t GC_ERROR
Gen Cam Error.
Definition: GCError.h:40
GCModuleID
Modules were errors can come from.
Definition: GCError.h:63
Platform-dependent type definitions.


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:54