Computer Assited Medical Intervention Tool Kit  version 4.1
NonInteractiveMonitoringManager.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2018 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
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_NONINTERACTIVEMANAGER_H
27 #define MANAGER_NONINTERACTIVEMANAGER_H
28 
29 #include <memory> // std::auto_ptr
30 #include <vector>
31 
32 // Monitor includes
33 #include <MonitorIn.hxx>
34 #include <MonitorOut.hxx>
35 #include "MonitoringManager.h"
36 #include "Monitor.h"
37 
38 // Simulator includes
48 public:
54  NonInteractiveMonitoringManager(const char* mml);
55 
58 
62  bool doCalc();
64  bool init() override;
66  void end() override;
68  void doMove() override;
70  bool checkStop() override;
71 
72 private:
74  int maxStep;
77 
78 
79 
80 };
81 
82 #endif // MANAGER_NONINTERACTIVEMANAGER_H
An interactive simulator is a simulator that we cannot control step by step (ex: Ansys) Entire simula...
Definition: NonInteractiveSimulator.h:38
void doMove() override
postprocess a simulation step, doCalc must have been done before
Definition: NonInteractiveMonitoringManager.cpp:85
NonInteractiveMonitoringManager(const char *mml)
constructor
Definition: NonInteractiveMonitoringManager.cpp:36
void end() override
End manager.
Definition: NonInteractiveMonitoringManager.cpp:75
~NonInteractiveMonitoringManager() override
destructor
Definition: NonInteractiveMonitoringManager.cpp:41
NonInteractiveSimulator * simul
the simulator used for simualtion
Definition: NonInteractiveMonitoringManager.h:76
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
bool checkStop() override
Check if simulation is finished.
Definition: NonInteractiveMonitoringManager.cpp:92
bool doCalc()
make computation of all steps with the simulator
Definition: NonInteractiveMonitoringManager.cpp:80
bool init() override
Initialize manager.
Definition: NonInteractiveMonitoringManager.cpp:60
NonInteractice managers are managers linked with an non interactive simulator.
Definition: NonInteractiveMonitoringManager.h:47
int maxStep
the number of step unsed for simulation
Definition: NonInteractiveMonitoringManager.h:74