Filter with several inputs. More...
#include <cmtkMultiFilter.h>
Public Member Functions | |
template<class I > | |
void | RegisterInput (I **input) |
template<class I > | |
void | UnregisterInput (const I **input) |
virtual long | Update () |
Update this object. | |
Protected Types | |
typedef std::list < PipelineObject ** > | InputListType |
Type for the STL list holding pointers to PipelineObjects. | |
Protected Member Functions | |
MultiFilter () | |
Default constructor. | |
virtual | ~MultiFilter () |
Destructor. | |
Protected Attributes | |
InputListType | m_InputList |
The actual input object. |
Filter with several inputs.
This class combines the data source functions inherited from Source with update control for an arbitrary number of input port. It therefore serves as a template for all classes transforming more than one input into an output object. For just one input, Filter is probably more efficient as it gets along without the STL "list" class.
Definition at line 59 of file cmtkMultiFilter.h.
typedef std::list<PipelineObject**> cmtk::MultiFilter< O >::InputListType [protected] |
Type for the STL list holding pointers to PipelineObjects.
Definition at line 118 of file cmtkMultiFilter.h.
cmtk::MultiFilter< O >::MultiFilter | ( | ) | [inline, protected] |
Default constructor.
Definition at line 106 of file cmtkMultiFilter.h.
virtual cmtk::MultiFilter< O >::~MultiFilter | ( | ) | [inline, protected, virtual] |
void cmtk::MultiFilter< O >::RegisterInput | ( | I ** | input ) | [inline] |
Definition at line 63 of file cmtkMultiFilter.h.
void cmtk::MultiFilter< O >::UnregisterInput | ( | const I ** | input ) | [inline] |
Definition at line 71 of file cmtkMultiFilter.h.
virtual long cmtk::MultiFilter< O >::Update | ( | ) | [inline, virtual] |
Update this object.
Check for changes in all input objects first, then call inherited Update() function from PipelineObject.
Reimplemented from cmtk::PipelineObject.
Definition at line 92 of file cmtkMultiFilter.h.
InputListType cmtk::MultiFilter< O >::m_InputList [protected] |
The actual input object.
Definition at line 121 of file cmtkMultiFilter.h.