| 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 | { |
no test coverage detected