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
 
 itkGetModifiableObjectMacro (ComponentDatabase, ComponentDatabaseType)
 
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)
 
 ~ComponentLoader () override
 

Protected Attributes

ComponentDatabasePointer m_ComponentDatabase
 
bool m_ImageTypeSupportInstalled
 

Private Member Functions

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

Member Typedef Documentation

◆ ComponentDatabasePointer

Definition at line 57 of file elxComponentLoader.h.

◆ ComponentDatabaseType

Typedef's.

Definition at line 56 of file elxComponentLoader.h.

◆ ConstPointer

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

Definition at line 49 of file elxComponentLoader.h.

◆ Pointer

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

Definition at line 48 of file elxComponentLoader.h.

◆ Self

Standard ITK typedef's.

Definition at line 46 of file elxComponentLoader.h.

◆ Superclass

Definition at line 47 of file elxComponentLoader.h.

Constructor & Destructor Documentation

◆ ComponentLoader() [1/2]

elastix::ComponentLoader::ComponentLoader ( )
protected

Standard constructor and destructor.

◆ ~ComponentLoader()

elastix::ComponentLoader::~ComponentLoader ( )
overrideprotected

◆ ComponentLoader() [2/2]

elastix::ComponentLoader::ComponentLoader ( const Self )
private

Standard private (copy)constructor.

Member Function Documentation

◆ GetClassName()

virtual const char * elastix::ComponentLoader::GetClassName ( ) const
virtual

◆ InstallSupportedImageTypes()

virtual int elastix::ComponentLoader::InstallSupportedImageTypes ( void  )
protectedvirtual

◆ itkGetModifiableObjectMacro()

elastix::ComponentLoader::itkGetModifiableObjectMacro ( ComponentDatabase  ,
ComponentDatabaseType   
)

◆ LoadComponents()

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.

◆ New()

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

Standard ITK stuff.

◆ operator=()

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

◆ SetComponentDatabase()

virtual void elastix::ComponentLoader::SetComponentDatabase ( ComponentDatabaseType _arg)
virtual

Set and get the ComponentDatabase.

◆ UnloadComponents()

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

Function to unload components.

Field Documentation

◆ m_ComponentDatabase

ComponentDatabasePointer elastix::ComponentLoader::m_ComponentDatabase
protected

Definition at line 76 of file elxComponentLoader.h.

◆ m_ImageTypeSupportInstalled

bool elastix::ComponentLoader::m_ImageTypeSupportInstalled
protected

Definition at line 78 of file elxComponentLoader.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo