Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkIGTLStatus.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef __IGTL_STATUS_H // Same include guard as OpenIGTLink's igtl_status.h file
14 #define __IGTL_STATUS_H
15 
16 // Internal status codes from OpenIGTLink's igtl_status.h file
17 
18 #define IGTL_STATUS_INVALID 0
19 #define IGTL_STATUS_OK 1
20 #define IGTL_STATUS_UNKNOWN_ERROR 2
21 #define IGTL_STATUS_PANICK_MODE 3
22 #define IGTL_STATUS_NOT_FOUND 4
23 #define IGTL_STATUS_ACCESS_DENIED 5
24 #define IGTL_STATUS_BUSY 6
25 #define IGTL_STATUS_TIME_OUT 7
26 #define IGTL_STATUS_OVERFLOW 8
27 #define IGTL_STATUS_CHECKSUM_ERROR 9
28 #define IGTL_STATUS_CONFIG_ERROR 10
29 #define IGTL_STATUS_RESOURCE_ERROR 11
30 #define IGTL_STATUS_ILLEGAL_INSTRUCTION 12
31 #define IGTL_STATUS_NOT_READY 13
32 #define IGTL_STATUS_MANUAL_MODE 14
33 #define IGTL_STATUS_DISABLED 15
34 #define IGTL_STATUS_NOT_PRESENT 16
35 #define IGTL_STATUS_UNKNOWN_VERSION 17
36 #define IGTL_STATUS_HARDWARE_FAILURE 18
37 #define IGTL_STATUS_SHUT_DOWN 19
38 
39 #endif