Instrument Neutral Distributed Interface INDI 2.2.5
Classes | Macros | Enumerations
gemini_flatpanel_adapters.h File Reference
#include <cstdint>

Go to the source code of this file.

Classes

class  GeminiFlatpanelAdapter
 Abstract adapter interface for Gemini Flatpanel firmware versions. More...
 
class  GeminiFlatpanelRev1Adapter
 Concrete adapter implementation for Gemini Flatpanel Revision 1 firmware. More...
 
class  GeminiFlatpanelRev2Adapter
 Concrete adapter implementation for Gemini Flatpanel Revision 2 firmware. More...
 
class  GeminiFlatpanelLiteAdapter
 Concrete adapter implementation for Gemini Flatpanel Lite firmware. More...
 
class  GeminiFlatpanelProAdapter
 Concrete adapter implementation for Gemini Pro firmware. More...
 
class  GeminiFlatpanelSimulationAdapter
 Simulation adapter for testing and development. More...
 

Macros

#define GEMINI_MIN_BRIGHTNESS   0
 
#define GEMINI_MAX_BRIGHTNESS   255
 
#define SERIAL_TIMEOUT_SEC   10
 
#define SERIAL_TIMEOUT_SEC_LONG   120
 
#define NO_VALUE   1000
 

Enumerations

enum  GeminiRevision {
  GEMINI_REVISION_UNKNOWN = 0 , GEMINI_REVISION_1 = 1 , GEMINI_REVISION_2 = 2 , GEMINI_REVISION_LITE = 3 ,
  GEMINI_REVISION_PRO = 4
}
 
enum  GeminiConfigStatus { GEMINI_CONFIG_NOTREADY = 0 , GEMINI_CONFIG_READY = 1 , GEMINI_CONFIG_CLOSED = 2 , GEMINI_CONFIG_OPEN = 3 }
 
enum  GeminiBrightnessMode { GEMINI_BRIGHTNESS_MODE_LOW = 0 , GEMINI_BRIGHTNESS_MODE_HIGH = 1 }
 
enum  GeminiCoverStatus { GEMINI_COVER_STATUS_MOVING = 0 , GEMINI_COVER_STATUS_CLOSED = 1 , GEMINI_COVER_STATUS_OPEN = 2 , GEMINI_COVER_STATUS_TIMED_OUT = 3 }
 
enum  GeminiLightStatus { GEMINI_LIGHT_STATUS_OFF = 0 , GEMINI_LIGHT_STATUS_ON = 1 }
 
enum  GeminiMotorStatus { GEMINI_MOTOR_STATUS_STOPPED = 0 , GEMINI_MOTOR_STATUS_RUNNING = 1 }
 
enum  GeminiDirection { GEMINI_DIRECTION_CLOSE = -1 , GEMINI_DIRECTION_OPEN = 1 }
 
enum  GeminiBeepStatus { GEMINI_BEEP_OFF = 0 , GEMINI_BEEP_ON = 1 }
 

Macro Definition Documentation

◆ GEMINI_MAX_BRIGHTNESS

#define GEMINI_MAX_BRIGHTNESS   255

Definition at line 10 of file gemini_flatpanel_adapters.h.

◆ GEMINI_MIN_BRIGHTNESS

#define GEMINI_MIN_BRIGHTNESS   0

Definition at line 9 of file gemini_flatpanel_adapters.h.

◆ NO_VALUE

#define NO_VALUE   1000

Definition at line 13 of file gemini_flatpanel_adapters.h.

◆ SERIAL_TIMEOUT_SEC

#define SERIAL_TIMEOUT_SEC   10

Definition at line 11 of file gemini_flatpanel_adapters.h.

◆ SERIAL_TIMEOUT_SEC_LONG

#define SERIAL_TIMEOUT_SEC_LONG   120

Definition at line 12 of file gemini_flatpanel_adapters.h.

Enumeration Type Documentation

◆ GeminiBeepStatus

Enumerator
GEMINI_BEEP_OFF 
GEMINI_BEEP_ON 

Definition at line 67 of file gemini_flatpanel_adapters.h.

◆ GeminiBrightnessMode

Enumerator
GEMINI_BRIGHTNESS_MODE_LOW 
GEMINI_BRIGHTNESS_MODE_HIGH 

Definition at line 34 of file gemini_flatpanel_adapters.h.

◆ GeminiConfigStatus

Enumerator
GEMINI_CONFIG_NOTREADY 
GEMINI_CONFIG_READY 
GEMINI_CONFIG_CLOSED 
GEMINI_CONFIG_OPEN 

Definition at line 26 of file gemini_flatpanel_adapters.h.

◆ GeminiCoverStatus

Enumerator
GEMINI_COVER_STATUS_MOVING 
GEMINI_COVER_STATUS_CLOSED 
GEMINI_COVER_STATUS_OPEN 
GEMINI_COVER_STATUS_TIMED_OUT 

Definition at line 41 of file gemini_flatpanel_adapters.h.

◆ GeminiDirection

Enumerator
GEMINI_DIRECTION_CLOSE 
GEMINI_DIRECTION_OPEN 

Definition at line 61 of file gemini_flatpanel_adapters.h.

◆ GeminiLightStatus

Enumerator
GEMINI_LIGHT_STATUS_OFF 
GEMINI_LIGHT_STATUS_ON 

Definition at line 49 of file gemini_flatpanel_adapters.h.

◆ GeminiMotorStatus

Enumerator
GEMINI_MOTOR_STATUS_STOPPED 
GEMINI_MOTOR_STATUS_RUNNING 

Definition at line 55 of file gemini_flatpanel_adapters.h.

◆ GeminiRevision

Enumerator
GEMINI_REVISION_UNKNOWN 
GEMINI_REVISION_1 
GEMINI_REVISION_2 
GEMINI_REVISION_LITE 
GEMINI_REVISION_PRO 

Definition at line 17 of file gemini_flatpanel_adapters.h.