Searched refs:GroveTemperature (Results 1 – 2 of 2) sorted by relevance
21 struct sensor_t GroveTemperature::sensorDescription = {40 Sensor * GroveTemperature::createSensor(int pollFd) { in createSensor()41 return new GroveTemperature(pollFd, 0); in createSensor()44 void GroveTemperature::initModule() { in initModule()48 GroveTemperature::GroveTemperature(int pollFd, int pin) : upm::GroveTemp(pin), pollFd(pollFd) { in GroveTemperature() function in GroveTemperature53 GroveTemperature::~GroveTemperature() {} in ~GroveTemperature()55 int GroveTemperature::pollEvents(sensors_event_t* data, int count) { in pollEvents()60 int GroveTemperature::activate(int handle, int enabled) { in activate()
31 class GroveTemperature : public Sensor, public upm::GroveTemp { class38 GroveTemperature(int pollFd, int pin);43 ~GroveTemperature() override;