TwiceAsNice  2019-02-18
Classes | Macros
focuslynxbase.h File Reference
#include "indifocuser.h"
#include <indicom.h>
#include "connectionplugins/connectionserial.h"
#include "connectionplugins/connectiontcp.h"
#include <map>
#include <termios.h>
#include <unistd.h>
#include <memory>
#include <cmath>
#include <cstring>
Include dependency graph for focuslynxbase.h:
This graph shows which files directly or indirectly include this file:

Classes

class  FocusLynxBase
 

Macros

#define LYNXFOCUS_MAX_RETRIES   1
 
#define LYNXFOCUS_TIMEOUT   2
 
#define LYNXFOCUS_MAXBUF   16
 
#define LYNXFOCUS_TEMPERATURE_FREQ   20 /* Update every 20 POLLMS cycles. For POLLMS 500ms = 10 seconds freq */
 
#define LYNXFOCUS_POSITION_THRESHOLD   5 /* Only send position updates to client if the diff exceeds 5 steps */
 
#define FOCUS_SETTINGS_TAB   "Settings"
 
#define FOCUS_STATUS_TAB   "Status"
 
#define HUB_SETTINGS_TAB   "Device"
 
#define VERSION   1
 
#define SUBVERSION   3
 

Macro Definition Documentation

◆ FOCUS_SETTINGS_TAB

#define FOCUS_SETTINGS_TAB   "Settings"

◆ FOCUS_STATUS_TAB

#define FOCUS_STATUS_TAB   "Status"

◆ HUB_SETTINGS_TAB

#define HUB_SETTINGS_TAB   "Device"

◆ LYNXFOCUS_MAX_RETRIES

#define LYNXFOCUS_MAX_RETRIES   1

◆ LYNXFOCUS_MAXBUF

#define LYNXFOCUS_MAXBUF   16

◆ LYNXFOCUS_POSITION_THRESHOLD

#define LYNXFOCUS_POSITION_THRESHOLD   5 /* Only send position updates to client if the diff exceeds 5 steps */

◆ LYNXFOCUS_TEMPERATURE_FREQ

#define LYNXFOCUS_TEMPERATURE_FREQ   20 /* Update every 20 POLLMS cycles. For POLLMS 500ms = 10 seconds freq */

◆ LYNXFOCUS_TIMEOUT

#define LYNXFOCUS_TIMEOUT   2

◆ SUBVERSION

#define SUBVERSION   3

◆ VERSION

#define VERSION   1