diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-02-16 15:15:13 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-02-16 15:15:13 +0100 |
commit | bc2e4018054f494fcba01e6a27a63e151bf1e9a4 (patch) | |
tree | 8e5343f4833c0762643e55ff63edfdd685122aad /src/AstraObjectManager.cpp | |
parent | 46836ee3195fdc8d09a0f03cee13b475b4ff9fc1 (diff) | |
download | astra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.tar.gz astra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.tar.bz2 astra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.tar.xz astra-bc2e4018054f494fcba01e6a27a63e151bf1e9a4.zip |
Refactor AstraObjectManager to add an AstraIndexManager
The new AstraIndexManager can be used to obtain information about objects
without knowing their type.
Diffstat (limited to 'src/AstraObjectManager.cpp')
-rw-r--r-- | src/AstraObjectManager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/AstraObjectManager.cpp b/src/AstraObjectManager.cpp index c49f273..46eae4b 100644 --- a/src/AstraObjectManager.cpp +++ b/src/AstraObjectManager.cpp @@ -31,13 +31,13 @@ $Id$ namespace astra { -int CAstraIndexManager::m_iPreviousIndex = 0; - -DEFINE_SINGLETON(CAstraObjectManager<CProjector2D>); -DEFINE_SINGLETON(CAstraObjectManager<CProjector3D>); -DEFINE_SINGLETON(CAstraObjectManager<CFloat32Data2D>); -DEFINE_SINGLETON(CAstraObjectManager<CFloat32Data3D>); -DEFINE_SINGLETON(CAstraObjectManager<CAlgorithm>); -DEFINE_SINGLETON(CAstraObjectManager<CSparseMatrix>); +DEFINE_SINGLETON(CProjector2DManager); +DEFINE_SINGLETON(CProjector3DManager); +DEFINE_SINGLETON(CData2DManager); +DEFINE_SINGLETON(CData3DManager); +DEFINE_SINGLETON(CAlgorithmManager); +DEFINE_SINGLETON(CMatrixManager); + +DEFINE_SINGLETON(CAstraIndexManager); } // end namespace |