forked from selste/TwoStepperControl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalccd5_client.h
More file actions
39 lines (36 loc) · 1.2 KB
/
alccd5_client.h
File metadata and controls
39 lines (36 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "indidevapi.h"
#include "indicom.h"
#include "indibase/baseclient.h"
#include <QString>
#include <QImage>
#include <QPixmap>
class alccd5_client : public INDI::BaseClient {
public:
alccd5_client();
~alccd5_client();
void takeExposure(int);
bool setINDIServer(QString, int);
QPixmap* getScaledPixmapFromCamera(void);
bool newImageArrived(void);
void newImageUsedAsPixmap(void);
protected:
virtual void newDevice(INDI::BaseDevice *dp);
virtual void removeDevice(INDI::BaseDevice *dp) {}
virtual void newProperty(INDI::Property *property);
virtual void removeProperty(INDI::Property *property) {}
virtual void newBLOB(IBLOB *bp);
virtual void newSwitch(ISwitchVectorProperty *svp) {}
virtual void newNumber(INumberVectorProperty *nvp);
virtual void newMessage(INDI::BaseDevice *dp, int messageID);
virtual void newText(ITextVectorProperty *tvp) {}
virtual void newLight(ILightVectorProperty *lvp) {}
virtual void serverConnected() {}
virtual void serverDisconnected(int exit_code) {}
private:
INDI::BaseDevice * alccd5;
QImage* fitsqimage;
QPixmap* displayPMap;
int imgwidth;
int imgheight;
bool newCameraImageAvailable;
};