pipeline
More...
#include "Pipeline.h"
|
virtual | ~Pipeline () |
| destructor More...
|
|
virtual Output | goThrough (Input const &in) const =0 |
| go More...
|
|
virtual bool | inversable () |
| return whether this pipeline can reverse More...
|
|
virtual Input | goThroughInv (Output const &in) const |
| reverse go More...
|
|
virtual bool | frontAdd (Medium const *ptr, bool auto_delete) |
| add a medium to the front of this pipeline More...
|
|
virtual bool | backAdd (Medium const *ptr, bool auto_delete) |
| add a medium to the back of this pipeline More...
|
|
virtual bool | frontDel () |
| remove a medium from the front of this pipeline More...
|
|
virtual bool | backDel () |
| add a medium from the back of this pipeline More...
|
|
virtual size_t | size () const |
| return how many medium in this pipeline More...
|
|
virtual bool | empty () const |
| same as (size() == 0) More...
|
|
virtual Medium const * | first () const |
| get the const-pointer of the first medium More...
|
|
virtual Medium const * | last () const |
| get the const-pointer of the last medium More...
|
|
template<class Input, class Output, class Medium>
class meow::Pipeline< Input, Output, Medium >
pipeline
template<class Input, class Output, class Medium>
template<class Input, class Output, class Medium>
constructor with empty contain
template<class Input, class Output, class Medium>
template<class Input, class Output, class Medium>
template<class Input, class Output, class Medium>
virtual bool meow::Pipeline< Input, Output, Medium >::backAdd |
( |
Medium const * |
ptr, |
|
|
bool |
auto_delete |
|
) |
| |
|
inlinevirtual |
add a medium to the back of this pipeline
- Parameters
-
[in] | ptr | pointer to the medium |
[in] | auto_delete | should I delete this pointer when destructor |
Reimplemented in meow::TransformatePipeline< Scalar >.
template<class Input, class Output, class Medium>
add a medium from the back of this pipeline
- Returns
- successful or not
template<class Input, class Output, class Medium>
copy contain from gived pipeline
- Parameters
-
- Returns
*this
template<class Input, class Output, class Medium>
template<class Input, class Output, class Medium>
virtual Medium const* meow::Pipeline< Input, Output, Medium >::first |
( |
| ) |
const |
|
inlinevirtual |
get the const-pointer of the first medium
template<class Input, class Output, class Medium>
virtual bool meow::Pipeline< Input, Output, Medium >::frontAdd |
( |
Medium const * |
ptr, |
|
|
bool |
auto_delete |
|
) |
| |
|
inlinevirtual |
add a medium to the front of this pipeline
- Parameters
-
[in] | ptr | pointer to the medium |
[in] | auto_delete | should I delete this pointer when destructor |
- Returns
- successful or not
Reimplemented in meow::TransformatePipeline< Scalar >.
template<class Input, class Output, class Medium>
remove a medium from the front of this pipeline
- Returns
- successful or not
template<class Input, class Output, class Medium>
virtual Output meow::Pipeline< Input, Output, Medium >::goThrough |
( |
Input const & |
in | ) |
const |
|
pure virtual |
template<class Input, class Output, class Medium>
virtual Input meow::Pipeline< Input, Output, Medium >::goThroughInv |
( |
Output const & |
in | ) |
const |
|
inlinevirtual |
reverse go
- Parameters
-
- Returns
- output data
template<class Input, class Output, class Medium>
return whether this pipeline can reverse
Default is unable
template<class Input, class Output, class Medium>
virtual Medium const* meow::Pipeline< Input, Output, Medium >::last |
( |
| ) |
const |
|
inlinevirtual |
get the const-pointer of the last medium
template<class Input, class Output, class Medium>
template<class Input, class Output, class Medium>
std::list<Medium const*> const& meow::Pipeline< Input, Output, Medium >::pipe |
( |
| ) |
const |
|
inlineprotected |
return const-reference of the pipe list
template<class Input, class Output, class Medium>
reference from gived pipeline
- Parameters
-
- Returns
*this
template<class Input, class Output, class Medium>
virtual size_t meow::Pipeline< Input, Output, Medium >::size |
( |
| ) |
const |
|
inlinevirtual |
return how many medium in this pipeline
The documentation for this class was generated from the following file: