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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef __elxComponentLoader_h
20 #define __elxComponentLoader_h
21 
22 #include "elxComponentDatabase.h"
23 #include "xoutmain.h"
24 
25 namespace elastix
26 {
27 
41 class ComponentLoader : public itk::Object
42 {
43 public:
44 
47  typedef itk::Object Superclass;
48  typedef itk::SmartPointer< Self > Pointer;
49  typedef itk::SmartPointer< const Self > ConstPointer;
50 
52  itkNewMacro( Self );
53  itkTypeMacro( ComponentLoader, Object );
54 
58 
62 
65  virtual int LoadComponents( const char * argv0 );
66 
68  virtual void UnloadComponents( void );
69 
70 protected:
71 
74  virtual ~ComponentLoader();
75 
77 
79  virtual int InstallSupportedImageTypes( void );
80 
81 private:
82 
84  ComponentLoader( const Self & ); // purposely not implemented
85  void operator=( const Self & ); // purposely not implemented
86 
87 };
88 
89 } //end namespace elastix
90 
91 #endif // #ifndef __elxComponentLoader_h
elastix::ComponentLoader::ComponentDatabasePointer
ComponentDatabaseType::Pointer ComponentDatabasePointer
Definition: elxComponentLoader.h:57
elastix::ComponentLoader::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxComponentLoader.h:48
elastix::ComponentLoader
Determines which components (metrics, transforms, etc.) are available.
Definition: elxComponentLoader.h:42
elastix::ComponentLoader::LoadComponents
virtual int LoadComponents(const char *argv0)
elastix::ComponentLoader::ComponentDatabaseType
ComponentDatabase ComponentDatabaseType
Definition: elxComponentLoader.h:53
elastix::ComponentLoader::Superclass
itk::Object Superclass
Definition: elxComponentLoader.h:47
elastix::ComponentLoader::operator=
void operator=(const Self &)
elastix::ComponentLoader::ComponentLoader
ComponentLoader()
xoutmain.h
elastix::ComponentLoader::InstallSupportedImageTypes
virtual int InstallSupportedImageTypes(void)
elxComponentDatabase.h
elastix::ComponentDatabase::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxComponentDatabase.h:60
elastix::ComponentLoader::UnloadComponents
virtual void UnloadComponents(void)
elastix::ComponentDatabase
The ComponentDatabase class is a class that stores the New() functions of all components.
Definition: elxComponentDatabase.h:54
elastix::ComponentLoader::m_ComponentDatabase
ComponentDatabasePointer m_ComponentDatabase
Definition: elxComponentLoader.h:76
elastix::ComponentLoader::Self
ComponentLoader Self
Definition: elxComponentLoader.h:46
elastix::ComponentLoader::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxComponentLoader.h:49
elastix::ComponentLoader::ComponentLoader
ComponentLoader(const Self &)
elastix::ComponentLoader::m_ImageTypeSupportInstalled
bool m_ImageTypeSupportInstalled
Definition: elxComponentLoader.h:78
elastix::ComponentLoader::~ComponentLoader
virtual ~ComponentLoader()
elastix
Definition: elxFixedGenericPyramid.h:25


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo