Instrument Neutral Distributed Interface INDI
1.9.5
|
Go to the documentation of this file.
44 class BaseDevicePrivate;
251 std::shared_ptr<BaseDevicePrivate>
d_ptr;
void addMessage(const std::string &msg)
Add message to the driver's message queue.
Properties getProperties()
Return a list of all properties in the device.
INDI::PropertyView< IText > * getText(const char *name) const
virtual uint16_t getDriverInterface()
getDriverInterface returns ORed values of DRIVER_INTERFACE. It presents the device classes supported ...
const char * getDriverExec() const
const char * getDriverName() const
Light vector property descriptor.
BLOB (Binary Large Object) vector property descriptor.
INDI::PropertyView< IBLOB > * getBLOB(const char *name) const
INDI::PropertyView< INumber > * getNumber(const char *name) const
bool buildSkeleton(const char *filename)
Build driver properties from a skeleton file.
int setBLOB(IBLOBVectorProperty *pp, XMLEle *root, char *errmsg)
Parse and store BLOB in the respective vector.
const std::string & messageQueue(size_t index) const
const char * getDeviceName() const
void setMediator(INDI::BaseMediator *mediator)
Set the driver's mediator to receive notification of news devices and updated property values.
INDI::PropertyView< ISwitch > * getSwitch(const char *name) const
void doMessage(XMLEle *msg)
Provides generic container for INDI properties.
Text vector property descriptor.
Property getProperty(const char *name, INDI_PROPERTY_TYPE type=INDI_UNKNOWN) const
Return a property and its type given its name.
Number vector property descriptor.
void setDeviceName(const char *dev)
Set the device name.
void checkMessage(XMLEle *root)
const std::string & lastMessage() const
IPerm
Permission hint, with respect to client.
INDI::BaseMediator * getMediator() const
const char * getDriverVersion() const
int setValue(XMLEle *root, char *errmsg)
handle SetXXX commands from client
int removeProperty(const char *name, char *errmsg)
Remove a property.
void * getRawProperty(const char *name, INDI_PROPERTY_TYPE type=INDI_UNKNOWN) const
Return a property and its type given its name.
DRIVER_INTERFACE
The DRIVER_INTERFACE enum defines the class of devices the driver implements. A driver may implement ...
Namespace to encapsulate INDI client, drivers, and mediator classes.
IPerm getPropertyPermission(const char *name) const
int buildProp(XMLEle *root, char *errmsg, bool isDynamic=false)
Build a property given the supplied XML element (defXXX)
bool isDeviceNameMatch(const char *otherName) const
Check that the device name matches the argument.
std::shared_ptr< BaseDevicePrivate > d_ptr
IPState getPropertyState(const char *name) const
void registerProperty(void *p, INDI_PROPERTY_TYPE type)
INDI::Properties Properties
Class to provide basic INDI device functionality.
@ INDI_PROPERTY_DUPLICATED
INDI::PropertyView< ILight > * getLight(const char *name) const
Switch vector property descriptor.