JEMRIS 2.9.2
open-source MRI simulations
Loading...
Searching...
No Matches
ModulePrototypeFactory.h
Go to the documentation of this file.
1
5/*
6 * JEMRIS Copyright (C)
7 * 2006-2025 Tony Stoecker
8 * 2007-2018 Kaveh Vahedipour
9 * 2009-2019 Daniel Pflugfelder
10 *
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 */
26
27#ifndef MODULEPROTOTYPEFACTORY_H_
28#define MODULEPROTOTYPEFACTORY_H_
29
30#include "PrototypeFactory.h"
31#include "Module.h"
36
37 public:
38
46
51
58 Module* CloneModule (DOMNode* node) ;
59
66 Module* CloneModule (string name) ;
67
71 map<string, Module*>* GetModuleList() {return &m_Clonables;}
72
73 protected:
74
80 Module* GetModule (string name) ;
81
88 int upper(int c);
89
90private:
91 //Modules
92 map<string, Module*> m_Clonables;
93
94};
95
96#endif /*MODULEPROTOTYPEFACTORY_H_*/
Implementation of JEMRIS Module.
Implementation of JEMRIS PrototypeFactory.
Module factory.
Definition ModulePrototypeFactory.h:35
map< string, Module * > * GetModuleList()
Definition ModulePrototypeFactory.h:71
Module * CloneModule(DOMNode *node)
Definition ModulePrototypeFactory.cpp:90
ModulePrototypeFactory()
Definition ModulePrototypeFactory.cpp:60
Module * GetModule(string name)
Definition ModulePrototypeFactory.cpp:85
virtual ~ModulePrototypeFactory()
Definition ModulePrototypeFactory.cpp:52
Module super class! ABC for all Objects in the sequence framework.
Definition Module.h:41
Base class for prototype factories.
Definition PrototypeFactory.h:44

-- last change 03.01.2025 | Tony Stoecker | Imprint | Data Protection --