Instrument Neutral Distributed Interface INDI  2.0.2
simpledevice.h
Go to the documentation of this file.
1 /*
2  INDI Developers Manual
3  Tutorial #1
4 
5  "Hello INDI"
6 
7  We construct a most basic (and useless) device driver to illustate INDI.
8 
9  Refer to README, which contains instruction on how to build this driver, and use it
10  with an INDI-compatible client.
11 
12 */
13 
22 #pragma once
23 
24 #include "defaultdevice.h"
25 
27 {
28  public:
29  SimpleDevice() = default;
30 
31  protected:
32  bool Connect() override;
33  bool Disconnect() override;
34  const char *getDefaultName() override;
35 };
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
SimpleDevice()=default
bool Disconnect() override
Disconnect from device.
const char * getDefaultName() override
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...