Code_TYMPAN  4.4.0
Industrial site acoustic simulation
plugin9613Solver2024.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012-2024> <EDF-DTG> <FRANCE>
3  * This file is part of Code_TYMPAN (R).
4  * Code_TYMPAN (R) is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  * Code_TYMPAN (R) is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  * You should have received a copy of the GNU General Public License along
13  * with Code_TYMPAN (R). If not, see <https://www.gnu.org/licenses/>.
14  */
15 
20 #include "Tympan/core/plugin.h"
22 
24 
25 extern "C" PLUGIN_DECL void startPlugin()
26 {
27  plugin = new Plugin();
28  plugin->setName("9613Solver_2024");
29  plugin->setAuthor("Projet_Tympan");
30  plugin->setVersion("1.0");
31  plugin->setDescription("Solveur acoustique conforme a la norme 9613 version 2024");
32  plugin->setUUID(OGenID("{B76AF2E1-2504-4BF2-A23F-DCD59D7B0197}"));
34  plugin->setSolver(solver);
35  solver->init();
36 }
37 
39 {
40  return plugin;
41 }
42 
43 extern "C" PLUGIN_DECL void stopPlugin()
44 {
45  delete plugin;
46 }
Definition: idgen.h:28
Definition: plugin.h:48
void setSolver(SolverInterface *solver)
Definition: plugin.h:113
void setUUID(const OGenID &uuid)
Definition: plugin.h:76
void setDescription(const QString &description)
Definition: plugin.h:72
void setName(const QString &name)
Definition: plugin.h:60
void setVersion(const QString &version)
Definition: plugin.h:68
void setAuthor(const QString &author)
Definition: plugin.h:64
9613 Solver version 2024
void init()
Initialize solver This method must be called after instantiation of a solver.
Definition: TYSolver.cpp:52
Plugin * plugin
Plugin for 9613 solver 2024 version.
PLUGIN_DECL void startPlugin()
PLUGIN_DECL Plugin * getPlugin()
PLUGIN_DECL void stopPlugin()
#define PLUGIN_DECL
Definition: plugin.h:33