Instrument Neutral Distributed Interface INDI  2.0.2
parentdevice.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "basedevice.h"
4 
13 namespace INDI
14 {
15 
16 class ParentDevicePrivate;
17 class ParentDevice: public BaseDevice
18 {
19  DECLARE_PRIVATE(ParentDevice)
20 
21  ParentDevice(const ParentDevice &) = delete;
22  ParentDevice &operator=(const ParentDevice &) = delete;
23 
24  public:
25  enum Type
26  {
28  Invalid
29  };
30 
31  public:
32  explicit ParentDevice(Type type);
33  ~ParentDevice();
34 
35  public:
36  ParentDevice(ParentDevice &&other) = default;
37  ParentDevice &operator=(ParentDevice &&other) = default;
38 
39  protected:
40  ParentDevice(const std::shared_ptr<ParentDevicePrivate> &dd);
41 };
42 
43 }
Class to provide basic INDI device functionality.
Definition: basedevice.h:52
The class is used to create device instances. Class copying is not allowed. When an object is destroy...
Definition: parentdevice.h:18
ParentDevice & operator=(ParentDevice &&other)=default
ParentDevice(ParentDevice &&other)=default
ParentDevice(Type type)
Namespace to encapsulate INDI client, drivers, and mediator classes.
__le16 type
Definition: pwc-ioctl.h:0
Holds the connection type.