Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

cmtk::MultiFilter< O > Class Template Reference
[cmtkPipeline Library]

Filter with several inputs. More...

#include <cmtkMultiFilter.h>

Inheritance diagram for cmtk::MultiFilter< O >:
Inheritance graph
[legend]
Collaboration diagram for cmtk::MultiFilter< O >:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

template<class O>
class cmtk::MultiFilter< O >

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.

See also:
Source
Filter

Definition at line 59 of file cmtkMultiFilter.h.


Member Typedef Documentation

template<class O>
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.


Constructor & Destructor Documentation

template<class O>
cmtk::MultiFilter< O >::MultiFilter (  ) [inline, protected]

Default constructor.

Definition at line 106 of file cmtkMultiFilter.h.

template<class O>
virtual cmtk::MultiFilter< O >::~MultiFilter (  ) [inline, protected, virtual]

Destructor.

Empty list of input objects.

Definition at line 111 of file cmtkMultiFilter.h.


Member Function Documentation

template<class O>
template<class I >
void cmtk::MultiFilter< O >::RegisterInput ( I **  input ) [inline]

Definition at line 63 of file cmtkMultiFilter.h.

template<class O>
template<class I >
void cmtk::MultiFilter< O >::UnregisterInput ( const I **  input ) [inline]

Definition at line 71 of file cmtkMultiFilter.h.

template<class O>
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.

See also:
PipelineObject::Update

Reimplemented from cmtk::PipelineObject.

Definition at line 92 of file cmtkMultiFilter.h.


Member Data Documentation

template<class O>
InputListType cmtk::MultiFilter< O >::m_InputList [protected]

The actual input object.

Definition at line 121 of file cmtkMultiFilter.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines