PulseView
unreleased development snapshot
A Qt-based sigrok GUI
|
#include <decoder.hpp>
Signals | |
void | annotation_visibility_changed () |
Public Member Functions | |
Decoder (const srd_decoder *const dec, uint8_t stack_level) | |
virtual | ~Decoder () |
const srd_decoder * | get_srd_decoder () const |
uint8_t | get_stack_level () const |
const char * | name () const |
bool | visible () const |
void | set_visible (bool visible) |
const vector< DecodeChannel * > & | channels () const |
void | set_channels (vector< DecodeChannel * > channels) |
const map< string, GVariant * > & | options () const |
void | set_option (const char *id, GVariant *value) |
void | apply_all_options () |
bool | have_required_channels () const |
srd_decoder_inst * | create_decoder_inst (srd_session *session) |
void | invalidate_decoder_inst () |
vector< Row * > | get_rows () |
Row * | get_row_by_id (size_t id) |
vector< const AnnotationClass * > | ann_classes () const |
vector< AnnotationClass * > | ann_classes () |
AnnotationClass * | get_ann_class_by_id (size_t id) |
const AnnotationClass * | get_ann_class_by_id (size_t id) const |
uint32_t | get_binary_class_count () const |
const DecodeBinaryClassInfo * | get_binary_class (uint32_t id) const |
bool | has_logic_output () const |
const vector< DecoderLogicOutputChannel > | logic_output_channels () const |
Private Slots | |
void | on_row_visibility_changed () |
void | on_class_visibility_changed () |
Private Attributes | |
const srd_decoder *const | srd_decoder_ |
uint8_t | stack_level_ |
bool | visible_ |
vector< DecodeChannel * > | channels_ |
deque< Row > | rows_ |
deque< AnnotationClass > | ann_classes_ |
vector< DecodeBinaryClassInfo > | bin_classes_ |
map< string, GVariant * > | options_ |
srd_decoder_inst * | decoder_inst_ |
Definition at line 106 of file decoder.hpp.
pv::data::decode::Decoder::Decoder | ( | const srd_decoder *const | dec, |
uint8_t | stack_level | ||
) |
|
virtual |
vector< const AnnotationClass * > pv::data::decode::Decoder::ann_classes | ( | ) | const |
vector< AnnotationClass * > pv::data::decode::Decoder::ann_classes | ( | ) |
Definition at line 284 of file decoder.cpp.
|
signal |
void pv::data::decode::Decoder::apply_all_options | ( | ) |
Definition at line 174 of file decoder.cpp.
const vector< DecodeChannel * > & pv::data::decode::Decoder::channels | ( | ) | const |
srd_decoder_inst * pv::data::decode::Decoder::create_decoder_inst | ( | srd_session * | session | ) |
AnnotationClass * pv::data::decode::Decoder::get_ann_class_by_id | ( | size_t | id | ) |
const AnnotationClass * pv::data::decode::Decoder::get_ann_class_by_id | ( | size_t | id | ) | const |
Definition at line 302 of file decoder.cpp.
const DecodeBinaryClassInfo * pv::data::decode::Decoder::get_binary_class | ( | uint32_t | id | ) | const |
uint32_t pv::data::decode::Decoder::get_binary_class_count | ( | ) | const |
Row * pv::data::decode::Decoder::get_row_by_id | ( | size_t | id | ) |
vector< Row * > pv::data::decode::Decoder::get_rows | ( | ) |
Definition at line 256 of file decoder.cpp.
const srd_decoder * pv::data::decode::Decoder::get_srd_decoder | ( | ) | const |
uint8_t pv::data::decode::Decoder::get_stack_level | ( | ) | const |
bool pv::data::decode::Decoder::has_logic_output | ( | ) | const |
Definition at line 330 of file decoder.cpp.
bool pv::data::decode::Decoder::have_required_channels | ( | ) | const |
Definition at line 192 of file decoder.cpp.
void pv::data::decode::Decoder::invalidate_decoder_inst | ( | ) |
Definition at line 251 of file decoder.cpp.
const vector< DecoderLogicOutputChannel > pv::data::decode::Decoder::logic_output_channels | ( | ) | const |
Definition at line 335 of file decoder.cpp.
const char * pv::data::decode::Decoder::name | ( | ) | const |
|
privateslot |
|
privateslot |
const map< string, GVariant * > & pv::data::decode::Decoder::options | ( | ) | const |
Definition at line 159 of file decoder.cpp.
void pv::data::decode::Decoder::set_channels | ( | vector< DecodeChannel * > | channels | ) |
void pv::data::decode::Decoder::set_option | ( | const char * | id, |
GVariant * | value | ||
) |
void pv::data::decode::Decoder::set_visible | ( | bool | visible | ) |
bool pv::data::decode::Decoder::visible | ( | ) | const |
|
private |
Definition at line 166 of file decoder.hpp.
|
private |
Definition at line 167 of file decoder.hpp.
|
private |
Definition at line 164 of file decoder.hpp.
|
private |
Definition at line 169 of file decoder.hpp.
|
private |
Definition at line 168 of file decoder.hpp.
|
private |
Definition at line 165 of file decoder.hpp.
|
private |
Definition at line 159 of file decoder.hpp.
|
private |
Definition at line 160 of file decoder.hpp.
|
private |
Definition at line 162 of file decoder.hpp.