vdj_pipe
pipeline for processing DNA sequence data
Classes | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
vdj_pipe::Pipe_environment Class Reference

#include <pipe_environment.hpp>

Collaboration diagram for vdj_pipe::Pipe_environment:
Collaboration graph
[legend]

Classes

struct  Err
 

Public Member Functions

 Pipe_environment (boost::property_tree::ptree const &pt, Value_map const &vm)
 
Step_variant_store const & steps () const
 
Step_variant_storesteps ()
 
Input_manager const & input () const
 
Input_managerinput ()
 
Output_manager const & output () const
 
Output_manageroutput ()
 
char delimiter () const
 
std::size_t max_reads () const
 
std::size_t max_file_reads () const
 
bool process_more ()
 
std::size_t read_count () const
 
void finish ()
 
void process_read ()
 
void summary ()
 
void write_config (boost::property_tree::ptree const &pt, std::string const &path) const
 
void start_file (std::string const &fn)
 
void finish_file ()
 

Private Types

typedef boost::shared_ptr< Input_managerin_manager_ptr
 
typedef boost::shared_ptr< Output_managerout_manager_ptr
 

Private Member Functions

 BOOST_STATIC_CONSTANT (std::size_t, unset=static_cast< std::size_t >(-1))
 
std::ostream & print_summary (std::ostream &os) const
 

Static Private Member Functions

static void input_csv (boost::property_tree::ptree const &pt, std::vector< std::string > &vs)
 

Private Attributes

boost::shared_ptr< Step_variant_storesteps_
 
in_manager_ptr im_
 
out_manager_ptr om_
 
std::size_t max_reads_
 
std::size_t max_file_reads_
 
std::string summary_output_path_
 
boost::chrono::process_real_cpu_clock::time_point t1_
 
boost::chrono::process_real_cpu_clock::time_point t2_
 
boost::chrono::process_real_cpu_clock::time_point t3_
 
bool is_running_
 
bool reads_skipped_
 
Value_map vm_
 

Member Typedef Documentation

typedef boost::shared_ptr<Input_manager> vdj_pipe::Pipe_environment::in_manager_ptr
private
typedef boost::shared_ptr<Output_manager> vdj_pipe::Pipe_environment::out_manager_ptr
private

Constructor & Destructor Documentation

vdj_pipe::Pipe_environment::Pipe_environment ( boost::property_tree::ptree const &  pt,
Value_map const &  vm 
)

Member Function Documentation

vdj_pipe::Pipe_environment::BOOST_STATIC_CONSTANT ( std::size_t  ,
unset  = static_cast< std::size_t >(-1) 
)
private
char vdj_pipe::Pipe_environment::delimiter ( ) const
inline
void vdj_pipe::Pipe_environment::finish ( )
void vdj_pipe::Pipe_environment::finish_file ( )
Input_manager const& vdj_pipe::Pipe_environment::input ( ) const
inline
Input_manager& vdj_pipe::Pipe_environment::input ( )
inline
void vdj_pipe::Pipe_environment::input_csv ( boost::property_tree::ptree const &  pt,
std::vector< std::string > &  vs 
)
staticprivate
std::size_t vdj_pipe::Pipe_environment::max_file_reads ( ) const
inline
std::size_t vdj_pipe::Pipe_environment::max_reads ( ) const
inline
Output_manager const& vdj_pipe::Pipe_environment::output ( ) const
inline
Output_manager& vdj_pipe::Pipe_environment::output ( )
inline
std::ostream & vdj_pipe::Pipe_environment::print_summary ( std::ostream &  os) const
private
bool vdj_pipe::Pipe_environment::process_more ( )
inline
void vdj_pipe::Pipe_environment::process_read ( )
std::size_t vdj_pipe::Pipe_environment::read_count ( ) const
void vdj_pipe::Pipe_environment::start_file ( std::string const &  fn)
Step_variant_store const& vdj_pipe::Pipe_environment::steps ( ) const
inline
Step_variant_store& vdj_pipe::Pipe_environment::steps ( )
inline
void vdj_pipe::Pipe_environment::summary ( )
void vdj_pipe::Pipe_environment::write_config ( boost::property_tree::ptree const &  pt,
std::string const &  path 
) const

Member Data Documentation

in_manager_ptr vdj_pipe::Pipe_environment::im_
private
bool vdj_pipe::Pipe_environment::is_running_
private
std::size_t vdj_pipe::Pipe_environment::max_file_reads_
private
std::size_t vdj_pipe::Pipe_environment::max_reads_
private
out_manager_ptr vdj_pipe::Pipe_environment::om_
private
bool vdj_pipe::Pipe_environment::reads_skipped_
private
boost::shared_ptr<Step_variant_store> vdj_pipe::Pipe_environment::steps_
private
std::string vdj_pipe::Pipe_environment::summary_output_path_
private
boost::chrono::process_real_cpu_clock::time_point vdj_pipe::Pipe_environment::t1_
private
boost::chrono::process_real_cpu_clock::time_point vdj_pipe::Pipe_environment::t2_
private
boost::chrono::process_real_cpu_clock::time_point vdj_pipe::Pipe_environment::t3_
private
Value_map vdj_pipe::Pipe_environment::vm_
private

The documentation for this class was generated from the following files: