Instrument Neutral Distributed Interface INDI
1.9.5
libs
indibase
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
INDI_NUMBER
,
24
INDI_SWITCH
,
25
INDI_TEXT
,
26
INDI_LIGHT
,
27
INDI_BLOB
,
28
INDI_UNKNOWN
29
}
INDI_PROPERTY_TYPE
;
30
32
typedef
enum
{
33
AXIS_RA
,
34
AXIS_DE
35
}
INDI_EQ_AXIS
;
36
38
typedef
enum
{
39
AXIS_AZ
,
40
AXIS_ALT
41
}
INDI_HO_AXIS
;
42
44
typedef
enum
{
45
DIRECTION_NORTH
= 0,
46
DIRECTION_SOUTH
47
}
INDI_DIR_NS
;
48
50
typedef
enum
{
51
DIRECTION_WEST
= 0,
52
DIRECTION_EAST
53
}
INDI_DIR_WE
;
54
56
typedef
enum
{
57
INDI_DEVICE_NOT_FOUND
= -1,
58
INDI_PROPERTY_INVALID
= -2,
59
INDI_PROPERTY_DUPLICATED
= -3,
60
INDI_DISPATCH_ERROR
= -4
61
}
INDI_ERROR_TYPE
;
62
63
typedef
enum
64
{
65
INDI_MONO
= 0,
66
INDI_BAYER_RGGB
= 8,
67
INDI_BAYER_GRBG
= 9,
68
INDI_BAYER_GBRG
= 10,
69
INDI_BAYER_BGGR
= 11,
70
INDI_BAYER_CYYM
= 16,
71
INDI_BAYER_YCMY
= 17,
72
INDI_BAYER_YMCY
= 18,
73
INDI_BAYER_MYYC
= 19,
74
INDI_RGB
= 100,
75
INDI_BGR
= 101,
76
INDI_JPG
= 200,
77
}
INDI_PIXEL_FORMAT
;
78
INDI_BLOB
@ INDI_BLOB
Definition:
indibasetypes.h:43
DIRECTION_NORTH
@ DIRECTION_NORTH
Definition:
indibasetypes.h:45
DIRECTION_SOUTH
@ DIRECTION_SOUTH
Definition:
indibasetypes.h:46
INDI_BAYER_GBRG
@ INDI_BAYER_GBRG
Definition:
indibasetypes.h:68
INDI_HO_AXIS
INDI_HO_AXIS
Definition:
indibasetypes.h:38
INDI_TEXT
@ INDI_TEXT
Definition:
indibasetypes.h:41
INDI_NUMBER
@ INDI_NUMBER
Definition:
indibasetypes.h:39
INDI_BGR
@ INDI_BGR
Definition:
indibasetypes.h:75
INDI_MONO
@ INDI_MONO
Definition:
indibasetypes.h:65
INDI_DIR_NS
INDI_DIR_NS
Definition:
indibasetypes.h:44
DIRECTION_EAST
@ DIRECTION_EAST
Definition:
indibasetypes.h:52
INDI_LIGHT
@ INDI_LIGHT
Definition:
indibasetypes.h:42
INDI_DIR_WE
INDI_DIR_WE
Definition:
indibasetypes.h:50
INDI_BAYER_GRBG
@ INDI_BAYER_GRBG
Definition:
indibasetypes.h:67
INDI_ERROR_TYPE
INDI_ERROR_TYPE
Definition:
indibasetypes.h:56
INDI_PROPERTY_TYPE
INDI_PROPERTY_TYPE
Definition:
indibasetypes.h:22
INDI_SWITCH
@ INDI_SWITCH
Definition:
indibasetypes.h:40
INDI_BAYER_CYYM
@ INDI_BAYER_CYYM
Definition:
indibasetypes.h:70
INDI_RGB
@ INDI_RGB
Definition:
indibasetypes.h:74
INDI_BAYER_YCMY
@ INDI_BAYER_YCMY
Definition:
indibasetypes.h:71
INDI_UNKNOWN
@ INDI_UNKNOWN
Definition:
indibasetypes.h:44
INDI_DEVICE_NOT_FOUND
@ INDI_DEVICE_NOT_FOUND
Definition:
indibasetypes.h:57
INDI_PROPERTY_INVALID
@ INDI_PROPERTY_INVALID
Definition:
indibasetypes.h:58
AXIS_ALT
@ AXIS_ALT
Definition:
indibasetypes.h:40
INDI_JPG
@ INDI_JPG
Definition:
indibasetypes.h:76
INDI_BAYER_RGGB
@ INDI_BAYER_RGGB
Definition:
indibasetypes.h:66
INDI_BAYER_MYYC
@ INDI_BAYER_MYYC
Definition:
indibasetypes.h:73
INDI_BAYER_YMCY
@ INDI_BAYER_YMCY
Definition:
indibasetypes.h:72
AXIS_AZ
@ AXIS_AZ
Definition:
indibasetypes.h:39
AXIS_RA
@ AXIS_RA
Definition:
indibasetypes.h:33
INDI_EQ_AXIS
INDI_EQ_AXIS
Definition:
indibasetypes.h:32
DIRECTION_WEST
@ DIRECTION_WEST
Definition:
indibasetypes.h:51
INDI_BAYER_BGGR
@ INDI_BAYER_BGGR
Definition:
indibasetypes.h:69
INDI_DISPATCH_ERROR
@ INDI_DISPATCH_ERROR
Definition:
indibasetypes.h:60
INDI_PROPERTY_DUPLICATED
@ INDI_PROPERTY_DUPLICATED
Definition:
indibasetypes.h:59
AXIS_DE
@ AXIS_DE
Definition:
indibasetypes.h:34
INDI_PIXEL_FORMAT
INDI_PIXEL_FORMAT
Definition:
indibasetypes.h:63
Generated on Tue Jan 25 2022 14:40:57 for Instrument Neutral Distributed Interface INDI by
1.8.17