3 #include <Poco/SynchronizedObject.h>
4 #include <Poco/Timespan.h>
6 #pragma GCC diagnostic push
7 #pragma GCC diagnostic ignored "-Wunused-parameter"
8 #pragma GCC diagnostic push
9 #pragma GCC diagnostic ignored "-Wignored-qualifiers"
10 #include <openzwave/Driver.h>
11 #pragma GCC diagnostic pop
12 #pragma GCC diagnostic pop
14 #include "util/Loggable.h"
65 void request(Type type, uint32_t home);
83 bool cancelIf(Type type,
const Poco::Timespan &timeout);
92 void onError(OpenZWave::Driver::ControllerError error);
99 OpenZWave::Driver::ControllerState state,
100 OpenZWave::Driver::ControllerError error,
104 std::string typeName()
const;
105 std::string typeName(Type type)
const;
106 void stopCancelling();
OZWCommand handles OpenZWave command management. It allows to request a command to be executed and ta...
Definition: OZWCommand.h:25
bool wasRequested() const
Definition: OZWCommand.cpp:246
bool cancelIf(Type type, const Poco::Timespan &timeout)
Cancel the current command if it is of the given type. This allows to cancel e.g. INCLUSION without k...
Definition: OZWCommand.cpp:150
OZWNetwork manages the Z-Wave network by using the OpenZWave library (OZW). Its purpose is to handle ...
Definition: OZWNetwork.h:54
bool isCancelling() const
Definition: OZWCommand.cpp:258
bool isRunning() const
Definition: OZWCommand.cpp:252
Type type() const
Definition: OZWCommand.cpp:221
Definition: Loggable.h:19
void request(Type type, uint32_t home)
Request the given type of command to execute in the context of the given Z-Wave home ID...
Definition: OZWCommand.cpp:100