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  ~ComponentLoader() override;
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
The ComponentDatabase class is a class that stores the New() functions of all components.
itk::SmartPointer< Self > Pointer
Determines which components (metrics, transforms, etc.) are available.
itk::SmartPointer< const Self > ConstPointer
ComponentLoader(const Self &)
void operator=(const Self &)
itk::SmartPointer< Self > Pointer
ComponentDatabase ComponentDatabaseType
ComponentDatabasePointer m_ComponentDatabase
ComponentDatabaseType::Pointer ComponentDatabasePointer
virtual int LoadComponents(const char *argv0)
virtual void UnloadComponents(void)
virtual int InstallSupportedImageTypes(void)
itkGetModifiableObjectMacro(ComponentDatabase, ComponentDatabaseType)


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.9.1 elastix logo