Kstars
12#include "indipropertyswitch.h"
24class ConcreteDevice :
public GDInterface
32 virtual ~ConcreteDevice()
override =
default;
34 const QString &getDeviceName()
const
41 return m_Parent->isReady();
43 bool isConnected()
const
45 return m_Parent->isConnected();
55 m_Parent->Disconnect();
58 uint32_t getDriverInterface()
60 return m_Parent->getDriverInterface();
68 INDI::PropertyView<INumber> *getNumber(
const QString &name)
const;
81 INDI::Property getProperty(
const QString &name)
const;
82 Properties getProperties()
const;
84 bool setConfig(INDIConfig tConfig);
85 bool getMinMaxStep(
const QString &propName,
const QString &elementName,
double *min,
double *max,
87 IPState getState(
const QString &propName)
const;
88 IPerm getPermission(
const QString &propName)
const;
89 QString getMessage(
int id)
const;
91 const QString &getDUBSObjectPath()
const
93 return m_DBusObjectPath;
97 virtual void registerProperty(INDI::Property)
override {}
98 virtual void removeProperty(INDI::Property)
override {}
99 virtual void updateProperty(INDI::Property prop)
override;
101 virtual void processSwitch(INDI::Property)
override {}
102 virtual void processText(INDI::Property)
override {}
103 virtual void processNumber(INDI::Property)
override {}
104 virtual void processLight(INDI::Property)
override {}
105 virtual bool processBLOB(INDI::Property)
override
109 virtual void processMessage(
int)
override {}
127 void propertyDefined(INDI::Property prop);
128 void propertyUpdated(INDI::Property prop);
129 void propertyDeleted(INDI::Property prop);
138 static uint8_t getID()
void registeProperties()
Register all properties.
void sendNewProperty(INDI::Property prop)
Send new property command to server.
void processProperties()
processProperties Process all properties
INDI::PropertyView< IBLOB > * getBLOB(const QString &name) const
INDI::PropertyView< ILight > * getLight(const QString &name) const
INDI::PropertyView< IText > * getText(const QString &name) const
INDI::PropertyView< ISwitch > * getSwitch(const QString &name) const
GenericDevice is the Generic Device for INDI devices.
ISD is a collection of INDI Standard Devices.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.