go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
elastix::ComponentLoader Class Reference

#include <elxComponentLoader.h>

Inheritance diagram for elastix::ComponentLoader:
Inheritance graph
[legend]
Collaboration diagram for elastix::ComponentLoader:
Collaboration graph
[legend]

Public Types

typedef
ComponentDatabaseType::Pointer 
ComponentDatabasePointer
typedef ComponentDatabase ComponentDatabaseType
typedef itk::SmartPointer
< const Self
ConstPointer
typedef itk::SmartPointer< SelfPointer
typedef ComponentLoader Self
typedef itk::Object Superclass

Public Member Functions

virtual const char * GetClassName () const
virtual ComponentDatabaseTypeGetComponentDatabase ()
virtual int LoadComponents (const char *argv0)
virtual void SetComponentDatabase (ComponentDatabaseType *_arg)
virtual void UnloadComponents (void)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 ComponentLoader ()
virtual int InstallSupportedImageTypes (void)
virtual ~ComponentLoader ()

Protected Attributes

ComponentDatabasePointer m_ComponentDatabase
bool m_ImageTypeSupportInstalled

Private Member Functions

 ComponentLoader (const Self &)
void operator= (const Self &)

Detailed Description

Determines which components (metrics, transforms, etc.) are available.

This file defines the class elx::ComponentLoader. This class stores pointers to the New() functions of each component in the elx::ComponentDatabase.

Each new component (a new metric for example should "make itself known" by calling the elxInstallMacro, which is defined in elxMacro.h.

Definition at line 38 of file elxComponentLoader.h.


Member Typedef Documentation

Definition at line 54 of file elxComponentLoader.h.

Typedef's.

Definition at line 50 of file elxComponentLoader.h.

typedef itk::SmartPointer<const Self> elastix::ComponentLoader::ConstPointer

Definition at line 46 of file elxComponentLoader.h.

typedef itk::SmartPointer<Self> elastix::ComponentLoader::Pointer

Definition at line 45 of file elxComponentLoader.h.

Standard ITK typedef's.

Definition at line 43 of file elxComponentLoader.h.

Definition at line 44 of file elxComponentLoader.h.


Constructor & Destructor Documentation

Standard constructor and destructor.

virtual elastix::ComponentLoader::~ComponentLoader ( ) [protected, virtual]

Standard private (copy)constructor.


Member Function Documentation

virtual const char* elastix::ComponentLoader::GetClassName ( ) const [virtual]
virtual int elastix::ComponentLoader::InstallSupportedImageTypes ( void  ) [protected, virtual]
virtual int elastix::ComponentLoader::LoadComponents ( const char *  argv0) [virtual]

Function to load components. The argv0 used to be useful to find the program directory, but is not used anymore.

Standard ITK stuff.

void elastix::ComponentLoader::operator= ( const Self ) [private]

Set and get the ComponentDatabase.

virtual void elastix::ComponentLoader::UnloadComponents ( void  ) [virtual]

Function to unload components.


Field Documentation

Definition at line 72 of file elxComponentLoader.h.

Definition at line 74 of file elxComponentLoader.h.



Generated on 24-05-2012 for elastix by doxygen 1.7.6.1 elastix logo