PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::data::Analog Class Reference

#include <analog.hpp>

Inheritance diagram for pv::data::Analog:
Collaboration diagram for pv::data::Analog:

Signals

void samples_cleared ()
 
void samples_added (SharedPtrToSegment segment, uint64_t start_sample, uint64_t end_sample)
 
void min_max_changed (float min, float max)
 
- Signals inherited from pv::data::SignalData
void segment_completed ()
 

Public Member Functions

 Analog ()
 
void push_segment (shared_ptr< AnalogSegment > &segment)
 
const deque< shared_ptr< AnalogSegment > > & analog_segments () const
 
vector< shared_ptr< Segment > > segments () const
 
uint32_t get_segment_count () const
 
void clear ()
 
void set_samplerate (double value)
 
double get_samplerate () const
 
uint64_t max_sample_count () const
 
void notify_samples_added (shared_ptr< Segment > segment, uint64_t start_sample, uint64_t end_sample)
 
void notify_min_max_changed (float min, float max)
 
- Public Member Functions inherited from pv::data::SignalData
 SignalData ()=default
 
virtual ~SignalData ()=default
 

Private Slots

void on_segment_completed ()
 

Private Attributes

double samplerate_
 
deque< shared_ptr< AnalogSegment > > segments_
 

Detailed Description

Definition at line 40 of file analog.hpp.

Constructor & Destructor Documentation

pv::data::Analog::Analog ( )

Definition at line 33 of file analog.cpp.

Member Function Documentation

const deque< shared_ptr< AnalogSegment > > & pv::data::Analog::analog_segments ( ) const

Definition at line 49 of file analog.cpp.

Here is the caller graph for this function:

void pv::data::Analog::clear ( )
virtual

Implements pv::data::SignalData.

Definition at line 65 of file analog.cpp.

double pv::data::Analog::get_samplerate ( ) const
virtual

Implements pv::data::SignalData.

Definition at line 79 of file analog.cpp.

uint32_t pv::data::Analog::get_segment_count ( ) const
virtual

Implements pv::data::SignalData.

Definition at line 60 of file analog.cpp.

uint64_t pv::data::Analog::max_sample_count ( ) const
virtual

Implements pv::data::SignalData.

Definition at line 84 of file analog.cpp.

Here is the call graph for this function:

void pv::data::Analog::min_max_changed ( float  min,
float  max 
)
signal

Definition at line 183 of file moc_analog.cpp.

Here is the caller graph for this function:

void pv::data::Analog::notify_min_max_changed ( float  min,
float  max 
)

Definition at line 100 of file analog.cpp.

void pv::data::Analog::notify_samples_added ( shared_ptr< Segment segment,
uint64_t  start_sample,
uint64_t  end_sample 
)

Definition at line 94 of file analog.cpp.

Here is the caller graph for this function:

void pv::data::Analog::on_segment_completed ( )
privateslot

Definition at line 105 of file analog.cpp.

Here is the caller graph for this function:

void pv::data::Analog::push_segment ( shared_ptr< AnalogSegment > &  segment)

Definition at line 39 of file analog.cpp.

Here is the call graph for this function:

void pv::data::Analog::samples_added ( SharedPtrToSegment  segment,
uint64_t  start_sample,
uint64_t  end_sample 
)
signal

Definition at line 176 of file moc_analog.cpp.

Here is the caller graph for this function:

void pv::data::Analog::samples_cleared ( )
signal

Definition at line 170 of file moc_analog.cpp.

Here is the caller graph for this function:

vector< shared_ptr< Segment > > pv::data::Analog::segments ( ) const
virtual

Implements pv::data::SignalData.

Definition at line 54 of file analog.cpp.

void pv::data::Analog::set_samplerate ( double  value)
virtual

Implements pv::data::SignalData.

Definition at line 74 of file analog.cpp.

Here is the call graph for this function:

Member Data Documentation

double pv::data::Analog::samplerate_
private

Definition at line 80 of file analog.hpp.

deque< shared_ptr<AnalogSegment> > pv::data::Analog::segments_
private

Definition at line 81 of file analog.hpp.


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