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

Payload of a datafeed packet with analog data. More...

#include <libsigrokcxx/libsigrokcxx.hpp>

+ Inheritance diagram for sigrok::Analog:

Public Member Functions

void * data_pointer ()
 Pointer to data. More...
 
unsigned int num_samples () const
 Number of samples in this packet. More...
 
vector< shared_ptr< Channel > > channels ()
 Channels for which this packet contains data. More...
 
const Quantitymq () const
 Measured quantity of the samples in this packet. More...
 
const Unitunit () const
 Unit of the samples in this packet. More...
 
vector< const QuantityFlag * > mq_flags () const
 Measurement flags associated with the samples in this packet. More...
 

Detailed Description

Payload of a datafeed packet with analog data.

Definition at line 763 of file libsigrokcxx.hpp.

Member Function Documentation

void* sigrok::Analog::data_pointer ( )

Pointer to data.

unsigned int sigrok::Analog::num_samples ( ) const

Number of samples in this packet.

vector<shared_ptr<Channel> > sigrok::Analog::channels ( )

Channels for which this packet contains data.

const Quantity* sigrok::Analog::mq ( ) const

Measured quantity of the samples in this packet.

const Unit* sigrok::Analog::unit ( ) const

Unit of the samples in this packet.

vector<const QuantityFlag *> sigrok::Analog::mq_flags ( ) const

Measurement flags associated with the samples in this packet.


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