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

#include <rowdata.hpp>

Collaboration diagram for pv::data::decode::RowData:

Public Member Functions

 RowData (Row *row)
 
const Rowrow () const
 
uint64_t get_max_sample () const
 
uint64_t get_annotation_count () const
 
void get_annotation_subset (deque< const pv::data::decode::Annotation * > &dest, uint64_t start_sample, uint64_t end_sample) const
 
const deque< Annotation > & annotations () const
 
const Annotationemplace_annotation (srd_proto_data *pdata)
 

Private Attributes

deque< Annotationannotations_
 
unordered_map< QString, vector< QString > > ann_texts_
 
Rowrow_
 
uint64_t prev_ann_start_sample_
 

Detailed Description

Definition at line 53 of file rowdata.hpp.

Constructor & Destructor Documentation

pv::data::decode::RowData::RowData ( Row row)

Definition at line 32 of file rowdata.cpp.

Member Function Documentation

const deque< Annotation > & pv::data::decode::RowData::annotations ( ) const

Definition at line 98 of file rowdata.cpp.

Here is the caller graph for this function:

const Annotation * pv::data::decode::RowData::emplace_annotation ( srd_proto_data *  pdata)

Definition at line 103 of file rowdata.cpp.

Here is the caller graph for this function:

uint64_t pv::data::decode::RowData::get_annotation_count ( ) const

Definition at line 51 of file rowdata.cpp.

Here is the caller graph for this function:

void pv::data::decode::RowData::get_annotation_subset ( deque< const pv::data::decode::Annotation * > &  dest,
uint64_t  start_sample,
uint64_t  end_sample 
) const

Extracts annotations between the given sample range into a vector. Note: The annotations are unsorted and only annotations that fully fit into the sample range are considered.

Definition at line 56 of file rowdata.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t pv::data::decode::RowData::get_max_sample ( ) const

Definition at line 44 of file rowdata.cpp.

const Row * pv::data::decode::RowData::row ( ) const

Definition at line 39 of file rowdata.cpp.

Here is the caller graph for this function:

Member Data Documentation

unordered_map<QString, vector<QString> > pv::data::decode::RowData::ann_texts_
private

Definition at line 78 of file rowdata.hpp.

deque<Annotation> pv::data::decode::RowData::annotations_
private

Definition at line 77 of file rowdata.hpp.

uint64_t pv::data::decode::RowData::prev_ann_start_sample_
private

Definition at line 80 of file rowdata.hpp.

Row* pv::data::decode::RowData::row_
private

Definition at line 79 of file rowdata.hpp.


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