43 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
56 std::map<std::string, std::string> createMap(std::string
const &s);
58 bool createPropertiesFromMap();
60 IText watchFileT[1] {};
63 bool initialParse {
false };
64 std::string readBuffer;
66 std::map<std::string, std::string> weatherMap;
virtual void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
virtual IPState updateWeather() override
updateWeather Update weather conditions from device or service. The function should not change the st...
ITextVectorProperty separatorTP
ITextVectorProperty keywordTP
bool Disconnect() override
Disconnect from device.
const char * getDefaultName() override
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
Text vector property descriptor.