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

#include <annotation.hpp>

Collaboration diagram for pv::data::decode::Annotation:

Public Member Functions

 Annotation (uint64_t start_sample, uint64_t end_sample, const vector< QString > *texts, uint32_t ann_class_id, const RowData *data)
 
 Annotation (Annotation &&a)
 
Annotationoperator= (Annotation &&a)
 
const RowDatarow_data () const
 
const Rowrow () const
 
uint64_t start_sample () const
 
uint64_t end_sample () const
 
uint64_t length () const
 
uint32_t ann_class_id () const
 
const QString ann_class_name () const
 
const QString ann_class_description () const
 
const vector< QString > * annotations () const
 
const QString longest_annotation () const
 
bool visible () const
 
const QColor color () const
 
const QColor bright_color () const
 
const QColor dark_color () const
 
bool operator< (const Annotation &other) const
 

Private Attributes

uint64_t start_sample_
 
uint64_t end_sample_
 
const vector< QString > * texts_
 
uint32_t ann_class_id_
 
const RowDatadata_
 

Detailed Description

Definition at line 41 of file annotation.hpp.

Constructor & Destructor Documentation

pv::data::decode::Annotation::Annotation ( uint64_t  start_sample,
uint64_t  end_sample,
const vector< QString > *  texts,
uint32_t  ann_class_id,
const RowData data 
)

Definition at line 35 of file annotation.cpp.

pv::data::decode::Annotation::Annotation ( Annotation &&  a)

Definition at line 45 of file annotation.cpp.

Member Function Documentation

const QString pv::data::decode::Annotation::ann_class_description ( ) const

Definition at line 105 of file annotation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t pv::data::decode::Annotation::ann_class_id ( ) const

Definition at line 92 of file annotation.cpp.

Here is the caller graph for this function:

const QString pv::data::decode::Annotation::ann_class_name ( ) const

Definition at line 97 of file annotation.cpp.

Here is the call graph for this function:

const vector< QString > * pv::data::decode::Annotation::annotations ( ) const

Definition at line 113 of file annotation.cpp.

Here is the caller graph for this function:

const QColor pv::data::decode::Annotation::bright_color ( ) const

Definition at line 136 of file annotation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const QColor pv::data::decode::Annotation::color ( ) const

Definition at line 131 of file annotation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const QColor pv::data::decode::Annotation::dark_color ( ) const

Definition at line 141 of file annotation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t pv::data::decode::Annotation::end_sample ( ) const

Definition at line 82 of file annotation.cpp.

Here is the caller graph for this function:

uint64_t pv::data::decode::Annotation::length ( ) const

Definition at line 87 of file annotation.cpp.

const QString pv::data::decode::Annotation::longest_annotation ( ) const

Definition at line 118 of file annotation.cpp.

Here is the caller graph for this function:

bool pv::data::decode::Annotation::operator< ( const Annotation other) const

Definition at line 146 of file annotation.cpp.

Annotation & pv::data::decode::Annotation::operator= ( Annotation &&  a)

Definition at line 54 of file annotation.cpp.

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

Definition at line 72 of file annotation.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const RowData * pv::data::decode::Annotation::row_data ( ) const

Definition at line 67 of file annotation.cpp.

Here is the caller graph for this function:

uint64_t pv::data::decode::Annotation::start_sample ( ) const

Definition at line 77 of file annotation.cpp.

Here is the caller graph for this function:

bool pv::data::decode::Annotation::visible ( ) const

Definition at line 123 of file annotation.cpp.

Here is the call graph for this function:

Member Data Documentation

uint32_t pv::data::decode::Annotation::ann_class_id_
private

Definition at line 75 of file annotation.hpp.

const RowData* pv::data::decode::Annotation::data_
private

Definition at line 76 of file annotation.hpp.

uint64_t pv::data::decode::Annotation::end_sample_
private

Definition at line 73 of file annotation.hpp.

uint64_t pv::data::decode::Annotation::start_sample_
private

Definition at line 72 of file annotation.hpp.

const vector<QString>* pv::data::decode::Annotation::texts_
private

Definition at line 74 of file annotation.hpp.


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