|
NVBIO
|
A class implementing a pipeline sink thread
| SinkType | a class implementing the actual pipeline stage, must define the following interface: |
Definition at line 94 of file pipeline_inl.h.
#include <pipeline_inl.h>
Public Types | |
| typedef SinkType::argument_type | argument_type |
Public Methods | |
| PipelineSinkThread (SinkType *stage) | |
| void | run () |
| bool | fill () |
Public Methods inherited from nvbio::priv::PipelineThreadBase | |
| PipelineThreadBase () | |
| virtual | ~PipelineThreadBase () |
| virtual void * | fetch (const uint32 i) |
| virtual void | release (const uint32 i) |
| void | add_dependency (PipelineThreadBase *dep) |
| void | add_client () |
| void | set_id (const uint32 id) |
Public Methods inherited from nvbio::Thread< PipelineThreadBase > | |
| void | create () |
| create the thread More... | |
| void | join () |
| join the thread More... | |
Public Methods inherited from nvbio::ThreadBase | |
| ThreadBase () | |
| ~ThreadBase () | |
| void | set_id (const uint32 id) |
| uint32 | get_id () const |
| void | create (void *(*func)(void *), void *arg) |
| create the thread More... | |
| void | join () |
| join the thread More... | |
Public Members | |
| SinkType * | m_stage |
| uint32 | m_counter |
| float | m_time |
Public Members inherited from nvbio::priv::PipelineThreadBase | |
| std::vector< PipelineThreadBase * > | m_deps |
| uint32 | m_clients |
| uint32 | m_id |
| typedef SinkType::argument_type nvbio::priv::PipelineSinkThread< SinkType >::argument_type |
Definition at line 96 of file pipeline_inl.h.
|
inline |
constructor
Definition at line 100 of file pipeline_inl.h.
|
inline |
fill the next batch
Definition at line 112 of file pipeline_inl.h.
|
inlinevirtual |
run the thread
Reimplemented from nvbio::priv::PipelineThreadBase.
Definition at line 105 of file pipeline_inl.h.
| uint32 nvbio::priv::PipelineSinkThread< SinkType >::m_counter |
Definition at line 151 of file pipeline_inl.h.
| SinkType* nvbio::priv::PipelineSinkThread< SinkType >::m_stage |
Definition at line 150 of file pipeline_inl.h.
| float nvbio::priv::PipelineSinkThread< SinkType >::m_time |
Definition at line 152 of file pipeline_inl.h.
1.8.4