MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / binded_probe_index

Method binded_probe_index

DSView/pv/data/decode/decoder.cpp:113–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113int Decoder::binded_probe_index(const srd_channel *const pdch)
114{
115 assert(pdch);
116
117 auto it = _probes.find(pdch);
118 if (it != _probes.end()){
119 return (*it).second;
120 }
121
122 return -1;
123}
124
125std::vector<const srd_channel*> Decoder::binded_probe_list()
126{

Callers 3

gen_decoders_jsonMethod · 0.80
draw_annotationMethod · 0.80
create_probe_selectorMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected