libsigrokcxx
0.4.0
C++ bindings for libsigrok
|
A stage in a trigger configuration. More...
#include <libsigrokcxx/libsigrokcxx.hpp>
Inherits sigrok::ParentOwned< Class, Parent >.
Public Member Functions | |
int | number () const |
Index number of this stage. More... | |
vector< shared_ptr< TriggerMatch > > | matches () |
List of match conditions on this stage. More... | |
void | add_match (shared_ptr< Channel > channel, const TriggerMatchType *type) |
Add a new match condition to this stage. More... | |
void | add_match (shared_ptr< Channel > channel, const TriggerMatchType *type, float value) |
Add a new match condition to this stage. More... | |
A stage in a trigger configuration.
Definition at line 524 of file libsigrokcxx.hpp.
int sigrok::TriggerStage::number | ( | ) | const |
Index number of this stage.
vector<shared_ptr<TriggerMatch> > sigrok::TriggerStage::matches | ( | ) |
List of match conditions on this stage.
void sigrok::TriggerStage::add_match | ( | shared_ptr< Channel > | channel, |
const TriggerMatchType * | type | ||
) |
Add a new match condition to this stage.
channel | Channel to match on. |
type | TriggerMatchType to apply. |
void sigrok::TriggerStage::add_match | ( | shared_ptr< Channel > | channel, |
const TriggerMatchType * | type, | ||
float | value | ||
) |
Add a new match condition to this stage.
channel | Channel to match on. |
type | TriggerMatchType to apply. |
value | Threshold value. |