libsigrokcxx
unreleased development snapshot
C++ bindings for libsigrok
|
A channel on a device. More...
#include <libsigrokcxx/libsigrokcxx.hpp>
Inherits sigrok::ParentOwned< Class, Parent >.
Public Member Functions | |
std::string | name () const |
Current name of this channel. More... | |
void | set_name (std::string name) |
Set the name of this channel. More... | |
const ChannelType * | type () const |
Type of this channel. More... | |
bool | enabled () const |
Enabled status of this channel. More... | |
void | set_enabled (bool value) |
Set the enabled status of this channel. More... | |
unsigned int | index () const |
Get the index number of this channel. More... | |
A channel on a device.
Definition at line 456 of file libsigrokcxx.hpp.
std::string sigrok::Channel::name | ( | ) | const |
Current name of this channel.
void sigrok::Channel::set_name | ( | std::string | name | ) |
Set the name of this channel.
name | Name string to set. |
const ChannelType* sigrok::Channel::type | ( | ) | const |
Type of this channel.
bool sigrok::Channel::enabled | ( | ) | const |
Enabled status of this channel.
void sigrok::Channel::set_enabled | ( | bool | value | ) |
Set the enabled status of this channel.
value | Boolean value to set. |
unsigned int sigrok::Channel::index | ( | ) | const |
Get the index number of this channel.