Computer Assited Medical Intervention Tool Kit  version 5.0
MonitoringManagerFactory.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef MANAGER_MANAGERFACTORY_H
27 #define MANAGER_MANAGERFACTORY_H
28 
29 #include "MMLAPI.h"
30 
31 // Monitor includes
32 #include "MonitoringManager.h"
43 public:
45  ~MonitoringManagerFactory() = default;
46 
50  static MonitoringManager* createManager(const char* mml);
51 
52 private:
54  MonitoringManagerFactory() = default;
55 
56 };
57 
58 #endif // MANAGER_MANAGERFACTORY_H
MonitoringManagerFactory.h
SimulatorFactory
A factory to create Simulator.
Definition: SimulatorFactory.h:40
MonitoringManager.h
InteractiveMonitoringManager.h
MML_API
#define MML_API
Definition: MMLAPI.h:43
SimulatorFactory::getInstance
static SimulatorFactory * getInstance()
return the unique instance of the factory
Definition: SimulatorFactory.cpp:56
NonInteractiveMonitoringManager
NonInteractice managers are managers linked with an non interactive simulator.
Definition: NonInteractiveMonitoringManager.h:47
SimulatorFactory::isInteractive
bool isInteractive(std::string id)
return true if the registered simulator id is interactive
Definition: SimulatorFactory.cpp:94
SimulatorFactory::isRegistered
bool isRegistered(std::string id)
Returns true if id is in the map.
Definition: SimulatorFactory.cpp:32
SimulatorFactory.h
MMLAPI.h
MonitoringManager
Manager of the benchmark tests. Do simulation loop and tests.
Definition: MonitoringManager.h:50
NonInteractiveMonitoringManager.h
MonitoringManagerFactory
A factory to create MonitoringManager.
Definition: MonitoringManagerFactory.h:42
MonitoringManagerFactory::createManager
static MonitoringManager * createManager(const char *mml)
create an interactive or noninteractive manager according to simulator type
Definition: MonitoringManagerFactory.cpp:32
InteractiveMonitoringManager
Interactice managers are managers linked with an interactive simulator.
Definition: InteractiveMonitoringManager.h:51