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

Method get_snapshot

DSView/pv/sigsession.cpp:1799–1809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1797 }
1798
1799 data::Snapshot *SigSession::get_snapshot(int type)
1800 {
1801 if (type == SR_CHANNEL_LOGIC)
1802 return _view_data->get_logic();
1803 else if (type == SR_CHANNEL_ANALOG)
1804 return _view_data->get_analog();
1805 else if (type == SR_CHANNEL_DSO)
1806 return _view_data->get_dso();
1807 else
1808 return NULL;
1809 }
1810
1811 void SigSession::clear_error()
1812 {

Callers 4

save_startMethod · 0.80
export_startMethod · 0.80
on_previousMethod · 0.80
on_nextMethod · 0.80

Calls 3

get_logicMethod · 0.80
get_analogMethod · 0.80
get_dsoMethod · 0.80

Tested by

no test coverage detected