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>

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 41 of file elxComponentLoader.h.

+ Inheritance diagram for elastix::ComponentLoader:

Public Types

typedef ComponentDatabaseType::Pointer ComponentDatabasePointer
 
typedef ComponentDatabase ComponentDatabaseType
 
typedef itk::SmartPointer< const SelfConstPointer
 
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 &)
 

Member Typedef Documentation

Definition at line 57 of file elxComponentLoader.h.

Typedef's.

Definition at line 53 of file elxComponentLoader.h.

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

Definition at line 49 of file elxComponentLoader.h.

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

Definition at line 48 of file elxComponentLoader.h.

Standard ITK typedef's.

Definition at line 46 of file elxComponentLoader.h.

Definition at line 47 of file elxComponentLoader.h.

Constructor & Destructor Documentation

elastix::ComponentLoader::ComponentLoader ( )
protected

Standard constructor and destructor.

virtual elastix::ComponentLoader::~ComponentLoader ( )
protectedvirtual
elastix::ComponentLoader::ComponentLoader ( const Self )
private

Standard private (copy)constructor.

Member Function Documentation

virtual const char* elastix::ComponentLoader::GetClassName ( ) const
virtual
virtual ComponentDatabaseType* elastix::ComponentLoader::GetComponentDatabase ( )
virtual
virtual int elastix::ComponentLoader::InstallSupportedImageTypes ( void  )
protectedvirtual
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.

static Pointer elastix::ComponentLoader::New ( )
static

Standard ITK stuff.

void elastix::ComponentLoader::operator= ( const Self )
private
virtual void elastix::ComponentLoader::SetComponentDatabase ( ComponentDatabaseType _arg)
virtual

Set and get the ComponentDatabase.

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

Function to unload components.

Field Documentation

ComponentDatabasePointer elastix::ComponentLoader::m_ComponentDatabase
protected

Definition at line 76 of file elxComponentLoader.h.

bool elastix::ComponentLoader::m_ImageTypeSupportInstalled
protected

Definition at line 78 of file elxComponentLoader.h.



Generated on 07-03-2016 for elastix by doxygen 1.8.11 elastix logo