20 #ifndef PULSEVIEW_PV_DATA_DECODE_DECODER_HPP 21 #define PULSEVIEW_PV_DATA_DECODE_DECODER_HPP 37 using std::shared_ptr;
42 struct srd_decoder_inst;
94 id(id), desc(desc) {};
111 Decoder(
const srd_decoder *
const dec, uint8_t stack_level);
115 const srd_decoder* get_srd_decoder()
const;
117 uint8_t get_stack_level()
const;
119 const char*
name()
const;
124 const vector<DecodeChannel*>& channels()
const;
125 void set_channels(vector<DecodeChannel*> channels);
127 const map<string, GVariant*>&
options()
const;
128 void set_option(
const char *
id, GVariant *
value);
130 void apply_all_options();
132 bool have_required_channels()
const;
134 srd_decoder_inst* create_decoder_inst(srd_session *session);
135 void invalidate_decoder_inst();
137 vector<Row*> get_rows();
138 Row* get_row_by_id(
size_t id);
140 vector<const AnnotationClass*> ann_classes()
const;
141 vector<AnnotationClass*> ann_classes();
145 uint32_t get_binary_class_count()
const;
148 bool has_logic_output()
const;
149 const vector<DecoderLogicOutputChannel> logic_output_channels()
const;
152 void annotation_visibility_changed();
155 void on_row_visibility_changed();
156 void on_class_visibility_changed();
176 #endif // PULSEVIEW_PV_DATA_DECODE_DECODER_HPP srd_decoder_inst * decoder_inst_
map< string, GVariant * > options_
const srd_channel * pdch_
const srd_decoder *const srd_decoder_
vector< DecodeBinaryClassInfo > bin_classes_
vector< DecodeChannel * > channels_
T value(details::expression_node< T > *n)
deque< AnnotationClass > ann_classes_
void set_visible(bool visible)
Mac OS X or Android For some we provide binary for others we provide installers and for others we provide AppImage containers that you can run without the need to install anything Check the the usual way to install PulseView is to install the packages provided by your distro s package manager sometimes only outdated packages are made available to you In that you have two options
DecoderLogicOutputChannel(QString id, QString desc)
const shared_ptr< Decoder > decoder_
AnnotationClass(size_t _id, char *_name, char *_description, Row *_row)
void visibility_changed()
uint16_t bit_id
Tells which bit within a sample represents this channel.
uint16_t id
Global numerical ID for the decode channels in the stack.
shared_ptr< const pv::data::SignalBase > assigned_signal