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

#include <row.hpp>

Inheritance diagram for pv::data::decode::Row:
Collaboration diagram for pv::data::decode::Row:

Signals

void visibility_changed ()
 

Public Member Functions

 Row ()
 
 Row (uint32_t index, Decoder *decoder, const srd_decoder_annotation_row *srd_row=nullptr)
 
const Decoderdecoder () const
 
const srd_decoder_annotation_row * get_srd_row () const
 
const QString title () const
 
const QString description () const
 
vector< AnnotationClass * > ann_classes () const
 
uint32_t index () const
 
bool visible () const
 
void set_visible (bool visible)
 
void set_base_color (QColor base_color)
 
const QColor color () const
 
const QColor get_class_color (uint32_t ann_class_id) const
 
const QColor get_bright_class_color (uint32_t ann_class_id) const
 
const QColor get_dark_class_color (uint32_t ann_class_id) const
 
bool has_hidden_classes () const
 
bool class_is_visible (uint32_t ann_class_id) const
 
bool operator< (const Row &other) const
 
bool operator== (const Row &other) const
 

Private Attributes

uint32_t index_
 
Decoderdecoder_
 
const srd_decoder_annotation_row * srd_row_
 
bool visible_
 
QColor color_
 
map< uint32_t, QColor > ann_class_color_
 
map< uint32_t, QColor > ann_bright_class_color_
 
map< uint32_t, QColor > ann_dark_class_color_
 

Detailed Description

Definition at line 45 of file row.hpp.

Constructor & Destructor Documentation

pv::data::decode::Row::Row ( )

Definition at line 32 of file row.cpp.

pv::data::decode::Row::Row ( uint32_t  index,
Decoder decoder,
const srd_decoder_annotation_row *  srd_row = nullptr 
)

Definition at line 40 of file row.cpp.

Member Function Documentation

vector< AnnotationClass * > pv::data::decode::Row::ann_classes ( ) const

Definition at line 79 of file row.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool pv::data::decode::Row::class_is_visible ( uint32_t  ann_class_id) const

Definition at line 189 of file row.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 146 of file row.cpp.

const Decoder * pv::data::decode::Row::decoder ( ) const

Definition at line 48 of file row.cpp.

Here is the caller graph for this function:

const QString pv::data::decode::Row::description ( ) const

Definition at line 72 of file row.cpp.

Here is the caller graph for this function:

const QColor pv::data::decode::Row::get_bright_class_color ( uint32_t  ann_class_id) const

Definition at line 162 of file row.cpp.

Here is the caller graph for this function:

const QColor pv::data::decode::Row::get_class_color ( uint32_t  ann_class_id) const

Definition at line 151 of file row.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const QColor pv::data::decode::Row::get_dark_class_color ( uint32_t  ann_class_id) const

Definition at line 171 of file row.cpp.

Here is the caller graph for this function:

const srd_decoder_annotation_row * pv::data::decode::Row::get_srd_row ( ) const

Definition at line 53 of file row.cpp.

bool pv::data::decode::Row::has_hidden_classes ( ) const

Definition at line 180 of file row.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t pv::data::decode::Row::index ( ) const

Definition at line 101 of file row.cpp.

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

Definition at line 194 of file row.cpp.

bool pv::data::decode::Row::operator== ( const Row other) const

Definition at line 200 of file row.cpp.

Here is the call graph for this function:

void pv::data::decode::Row::set_base_color ( QColor  base_color)

Definition at line 118 of file row.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::data::decode::Row::set_visible ( bool  visible)

Definition at line 111 of file row.cpp.

Here is the call graph for this function:

const QString pv::data::decode::Row::title ( ) const

Definition at line 58 of file row.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::data::decode::Row::visibility_changed ( )
signal

Definition at line 123 of file moc_row.cpp.

Here is the caller graph for this function:

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

Definition at line 106 of file row.cpp.

Here is the caller graph for this function:

Member Data Documentation

map<uint32_t, QColor> pv::data::decode::Row::ann_bright_class_color_
private

Definition at line 89 of file row.hpp.

map<uint32_t, QColor> pv::data::decode::Row::ann_class_color_
private

Definition at line 88 of file row.hpp.

map<uint32_t, QColor> pv::data::decode::Row::ann_dark_class_color_
private

Definition at line 90 of file row.hpp.

QColor pv::data::decode::Row::color_
private

Definition at line 87 of file row.hpp.

Decoder* pv::data::decode::Row::decoder_
private

Definition at line 83 of file row.hpp.

uint32_t pv::data::decode::Row::index_
private

Definition at line 82 of file row.hpp.

const srd_decoder_annotation_row* pv::data::decode::Row::srd_row_
private

Definition at line 84 of file row.hpp.

bool pv::data::decode::Row::visible_
private

Definition at line 85 of file row.hpp.


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