Public Member Functions | Protected Member Functions | Protected Attributes

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

General data source object. More...

#include <cmtkSource.h>

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

List of all members.

Public Member Functions

virtual O * GetOutput ()
 Get output object.

Protected Member Functions

 Source ()
 Default constructor.
virtual ~Source ()
 Destructor.

Protected Attributes

O * Output
 Pointer to the actual output object.

Detailed Description

template<class O>
class cmtk::Source< O >

General data source object.

This class provides common fields and acces functions for data source objects. The output object type is defined by the template parameter "O".

Definition at line 50 of file cmtkSource.h.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 56 of file cmtkSource.h.

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

Destructor.

Unregister from the output object.

Definition at line 61 of file cmtkSource.h.


Member Function Documentation

template<class O>
virtual O* cmtk::Source< O >::GetOutput (  ) [inline, virtual]

Get output object.

If the output object does not yet exist, a new objet is created. The current Source object is then registered as the new output object's primary owner.

Definition at line 72 of file cmtkSource.h.

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().


Member Data Documentation

template<class O>
O* cmtk::Source< O >::Output [protected]

Pointer to the actual output object.

Definition at line 84 of file cmtkSource.h.


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