libsigrokcxx  0.4.0
C++ bindings for libsigrok
Public Member Functions | List of all members
sigrok::TriggerStage Class Reference

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...
 

Detailed Description

A stage in a trigger configuration.

Definition at line 524 of file libsigrokcxx.hpp.

Member Function Documentation

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.

Parameters
channelChannel to match on.
typeTriggerMatchType to apply.
void sigrok::TriggerStage::add_match ( shared_ptr< Channel channel,
const TriggerMatchType type,
float  value 
)

Add a new match condition to this stage.

Parameters
channelChannel to match on.
typeTriggerMatchType to apply.
valueThreshold value.

The documentation for this class was generated from the following file: