7 #include <Poco/SharedPtr.h>
8 #include <Poco/Timespan.h>
10 #include "zwave/ZWaveNode.h"
25 typedef Poco::SharedPtr<ZWaveNetwork> Ptr;
101 static PollEvent createRemoveNodeStart();
114 std::string toString()
const;
123 Poco::SharedPtr<ZWaveNode> m_node;
124 Poco::SharedPtr<ZWaveNode::Value> m_value;
127 virtual ~ZWaveNetwork();
136 const Poco::Timespan &timeout) = 0;
174 virtual void postValue(
const ZWaveNode::Value&) = 0;
Z-Wave inclusion process has stopped.
Definition: ZWaveNetwork.h:74
virtual void postValue(const ZWaveNode::Value &)=0
Post the given value into the Z-Wave network. There is no implicit feedback about the result status...
virtual PollEvent pollEvent(const Poco::Timespan &timeout)=0
Poll for new events in the ZWaveNetwork.
Value coming from the Z-Wave network. It holds some data (usually sensor data) and metadata to identi...
Definition: ZWaveNode.h:102
A new Z-Wave node has been detected. There might be incomplete information about it. Use method PollEvent::node() to access it.
Definition: ZWaveNetwork.h:46
Z-Wave node removal process has stopped.
Definition: ZWaveNetwork.h:84
A Z-Wave node has been removed from the Z-Wave network. Use method PollEvent::node() to access it...
Definition: ZWaveNetwork.h:58
Representation of events reported by the ZWaveNetwork implementation via the call pollEvent()...
Definition: ZWaveNetwork.h:31
ZWaveNetwork is an interface to a real Z-Wave network.
Definition: ZWaveNetwork.h:23
virtual void cancelRemoveNode()=0
Cancel remove node if it is running.
Z-Wave node removal process has started.
Definition: ZWaveNetwork.h:79
A Z-Wave node's information has been updated. Use method PollEvent::node() to access it...
Definition: ZWaveNetwork.h:52
Received data from a Z-Wave node. Use method PollEvent::value() to access it.
Definition: ZWaveNetwork.h:64
virtual void startInclusion()=0
Starts the Z-Wave network node inclusion process.
Type
Definition: ZWaveNetwork.h:33
virtual void cancelInclusion()=0
Cancel inclusion if it is running.
All available Z-Wave nodes have been queried.
Definition: ZWaveNetwork.h:89
ZWaveNode represents information from the Z-Wave network about a particular node. Each Z-Wave node is...
Definition: ZWaveNode.h:22
virtual void interrupt()=0
Interrupt any blocking calls currently in progress.
Z-Wave inclusion process has started.
Definition: ZWaveNetwork.h:69
virtual void startRemoveNode()=0
Start node removal process in the Z-Wave network.
Dummy, nothing happens. It might come when interrupted for some reason (termination). It can be just a spurious wakeup.
Definition: ZWaveNetwork.h:39