std::shared_ptr<sigrok::InputFormat> format,
const std::map<std::string, Glib::VariantBase> &options);
- void create();
+ void open();
+
+ void close();
void start();
private:
const std::shared_ptr<sigrok::Context> context_;
- const std::shared_ptr<sigrok::Input> input_;
+ const std::shared_ptr<sigrok::InputFormat> format_;
+ const std::map<std::string, Glib::VariantBase> options_;
+ std::shared_ptr<sigrok::Input> input_;
+ std::ifstream *f;
std::atomic<bool> interrupt_;
};