|
Veethree D7 SDK
|
The digital_out_channel class.
This class holds the configuration for a particular digital output channel. It is also responsible for enabling/disabling the channel.
#include <digital_out_channel.h>
Public Member Functions | |
| digital_out_channel (const digital_out_descriptor &desc) | |
| The class constructor. | |
| digital_out_channel (std::shared_ptr< digital_context_interface > instance, const digital_out_descriptor &desc) | |
| The class constructor. | |
| void | set_on () |
| Set channel output to ON. | |
| void | set_off () |
| Set channel output to OFF. | |
| void | set_value (bool value) |
| Set channel output to boolean value passed. | |
| digital_out_descriptor | descriptor () const |
| Return a descriptor with the channel configuration used when the class was instantiated. | |
| digital_out_channel (const digital_out_channel &other)=delete | |
| digital_out_channel (digital_out_channel &&other) noexcept | |
| digital_out_channel & | operator= (const digital_out_channel &other)=delete |
| digital_out_channel & | operator= (digital_out_channel &&other) noexcept |
The digital_out_channel class.
This class holds the configuration for a particular digital output channel. It is also responsible for enabling/disabling the channel.
|
explicit |
The class constructor.
| desc | The channel configuration. |
|
explicit |
The class constructor.
| instance | An class instance that conforms to digital_context_interface. |
| desc | The channel configuration. |
|
delete |
Standard constructors
|
noexcept |
Standard constructors
| digital_out_descriptor vsdk::io::digital_out_channel::descriptor | ( | ) | const |
Return a descriptor with the channel configuration used when the class was instantiated.
|
delete |
Standard assignment operators
|
noexcept |
Standard assignment operators
| void vsdk::io::digital_out_channel::set_value | ( | bool | value | ) |
Set channel output to boolean value passed.
| value | The digital pin value to be set |