MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / del_all_protocol

Method del_all_protocol

DSView/pv/dock/protocoldock.cpp:429–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427 }
428
429void ProtocolDock::del_all_protocol()
430{
431 if (_protocol_lay_items.size() > 0)
432 {
433 _session->clear_all_decoder();
434
435 for (auto it = _protocol_lay_items.begin(); it != _protocol_lay_items.end(); it++)
436 {
437 DESTROY_QT_LATER((*it)); //destory control
438 }
439
440 _protocol_lay_items.clear();
441 this->update();
442 protocol_updated();
443
444 adjustPannelSize();
445 }
446}
447
448void ProtocolDock::decoded_progress(int progress)
449{

Callers 2

load_config_from_fileMethod · 0.80
OnMessageMethod · 0.80

Calls 5

sizeMethod · 0.80
clear_all_decoderMethod · 0.80
endMethod · 0.45
clearMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected