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

Method get_signal_by_index

DSView/pv/sigsession.cpp:2424–2433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2422 }
2423
2424 view::Signal* SigSession::get_signal_by_index(int index)
2425 {
2426 for (int i=0; i< (int)_signals.size(); i++)
2427 {
2428 auto *p = _signals[i];
2429 if (p->get_index() == index)
2430 return p;
2431 }
2432 return NULL;
2433 }
2434
2435 bool SigSession::is_realtime_refresh()
2436 {

Callers 1

paintMethod · 0.80

Calls 2

sizeMethod · 0.80
get_indexMethod · 0.45

Tested by

no test coverage detected