#include <pv/session.hpp>
#include <pv/data/logic.hpp>
#include <pv/data/logicsegment.hpp>
#include <pv/session.hpp>
#include <pv/data/logic.hpp>
#include <pv/data/logicsegment.hpp>
const size_t StoreSession::BlockSize = 1024 * 1024;
StoreSession::StoreSession(const std::string &file_name,
const size_t StoreSession::BlockSize = 1024 * 1024;
StoreSession::StoreSession(const std::string &file_name,
- const shared_ptr<OutputFormat> &output_format, const Session &session) :
+ const shared_ptr<OutputFormat> &output_format,
+ const map<string, VariantBase> &options, const Session &session) :
// If the output has the capability to write files, use it.
// Otherwise, open the output stream.
// If the output has the capability to write files, use it.
// Otherwise, open the output stream.
auto logic = context->create_logic_packet(data, length, unit_size);
const string data = output_->receive(logic);
if (output_stream_.is_open())
auto logic = context->create_logic_packet(data, length, unit_size);
const string data = output_->receive(logic);
if (output_stream_.is_open())