31#define INDI_PROPERTY_BACKWARD_COMPATIBILE
61#ifdef INDI_PROPERTY_BACKWARD_COMPATIBILE
121 bool isNameMatch(
const std::string &otherName)
const;
132 void onUpdate(
const std::function<
void()> &callback);
140 void save(FILE *fp)
const;
156#ifdef INDI_PROPERTY_BACKWARD_COMPATIBILE
165#ifdef INDI_PROPERTY_BACKWARD_COMPATIBILE
209 bool operator != (
std::nullptr_t)
const
215 bool operator == (
std::nullptr_t)
const
220 operator bool()
const
231 std::shared_ptr<PropertyPrivate>
d_ptr;
232 Property(
const std::shared_ptr<PropertyPrivate> &dd);
250static int indi_property_metatype_id = QMetaTypeId< INDI::Property >::qt_metatype_id();
Class to provide basic INDI device functionality.
Provides generic container for INDI properties.
bool isDeviceNameMatch(const char *otherDeviceName) const
void onUpdate(const std::function< void()> &callback)
INDI::PropertyViewSwitch * getSwitch() const
const char * getGroupName() const
INDI::PropertyViewBlob * getBLOB() const
INDI::PropertyViewText * getText() const
void void void apply() const
const char * getDeviceName() const
void setTimestamp(const char *timestamp)
void setLabel(const char *label)
void save(FILE *fp) const
const char * getStateAsString() const
INDI::PropertyViewNumber * getNumber() const
friend class BaseDevicePrivate
const char * getName() const
INDI::PropertyViewLight * getLight() const
friend class PropertyText
friend class PropertyNumber
IPerm getPermission() const
void setType(INDI_PROPERTY_TYPE t)
friend class PropertySwitch
void setGroupName(const char *groupName)
void * getProperty() const
bool hasUpdateCallback() const
void setTimeout(double timeout)
void setDeviceName(const char *deviceName)
bool isNameMatch(const char *otherName) const
const char * getTypeAsString() const
friend class PropertyLight
BaseDevice getBaseDevice() const
std::shared_ptr< PropertyPrivate > d_ptr
const char * getLabel() const
void setBaseDevice(BaseDevice *idp)
bool getRegistered() const
void setName(const char *name)
INDI_PROPERTY_TYPE getType() const
bool isLabelMatch(const char *otherLabel) const
void setRegistered(bool r)
const char * getTimestamp() const
friend class PropertyBlob
bool isTypeMatch(INDI_PROPERTY_TYPE otherType) const
void setState(IPState state)
void setPermission(IPerm permission)
struct _IBLOBVectorProperty IBLOBVectorProperty
IPerm
Permission hint, with respect to client.
struct _ISwitchVectorProperty ISwitchVectorProperty
struct _ITextVectorProperty ITextVectorProperty
struct _ILightVectorProperty ILightVectorProperty
struct _INumberVectorProperty INumberVectorProperty
#define ATTRIBUTE_FORMAT_PRINTF(A, B)
#define INDI_DEPRECATED(message)
Namespace to encapsulate INDI client, drivers, and mediator classes.
PropertyView< IBLOB > PropertyViewBlob
PropertyView< ISwitch > PropertyViewSwitch
PropertyView< ILight > PropertyViewLight
PropertyView< INumber > PropertyViewNumber
PropertyView< IText > PropertyViewText