| 1087 | } |
| 1088 | |
| 1089 | void SigSession::refresh(int holdtime) |
| 1090 | { |
| 1091 | ds_lock_guard lock(_data_mutex); |
| 1092 | |
| 1093 | data_lock(); |
| 1094 | _view_data->get_logic()->init(); |
| 1095 | |
| 1096 | clear_all_decode_task2(); |
| 1097 | clear_decode_result(); |
| 1098 | |
| 1099 | _view_data->get_dso()->init(); |
| 1100 | |
| 1101 | for (auto m : _spectrum_traces) |
| 1102 | { |
| 1103 | m->get_spectrum_stack()->init(); |
| 1104 | } |
| 1105 | |
| 1106 | if (_math_trace) |
| 1107 | _math_trace->get_math_stack()->init(); |
| 1108 | |
| 1109 | _view_data->get_analog()->init(); |
| 1110 | |
| 1111 | _out_timer.TimeOut(holdtime, std::bind(&SigSession::feed_timeout, this)); |
| 1112 | _data_updated = true; |
| 1113 | } |
| 1114 | |
| 1115 | void SigSession::data_auto_lock(int lock) |
| 1116 | { |
no test coverage detected