]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decode/decoder.h
Make member variable underscores a suffix instead of a prefix
[pulseview.git] / pv / data / decode / decoder.h
index 3920aa4c40012f4313631984c434d6cd3d14ed66..fbe59059cf6190167d8cc0333c27e01008e094eb 100644 (file)
@@ -58,14 +58,14 @@ public:
 
        const std::map<const srd_channel*,
                std::shared_ptr<view::LogicSignal> >& channels() const;
-       void set_probes(std::map<const srd_channel*,
-               std::shared_ptr<view::LogicSignal> > probes);
+       void set_channels(std::map<const srd_channel*,
+               std::shared_ptr<view::LogicSignal> > channels);
 
        const std::map<std::string, GVariant*>& options() const;
 
        void set_option(const char *id, GVariant *value);
 
-       bool have_required_probes() const;
+       bool have_required_channels() const;
 
        srd_decoder_inst* create_decoder_inst(
                srd_session *session, int unit_size) const;
@@ -73,13 +73,13 @@ public:
        std::set< std::shared_ptr<pv::data::Logic> > get_data();        
 
 private:
-       const srd_decoder *const _decoder;
+       const srd_decoder *const decoder_;
 
-       bool _shown;
+       bool shown_;
 
        std::map<const srd_channel*, std::shared_ptr<pv::view::LogicSignal> >
-               _probes;
-       std::map<std::string, GVariant*> _options;
+               channels_;
+       std::map<std::string, GVariant*> options_;
 };
 
 } // namespace decode