projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make member variable underscores a suffix instead of a prefix
[pulseview.git]
/
pv
/
data
/
decode
/
decoder.h
diff --git
a/pv/data/decode/decoder.h
b/pv/data/decode/decoder.h
index 3920aa4c40012f4313631984c434d6cd3d14ed66..fbe59059cf6190167d8cc0333c27e01008e094eb 100644
(file)
--- a/
pv/data/decode/decoder.h
+++ b/
pv/data/decode/decoder.h
@@
-58,14
+58,14
@@
public:
const std::map<const srd_channel*,
std::shared_ptr<view::LogicSignal> >& channels() const;
const std::map<const srd_channel*,
std::shared_ptr<view::LogicSignal> >& channels() const;
- void set_
probe
s(std::map<const srd_channel*,
- std::shared_ptr<view::LogicSignal> >
probe
s);
+ void set_
channel
s(std::map<const srd_channel*,
+ std::shared_ptr<view::LogicSignal> >
channel
s);
const std::map<std::string, GVariant*>& options() const;
void set_option(const char *id, GVariant *value);
const std::map<std::string, GVariant*>& options() const;
void set_option(const char *id, GVariant *value);
- bool have_required_
probe
s() const;
+ bool have_required_
channel
s() const;
srd_decoder_inst* create_decoder_inst(
srd_session *session, int unit_size) 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:
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> >
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
};
} // namespace decode