|
My Project
|
Generic base class for out-of-core FIFO filters. More...
#include <mia/core/fifofilter.hh>
Public Types | |
| typedef std::shared_ptr< TFifoFilter > | Pointer |
| smart pointer representing this class | |
Public Member Functions | |
| void | append_filter (Pointer last) |
| void | finalize () |
| void | push (typename ::boost::call_traits< T >::param_type x) |
| TFifoFilter (size_t width, size_t min_fill, size_t read_start) | |
Protected Member Functions | |
| size_t | get_buffer_size () const |
| size_t | get_end () const |
| size_t | get_pos () const |
| size_t | get_start () const |
Generic base class for out-of-core FIFO filters.
Base class for a First-in-first out filter that does not need the whole data to be loaded.
Definition at line 52 of file fifofilter.hh.
| typedef std::shared_ptr<TFifoFilter > TFifoFilter< T >::Pointer |
smart pointer representing this class
Definition at line 57 of file fifofilter.hh.
| TFifoFilter< T >::TFifoFilter | ( | size_t | width, |
| size_t | min_fill, | ||
| size_t | read_start ) |
Constructor
| width | filter width |
| min_fill | minimum fill of the buffer to process (usally half filter width) |
| read_start | number of slices need to be pushed into the pipeline before the first results can be read from the filter |
| void TFifoFilter< T >::append_filter | ( | Pointer | last | ) |
Attach a filter at the end of the filter chain
| void TFifoFilter< T >::finalize | ( | ) |
Initiate the processing of the final slices in the pipeline
|
protected |
|
protected |
|
protected |
|
protected |
| void TFifoFilter< T >::push | ( | typename ::boost::call_traits< T >::param_type | x | ) |
Push a data element down the filter pipeline
| x | data element |