NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
InputStageData Struct Reference

Detailed description

A small class encapsulating the core data needed by all input threads, i.e. the actual input file, a lock, and the relative statistics

Definition at line 50 of file input_thread.h.

#include <input_thread.h>

Public Methods

 InputStageData (io::SequenceDataStream *file, const uint32 max_strings, const uint32 max_bps)
 

Public Members

Mutex m_mutex
 
io::SequenceDataStreamm_file
 
uint32 m_max_strings
 
uint32 m_max_bps
 
uint64 m_reads
 
uint64 m_bps
 
float m_time
 

Constructor & Destructor Documentation

InputStageData::InputStageData ( io::SequenceDataStream file,
const uint32  max_strings,
const uint32  max_bps 
)
inline

constructor

Parameters
fileinput sequence file
max_stringsmaximum number of strings per batch
max_bpsmaximum number of base pairs per batch

Definition at line 58 of file input_thread.h.

Member Data Documentation

uint64 InputStageData::m_bps

Definition at line 72 of file input_thread.h.

io::SequenceDataStream* InputStageData::m_file

Definition at line 68 of file input_thread.h.

uint32 InputStageData::m_max_bps

Definition at line 70 of file input_thread.h.

uint32 InputStageData::m_max_strings

Definition at line 69 of file input_thread.h.

Mutex InputStageData::m_mutex

Definition at line 67 of file input_thread.h.

uint64 InputStageData::m_reads

Definition at line 71 of file input_thread.h.

float InputStageData::m_time

Definition at line 73 of file input_thread.h.


The documentation for this struct was generated from the following file: