void update_signals(std::shared_ptr<device::DevInst> dev_inst);
- std::shared_ptr<view::Signal> signal_from_probe(
- const sr_channel *probe) const;
+ std::shared_ptr<view::Signal> signal_from_channel(
+ const sr_channel *channel) const;
void read_sample_rate(const sr_dev_inst *const sdi);
private:
- /**
- * Attempts to autodetect the format. Failing that
- * @param filename The filename of the input file.
- * @return A pointer to the 'struct sr_input_format' that should be
- * used, or NULL if no input format was selected or
- * auto-detected.
- */
- static sr_input_format* determine_input_file_format(
- const std::string &filename);
-
- static sr_input* load_input_file_format(
- const std::string &filename,
- std::function<void (const QString)> error_handler,
- sr_input_format *format = NULL);
-
void sample_thread_proc(std::shared_ptr<device::DevInst> dev_inst,
std::function<void (const QString)> error_handler);
std::thread _sampling_thread;
-signals:
+Q_SIGNALS:
void capture_state_changed(int state);
void signals_changed();