21 #ifndef PULSEVIEW_PV_STORESESSION_HPP
22 #define PULSEVIEW_PV_STORESESSION_HPP
34 #include <glibmm/variant.h>
60 const std::shared_ptr<sigrok::OutputFormat> &output_format,
61 const std::map<std::string, Glib::VariantBase> &options,
62 const std::pair<uint64_t, uint64_t> sample_range,
67 std::pair<int, int>
progress()
const;
69 const QString&
error()
const;
78 void store_proc(std::shared_ptr<pv::data::LogicSegment> segment);
86 const std::map<std::string, Glib::VariantBase>
options_;
107 #endif // PULSEVIEW_PV_STORESESSION_HPP
std::ofstream output_stream_
void store_proc(std::shared_ptr< pv::data::LogicSegment > segment)
StoreSession(const std::string &file_name, const std::shared_ptr< sigrok::OutputFormat > &output_format, const std::map< std::string, Glib::VariantBase > &options, const std::pair< uint64_t, uint64_t > sample_range, const Session &session)
std::atomic< int > units_stored_
static const size_t BlockSize
std::atomic< int > unit_count_
const std::string file_name_
const std::shared_ptr< sigrok::OutputFormat > output_format_
std::pair< int, int > progress() const
const QString & error() const
const std::map< std::string, Glib::VariantBase > options_
std::shared_ptr< sigrok::Output > output_
std::atomic< bool > interrupt_
const std::pair< uint64_t, uint64_t > sample_range_