Instrument Neutral Distributed Interface INDI
1.9.5
|
Go to the documentation of this file.
69 void initProperties(
const char *statusGroup,
const char *paramsGroup);
78 bool processNumber(
const char *dev,
const char *
name,
double values[],
char *names[],
int n);
112 void addParameter(std::string
name, std::string label,
double numMinOk,
double numMaxOk,
double percWarning);
161 void createParameterRange(std::string
name, std::string label);
163 std::string m_ParametersGroup;
void initProperties(const char *statusGroup, const char *paramsGroup)
Initilize focuser properties. It is recommended to call this function within initProperties() of your...
bool setCriticalParameter(std::string param)
setCriticalParameter Set parameter that is considered critical to the operation of the observatory....
ILight * critialParametersL
Light vector property descriptor.
bool syncCriticalParameters()
updateWeatherState Send update weather state to client
INumberVectorProperty ParametersNP
Number vector property descriptor.
ILightVectorProperty critialParametersLP
virtual bool saveConfigItems(FILE *fp)
saveConfigItems Save parameters ranges in the config file.
bool processNumber(const char *dev, const char *name, double values[], char *names[], int n)
Process focus number properties.
void addParameter(std::string name, std::string label, double numMinOk, double numMaxOk, double percWarning)
addParameter Add a physical weather measurable parameter to the weather driver. The weather value has...
IPState checkParameterState(const std::string ¶m) const
checkParameterState Checks the given parameter against the defined bounds
WeatherInterface(DefaultDevice *defaultDevice)
virtual ~WeatherInterface()
Namespace to encapsulate INDI client, drivers, and mediator classes.
Provides interface to implement weather reporting functionality.
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
INumberVectorProperty * ParametersRangeNP
bool updateProperties()
updateProperties Define or Delete Rotator properties based on the connection status of the base devic...
virtual IPState updateWeather()
updateWeather Update weather conditions from device or service. The function should not change the st...
void setParameterValue(std::string name, double value)
setParameterValue Update weather parameter value