5 #include <Poco/SharedPtr.h>
6 #include <Poco/Timespan.h>
8 #include <Poco/Net/SocketAddress.h>
10 #include "belkin/BelkinWemoDevice.h"
11 #include "net/HTTPEntireResponse.h"
12 #include "net/MACAddress.h"
22 typedef Poco::SharedPtr<BelkinWemoStandaloneDevice> Ptr;
26 const Poco::Timespan &httpTimeout,
45 const std::string& getModuleName,
const int value)
const;
47 Poco::Net::SocketAddress address()
const;
48 void setAddress(
const Poco::Net::SocketAddress& address);
59 const Poco::Timespan &httpTimeout);
67 const Poco::Timespan& httpTimeout);
71 const Poco::Timespan m_httpTimeout;
Abstract class representing generic BelkinWemo device.
Definition: BelkinWemoDevice.h:24
RefreshTime represents time of refreshing values from sensors. E.g. sensors are polled periodically o...
Definition: RefreshTime.h:24
HTTPEntireResponse requestBinaryState() const
Prepares SOAP message containing GetBinaryState request and sends it to device via HTTP...
Definition: BelkinWemoStandaloneDevice.cpp:76
Definition: HTTPEntireResponse.h:13
Definition: MACAddress.h:8
bool requestModifyBinaryState(const std::string &setModuleName, const std::string &getModuleName, const int value) const
Prepares SOAP message containing SetBinaryState request and sends it to device via HTTP...
Definition: BelkinWemoStandaloneDevice.cpp:119
Definition: DeviceID.h:17
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