go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxComponentLoader.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 
16 #ifndef __elxComponentLoader_h
17 #define __elxComponentLoader_h
18 
19 #include "elxComponentDatabase.h"
20 #include "xoutmain.h"
21 
22 namespace elastix
23 {
24 
38  class ComponentLoader : public itk::Object
39  {
40  public:
41 
44  typedef itk::Object Superclass;
45  typedef itk::SmartPointer<Self> Pointer;
46  typedef itk::SmartPointer<const Self> ConstPointer;
47 
49  itkNewMacro(Self);
50  itkTypeMacro(ComponentLoader, Object);
51 
55 
57  itkSetObjectMacro( ComponentDatabase, ComponentDatabaseType);
58  itkGetObjectMacro( ComponentDatabase, ComponentDatabaseType);
59 
62  virtual int LoadComponents(const char * argv0);
63 
65  virtual void UnloadComponents(void);
66 
67  protected:
70  virtual ~ComponentLoader();
71 
73 
75  virtual int InstallSupportedImageTypes(void);
76 
77  private:
79  ComponentLoader( const Self& ); // purposely not implemented
80  void operator=( const Self& ); // purposely not implemented
81 
82  }; // end class ComponentLoader
83 
84 } //end namespace elastix
85 
86 
87 #endif // #ifndef __elxComponentLoader_h
88 
virtual int LoadComponents(const char *argv0)
itk::SmartPointer< Self > Pointer
virtual void UnloadComponents(void)
itk::SmartPointer< const Self > ConstPointer
ComponentDatabase ComponentDatabaseType
Determines which components (metrics, transforms, etc.) are available.
itk::SmartPointer< Self > Pointer
The ComponentDatabase class is a class that stores the New() functions of all components.
ComponentDatabasePointer m_ComponentDatabase
virtual int InstallSupportedImageTypes(void)
ComponentDatabaseType::Pointer ComponentDatabasePointer
void operator=(const Self &)


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo