Instrument Neutral Distributed Interface INDI
2.0.2
libs
indidevice
indibasetypes.h
Go to the documentation of this file.
1
/*******************************************************************************
2
Copyright(c) 2011 Jasem Mutlaq. All rights reserved.
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License version 2 as published by the Free Software Foundation.
7
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
12
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
Boston, MA 02110-1301, USA.
17
*******************************************************************************/
18
19
#pragma once
20
22
typedef
enum
23
{
24
INDI_NUMBER
,
25
INDI_SWITCH
,
26
INDI_TEXT
,
27
INDI_LIGHT
,
28
INDI_BLOB
,
29
INDI_UNKNOWN
30
}
INDI_PROPERTY_TYPE
;
31
33
typedef
enum
34
{
35
AXIS_RA
,
36
AXIS_DE
37
}
INDI_EQ_AXIS
;
38
40
typedef
enum
41
{
42
AXIS_AZ
,
43
AXIS_ALT
44
}
INDI_HO_AXIS
;
45
47
typedef
enum
48
{
49
DIRECTION_NORTH
= 0,
50
DIRECTION_SOUTH
51
}
INDI_DIR_NS
;
52
54
typedef
enum
55
{
56
DIRECTION_WEST
= 0,
57
DIRECTION_EAST
58
}
INDI_DIR_WE
;
59
61
typedef
enum
62
{
63
INDI_DEVICE_NOT_FOUND
= -1,
64
INDI_PROPERTY_INVALID
= -2,
65
INDI_PROPERTY_DUPLICATED
= -3,
66
INDI_DISPATCH_ERROR
= -4
67
}
INDI_ERROR_TYPE
;
68
69
typedef
enum
70
{
71
INDI_MONO
= 0,
72
INDI_BAYER_RGGB
= 8,
73
INDI_BAYER_GRBG
= 9,
74
INDI_BAYER_GBRG
= 10,
75
INDI_BAYER_BGGR
= 11,
76
INDI_BAYER_CYYM
= 16,
77
INDI_BAYER_YCMY
= 17,
78
INDI_BAYER_YMCY
= 18,
79
INDI_BAYER_MYYC
= 19,
80
INDI_RGB
= 100,
81
INDI_BGR
= 101,
82
INDI_JPG
= 200,
83
}
INDI_PIXEL_FORMAT
;
84
INDI_ERROR_TYPE
INDI_ERROR_TYPE
Definition:
indibasetypes.h:62
INDI_PROPERTY_DUPLICATED
@ INDI_PROPERTY_DUPLICATED
Definition:
indibasetypes.h:65
INDI_PROPERTY_INVALID
@ INDI_PROPERTY_INVALID
Definition:
indibasetypes.h:64
INDI_DEVICE_NOT_FOUND
@ INDI_DEVICE_NOT_FOUND
Definition:
indibasetypes.h:63
INDI_DISPATCH_ERROR
@ INDI_DISPATCH_ERROR
Definition:
indibasetypes.h:66
INDI_EQ_AXIS
INDI_EQ_AXIS
Definition:
indibasetypes.h:34
AXIS_DE
@ AXIS_DE
Definition:
indibasetypes.h:36
AXIS_RA
@ AXIS_RA
Definition:
indibasetypes.h:35
INDI_HO_AXIS
INDI_HO_AXIS
Definition:
indibasetypes.h:41
AXIS_AZ
@ AXIS_AZ
Definition:
indibasetypes.h:42
AXIS_ALT
@ AXIS_ALT
Definition:
indibasetypes.h:43
INDI_DIR_WE
INDI_DIR_WE
Definition:
indibasetypes.h:55
DIRECTION_EAST
@ DIRECTION_EAST
Definition:
indibasetypes.h:57
DIRECTION_WEST
@ DIRECTION_WEST
Definition:
indibasetypes.h:56
INDI_PROPERTY_TYPE
INDI_PROPERTY_TYPE
Definition:
indibasetypes.h:23
INDI_LIGHT
@ INDI_LIGHT
Definition:
indibasetypes.h:27
INDI_TEXT
@ INDI_TEXT
Definition:
indibasetypes.h:26
INDI_UNKNOWN
@ INDI_UNKNOWN
Definition:
indibasetypes.h:29
INDI_NUMBER
@ INDI_NUMBER
Definition:
indibasetypes.h:24
INDI_SWITCH
@ INDI_SWITCH
Definition:
indibasetypes.h:25
INDI_BLOB
@ INDI_BLOB
Definition:
indibasetypes.h:28
INDI_PIXEL_FORMAT
INDI_PIXEL_FORMAT
Definition:
indibasetypes.h:70
INDI_BAYER_MYYC
@ INDI_BAYER_MYYC
Definition:
indibasetypes.h:79
INDI_BAYER_GRBG
@ INDI_BAYER_GRBG
Definition:
indibasetypes.h:73
INDI_BAYER_YMCY
@ INDI_BAYER_YMCY
Definition:
indibasetypes.h:78
INDI_MONO
@ INDI_MONO
Definition:
indibasetypes.h:71
INDI_BAYER_YCMY
@ INDI_BAYER_YCMY
Definition:
indibasetypes.h:77
INDI_BAYER_GBRG
@ INDI_BAYER_GBRG
Definition:
indibasetypes.h:74
INDI_BAYER_CYYM
@ INDI_BAYER_CYYM
Definition:
indibasetypes.h:76
INDI_BAYER_BGGR
@ INDI_BAYER_BGGR
Definition:
indibasetypes.h:75
INDI_BGR
@ INDI_BGR
Definition:
indibasetypes.h:81
INDI_RGB
@ INDI_RGB
Definition:
indibasetypes.h:80
INDI_JPG
@ INDI_JPG
Definition:
indibasetypes.h:82
INDI_BAYER_RGGB
@ INDI_BAYER_RGGB
Definition:
indibasetypes.h:72
INDI_DIR_NS
INDI_DIR_NS
Definition:
indibasetypes.h:48
DIRECTION_SOUTH
@ DIRECTION_SOUTH
Definition:
indibasetypes.h:50
DIRECTION_NORTH
@ DIRECTION_NORTH
Definition:
indibasetypes.h:49
Generated on Sat May 13 2023 14:24:22 for Instrument Neutral Distributed Interface INDI by
1.9.1