6 #include <Poco/Timespan.h>
7 #include <Poco/SharedPtr.h>
8 #include <Poco/Net/SocketAddress.h>
10 #include "belkin/BelkinWemoStandaloneDevice.h"
11 #include "model/ModuleType.h"
12 #include "model/SensorData.h"
23 typedef Poco::SharedPtr<BelkinWemoDimmer> Ptr;
32 const Poco::Net::SocketAddress& address,
33 const Poco::Timespan &httpTimeout,
40 bool requestModifyState(
const ModuleID& moduleID,
const double value)
override;
52 std::list<ModuleType> moduleTypes()
const override;
53 std::string name()
const override;
The class represents Belkin WeMo Dimmer F7C059. Provides functions to control the switch...
Definition: BelkinWemoDimmer.h:21
RefreshTime represents time of refreshing values from sensors. E.g. sensors are polled periodically o...
Definition: RefreshTime.h:24
BelkinWemoDimmer(const Poco::Net::SocketAddress &address, const Poco::Timespan &httpTimeout, const RefreshTime &refresh)
Creates belkin wemo dimmer. If the device do not respond in specified timeout, Poco::TimeoutException...
Definition: BelkinWemoDimmer.cpp:29
Definition: SensorData.h:20
Definition: ModuleID.h:12
Abstract class representing generic BelkinWemo standalone device. The class implements sending messag...
Definition: BelkinWemoStandaloneDevice.h:20
RefreshTime refresh() const override
Regular period telling how often to call the method PollableDevice::poll(). The refresh must contain ...
Definition: BelkinWemoDevice.cpp:30