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

Detailed description

A small class implementing an nvbio::Pipeline stage reading sequence batches from a file

A small class implementing a Pipeline stage reading sequence batches from a file

Definition at line 79 of file input_thread.h.

#include <input_thread.h>

Public Types

typedef void argument_type
 
typedef io::SequenceDataHost return_type
 
typedef void argument_type
 
typedef io::SequenceDataHost return_type
 

Public Methods

 InputStage ()
 
 InputStage (InputStageData *data)
 
bool process (PipelineContext &context)
 
 InputStage (io::SequenceDataStream *file, const uint32 max_strings, const uint32 max_bps)
 
bool process (PipelineContext &context)
 

Public Members

InputStageDatam_data
 
io::SequenceDataStreamm_file
 
uint32 m_max_strings
 
uint32 m_max_bps
 
float m_time
 

Member Typedef Documentation

Definition at line 48 of file input_thread.h.

Definition at line 81 of file input_thread.h.

Definition at line 49 of file input_thread.h.

Definition at line 82 of file input_thread.h.

Constructor & Destructor Documentation

InputStage::InputStage ( )
inline

constructor

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

Definition at line 90 of file input_thread.h.

InputStage::InputStage ( InputStageData data)
inline

constructor

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

Definition at line 98 of file input_thread.h.

InputStage::InputStage ( 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 57 of file input_thread.h.

Member Function Documentation

bool InputStage::process ( PipelineContext context)
inline

fill the next batch

Definition at line 65 of file input_thread.h.

bool InputStage::process ( PipelineContext context)
inline

fill the next batch

Definition at line 102 of file input_thread.h.

Member Data Documentation

InputStageData* InputStage::m_data

Definition at line 139 of file input_thread.h.

io::SequenceDataStream* InputStage::m_file

Definition at line 82 of file input_thread.h.

uint32 InputStage::m_max_bps

Definition at line 84 of file input_thread.h.

uint32 InputStage::m_max_strings

Definition at line 83 of file input_thread.h.

float InputStage::m_time

Definition at line 85 of file input_thread.h.


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