7 #ifndef PIPE_ENVIRONMENT_HPP_ 8 #define PIPE_ENVIRONMENT_HPP_ 10 #include "boost/property_tree/ptree_fwd.hpp" 11 #include "boost/shared_ptr.hpp" 12 #include "boost/chrono/process_cpu_clocks.hpp" 22 class Step_variant_store;
27 typedef boost::shared_ptr<Input_manager> in_manager_ptr;
28 typedef boost::shared_ptr<Output_manager> out_manager_ptr;
29 BOOST_STATIC_CONSTANT(std::size_t, unset = static_cast<std::size_t>(-1));
30 static void input_csv(
31 boost::property_tree::ptree
const& pt,
32 std::vector<std::string>& vs
39 boost::property_tree::ptree
const& pt,
48 char delimiter()
const {
return om_->delimiter();}
49 std::size_t max_reads()
const {
return max_reads_;}
50 std::size_t max_file_reads()
const {
return max_file_reads_;}
54 max_reads() <= (std::size_t)vm_.read_count() ||
55 max_file_reads() <= (std::size_t)vm_.file_read_count()
57 reads_skipped_ =
true;
63 std::size_t read_count()
const;
69 boost::property_tree::ptree
const& pt,
70 std::string
const& path
73 void start_file(std::string
const& fn);
77 boost::shared_ptr<Step_variant_store> steps_;
80 std::size_t max_reads_;
81 std::size_t max_file_reads_;
82 std::string summary_output_path_;
83 boost::chrono::process_real_cpu_clock::time_point t1_, t2_, t3_;
89 std::ostream& print_summary(std::ostream& os)
const;
Definition: pipe_environment.hpp:36
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Definition: pipe_environment.hpp:26
Definition: step_variant_store.hpp:40
Definition: exception.hpp:23
Definition: output_manager.hpp:20
Store values mapped against name strings and value IDs.
Definition: value_map.hpp:23