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:
Inheritance graph

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.


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 ( )

Standard constructor and destructor.

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

Standard private (copy)constructor.

Member Function Documentation

virtual const char* elastix::ComponentLoader::GetClassName ( ) const
virtual ComponentDatabaseType* elastix::ComponentLoader::GetComponentDatabase ( )
virtual int elastix::ComponentLoader::InstallSupportedImageTypes ( void  )
virtual int elastix::ComponentLoader::LoadComponents ( const char *  argv0)

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 ( )

Standard ITK stuff.

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

Set and get the ComponentDatabase.

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

Function to unload components.

Field Documentation

ComponentDatabasePointer elastix::ComponentLoader::m_ComponentDatabase

Definition at line 76 of file elxComponentLoader.h.

bool elastix::ComponentLoader::m_ImageTypeSupportInstalled

Definition at line 78 of file elxComponentLoader.h.

Generated on 04-09-2015 for elastix by doxygen elastix logo