X2 Standard  Version 1.24
driverrootinterface.h
1 #ifndef _DriverRootInterface_H
2 #define _DriverRootInterface_H
3 
4 #define DriverRootInterface_Name "com.bisque.TheSkyX.DriverRootInterface/1.0"
5 
6 #define DRIVER_MAX_STRING 1000
7 
21 {
22 public:
23 
26  {
28  DT_MOUNT = 1,
30  DT_CAMERA = 3,
32  DT_DOME = 5,
35  DT_GPSTFP = 8,
36  DT_VIDEO = 9,
37  DT_OTA =10,
38  DT_AO =11,
41  };
42 
43  virtual ~DriverRootInterface(){}
44 
45 public:
47  virtual DeviceType deviceType(void) = 0;
49  virtual int queryAbstraction(const char* pszName, void** ppVal) = 0;
50 
51 };
52 
53 #endif
DriverRootInterface::DT_CAMERA
@ DT_CAMERA
Definition: driverrootinterface.h:30
DriverRootInterface::queryAbstraction
virtual int queryAbstraction(const char *pszName, void **ppVal)=0
DriverRootInterface::DT_PRIVATE_A
@ DT_PRIVATE_A
Definition: driverrootinterface.h:40
DriverRootInterface
The DriverRootInterface is the foundation for all X2 device drivers.
Definition: driverrootinterface.h:21
DriverRootInterface::DT_MOUNT
@ DT_MOUNT
Definition: driverrootinterface.h:28
DriverRootInterface::DT_GPSTFP
@ DT_GPSTFP
Definition: driverrootinterface.h:35
DriverRootInterface::DT_AO
@ DT_AO
Definition: driverrootinterface.h:38
DriverRootInterface::DT_WEATHER
@ DT_WEATHER
Definition: driverrootinterface.h:34
DriverRootInterface::DT_UNKNOWN
@ DT_UNKNOWN
Definition: driverrootinterface.h:27
DriverRootInterface::DeviceType
DeviceType
Definition: driverrootinterface.h:26
DriverRootInterface::DT_FILTERWHEEL
@ DT_FILTERWHEEL
Definition: driverrootinterface.h:31
DriverRootInterface::DT_DOME
@ DT_DOME
Definition: driverrootinterface.h:32
DriverRootInterface::DT_ROTATOR
@ DT_ROTATOR
Definition: driverrootinterface.h:33
DriverRootInterface::DT_OTA
@ DT_OTA
Definition: driverrootinterface.h:37
DriverRootInterface::DT_VIDEO
@ DT_VIDEO
Definition: driverrootinterface.h:36
DriverRootInterface::DT_FOCUSER
@ DT_FOCUSER
Definition: driverrootinterface.h:29
DriverRootInterface::deviceType
virtual DeviceType deviceType(void)=0
DriverRootInterface::DT_POWERCONTROL
@ DT_POWERCONTROL
Definition: driverrootinterface.h:39
X2 Examples
(C) Software Bisque, Inc. All rights reserved.