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

Method get_signal_snapshot

DSView/pv/sigsession.cpp:2010–2019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2008 }
2009
2010 Snapshot *SigSession::get_signal_snapshot()
2011 {
2012 int mode = _device_agent.get_work_mode();
2013 if (mode == ANALOG)
2014 return _view_data->get_analog();
2015 else if (mode == DSO)
2016 return _view_data->get_dso();
2017 else
2018 return _view_data->get_logic();
2019 }
2020
2021 void SigSession::device_lib_event_callback(int event)
2022 {

Callers

nothing calls this directly

Calls 4

get_work_modeMethod · 0.80
get_analogMethod · 0.80
get_dsoMethod · 0.80
get_logicMethod · 0.80

Tested by

no test coverage detected