#include <Controller.h>
◆ Controller()
OpenZWave::Controller::Controller |
( |
| ) |
|
|
inline |
Consructor. Creates the controller object.
◆ ~Controller()
virtual OpenZWave::Controller::~Controller |
( |
| ) |
|
|
inlinevirtual |
Destructor. Destroys the controller object.
◆ Close()
virtual bool OpenZWave::Controller::Close |
( |
| ) |
|
|
pure virtual |
◆ Open()
virtual bool OpenZWave::Controller::Open |
( |
string const & |
_controllerName | ) |
|
|
pure virtual |
◆ PlayInitSequence()
void Controller::PlayInitSequence |
( |
Driver * |
_driver | ) |
|
Queues a set of Z-Wave messages in the correct order needed to initialize the Controller implementation.
- Parameters
-
Pointer | to the driver object that will handle the messages. |
- See also
- Driver::Init
◆ Read()
Read from a controller. Attempts to read data from an open controller.
- Parameters
-
_buffer | Pointer to a block of memory large enough to hold the requested data. |
_length | Length in bytes of the data to be read. |
- Returns
- The number of bytes read.
- See also
- Write, Open, Close
◆ Write()
Write to a controller. Attempts to write data to an open controller.
- Parameters
-
_buffer | Pointer to a block of memory containing the data to be written. |
_length | Length in bytes of the data. |
- Returns
- The number of bytes written.
- See also
- Read, Open, Close
Implemented in OpenZWave::HidController, and OpenZWave::SerialController.
The documentation for this class was generated from the following files: