Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
src
Core
Install
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
43
typedef
ComponentLoader
Self
;
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
53
typedef
ComponentDatabase
ComponentDatabaseType
;
54
typedef
ComponentDatabaseType::Pointer
ComponentDatabasePointer
;
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
:
69
ComponentLoader
();
70
virtual
~ComponentLoader
();
71
72
ComponentDatabasePointer
m_ComponentDatabase
;
73
74
bool
m_ImageTypeSupportInstalled
;
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
Generated on 21-03-2014 for elastix by
1.8.1.2