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

Method check_update

DSView/pv/sigsession.cpp:842–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840 }
841
842 void SigSession::check_update()
843 {
844 ds_lock_guard lock(_data_mutex);
845
846 if (_device_agent.is_collecting() == false)
847 return;
848
849 if (_data_updated)
850 {
851 if (_device_agent.get_work_mode() != LOGIC)
852 data_updated();
853
854 _data_updated = false;
855 _noData_cnt = 0;
856 data_auto_unlock();
857 }
858 else
859 {
860 if (++_noData_cnt >= (WaitShowTime / FeedInterval))
861 nodata_timeout();
862 }
863 }
864
865 void SigSession::init_signals()
866 {

Callers 1

doPaintMethod · 0.80

Calls 2

is_collectingMethod · 0.80
get_work_modeMethod · 0.80

Tested by

no test coverage detected