Instrument Neutral Distributed Interface INDI 2.2.5
tutorial_client.h
Go to the documentation of this file.
1/*
2 Tutorial Client
3 Copyright (C) 2010 Jasem Mutlaq ([email protected])
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
19*/
20
21#pragma once
22
37#include "baseclient.h"
38#include <basedevice.h>
39
41{
42 public:
43 MyClient();
44 ~MyClient() = default;
45
46 public:
47 void setTemperature(double value);
48 void takeExposure(double seconds);
49
50 protected:
51 void newMessage(INDI::BaseDevice baseDevice, int messageID) override;
52
53 private:
54 INDI::BaseDevice mSimpleCCD;
55};
Class to provide basic client functionality.
Definition baseclient.h:52
Class to provide basic INDI device functionality.
Definition basedevice.h:52
void setTemperature(double value)
~MyClient()=default
void newMessage(INDI::BaseDevice baseDevice, int messageID) override
Emmited when a new message arrives from INDI server.
void takeExposure(double seconds)