21 #ifndef PULSEVIEW_PV_DATA_DECODE_DECODER_HPP
22 #define PULSEVIEW_PV_DATA_DECODE_DECODER_HPP
31 struct srd_decoder_inst;
54 const srd_decoder*
decoder()
const;
59 const std::map<
const srd_channel*,
60 std::shared_ptr<view::LogicSignal> >&
channels()
const;
62 std::shared_ptr<view::LogicSignal> > channels);
64 const std::map<std::string, GVariant*>&
options()
const;
66 void set_option(
const char *
id, GVariant *value);
71 srd_session *session)
const;
73 std::set< std::shared_ptr<pv::data::Logic> >
get_data();
80 std::map<const srd_channel*, std::shared_ptr<pv::view::LogicSignal> >
89 #endif // PULSEVIEW_PV_DATA_DECODE_DECODER_HPP
std::map< const srd_channel *, std::shared_ptr< pv::view::LogicSignal > > channels_
const srd_decoder *const decoder_
void set_channels(std::map< const srd_channel *, std::shared_ptr< view::LogicSignal > > channels)
std::map< std::string, GVariant * > options_
const srd_decoder * decoder() const
const std::map< const srd_channel *, std::shared_ptr< view::LogicSignal > > & channels() const
Decoder(const srd_decoder *const decoder)
void set_option(const char *id, GVariant *value)
bool have_required_channels() const
std::set< std::shared_ptr< pv::data::Logic > > get_data()
const std::map< std::string, GVariant * > & options() const
srd_decoder_inst * create_decoder_inst(srd_session *session) const
void show(bool show=true)