Code_TYMPAN  4.4.0
Industrial site acoustic simulation
init_registry.cpp
Go to the documentation of this file.
1 #include "init_registry.h"
12 #if WITH_NMPB
14 #endif
55 #if WITH_NMPB
57 #endif
75 
76 namespace tympan
77 {
78 
80 {
81  // MetierSolver/DataManagerCore
82  OPrototype::add_factory("TYElement", std::move(build_factory<TYElement>()));
83  // Metier/Solver/DataManagerMetier/Site
84  OPrototype::add_factory("TYTopographie", std::move(build_factory<TYTopographie>()));
85  OPrototype::add_factory("TYInfrastructure", std::move(build_factory<TYInfrastructure>()));
86  OPrototype::add_factory("TYSiteNode", std::move(build_factory<TYSiteNode>()));
87  // models/business/infrastructure
88  OPrototype::add_factory("TYDalle", std::move(build_factory<TYDalle>()));
89  OPrototype::add_factory("TYEcran", std::move(build_factory<TYEcran>()));
90  OPrototype::add_factory("TYBatiment", std::move(build_factory<TYBatiment>()));
91  OPrototype::add_factory("TYEtage", std::move(build_factory<TYEtage>()));
92  OPrototype::add_factory("TYMachine", std::move(build_factory<TYMachine>()));
93  OPrototype::add_factory("TYMur", std::move(build_factory<TYMur>()));
94 #if WITH_NMPB
95  OPrototype::add_factory("TYRoute", std::move(build_factory<TYRoute>()));
96 #endif
97  OPrototype::add_factory("TYMurElement", std::move(build_factory<TYMurElement>()));
98  OPrototype::add_factory("TYReseauTransport", std::move(build_factory<TYReseauTransport>()));
99  OPrototype::add_factory("TYParoi", std::move(build_factory<TYParoi>()));
100  // models/business/material
101  OPrototype::add_factory("TYMateriauConstruction", std::move(build_factory<TYMateriauConstruction>()));
102  OPrototype::add_factory("TYVegetation", std::move(build_factory<TYVegetation>()));
103  OPrototype::add_factory("TYSol", std::move(build_factory<TYSol>()));
104  // models/business/geometry
105  OPrototype::add_factory("TYPoint", std::move(build_factory<TYPoint>()));
106  OPrototype::add_factory("TYRepere", std::move(build_factory<TYRepere>()));
107  OPrototype::add_factory("TYBox", std::move(build_factory<TYBox>()));
108  OPrototype::add_factory("TYSegment", std::move(build_factory<TYSegment>()));
109  OPrototype::add_factory("TYGeometryNode", std::move(build_factory<TYGeometryNode>()));
110  OPrototype::add_factory("TYPolygon", std::move(build_factory<TYPolygon>()));
111  OPrototype::add_factory("TYFaceSet", std::move(build_factory<TYFaceSet>()));
112  OPrototype::add_factory("TYRectangle", std::move(build_factory<TYRectangle>()));
113  // models/business/Commun
114  OPrototype::add_factory("TYPalette", std::move(build_factory<TYPalette>()));
115  OPrototype::add_factory("TYPanel", std::move(build_factory<TYPanel>()));
116  OPrototype::add_factory("TYBoundaryNoiseMap", std::move(build_factory<TYBoundaryNoiseMap>()));
117  OPrototype::add_factory("TYLinearMaillage", std::move(build_factory<TYLinearMaillage>()));
118  OPrototype::add_factory("TYPointControl", std::move(build_factory<TYPointControl>()));
119  OPrototype::add_factory("TYPointCalcul", std::move(build_factory<TYPointCalcul>()));
120  OPrototype::add_factory("TYResultat", std::move(build_factory<TYResultat>()));
121  OPrototype::add_factory("TYRectangularMaillage", std::move(build_factory<TYRectangularMaillage>()));
122  OPrototype::add_factory("TYProjet", std::move(build_factory<TYProjet>()));
123  OPrototype::add_factory("TYMaillage", std::move(build_factory<TYMaillage>()));
124  OPrototype::add_factory("TYCalcul", std::move(build_factory<TYCalcul>()));
125  OPrototype::add_factory("TYRay", std::move(build_factory<TYRay>()));
126  // models/business/topography
127  OPrototype::add_factory("TYAltimetrie", std::move(build_factory<TYAltimetrie>()));
128  OPrototype::add_factory("TYPlanEau", std::move(build_factory<TYPlanEau>()));
129  OPrototype::add_factory("TYCoursEau", std::move(build_factory<TYCoursEau>()));
130  OPrototype::add_factory("TYTerrain", std::move(build_factory<TYTerrain>()));
131  OPrototype::add_factory("TYCourbeNiveau", std::move(build_factory<TYCourbeNiveau>()));
132  // models/business/acoustique
133  OPrototype::add_factory("TYSource", std::move(build_factory<TYSource>()));
134  OPrototype::add_factory("TYDirectivity", std::move(build_factory<TYDirectivity>()));
135  OPrototype::add_factory("TYUserDefinedDirectivity", std::move(build_factory<TYUserDefinedDirectivity>()));
136  OPrototype::add_factory("TYComputedDirectivity", std::move(build_factory<TYComputedDirectivity>()));
137  OPrototype::add_factory("TYSpectre", std::move(build_factory<TYSpectre>()));
138  OPrototype::add_factory("TYSourceLineic", std::move(build_factory<TYSourceLineic>()));
139  OPrototype::add_factory("TYSourceCheminee", std::move(build_factory<TYSourceCheminee>()));
140  OPrototype::add_factory("TYUserSourcePonctuelle", std::move(build_factory<TYUserSourcePonctuelle>()));
141  OPrototype::add_factory("TYSourceSurfacic", std::move(build_factory<TYSourceSurfacic>()));
142  OPrototype::add_factory("TYSourcePonctuelle", std::move(build_factory<TYSourcePonctuelle>()));
143  OPrototype::add_factory("TYSourceBafflee", std::move(build_factory<TYSourceBafflee>()));
144 #if WITH_NMPB
145  OPrototype::add_factory("TYTrafic", std::move(build_factory<TYTrafic>()));
146 #endif
147  OPrototype::add_factory("TYAttenuateur", std::move(build_factory<TYAttenuateur>()));
148  // models/business/geoacoustic
149  OPrototype::add_factory("TYBoucheSurface", std::move(build_factory<TYBoucheSurface>()));
150  OPrototype::add_factory("TYChemineeSurface", std::move(build_factory<TYChemineeSurface>()));
151  OPrototype::add_factory("TYAcousticSurfaceNode", std::move(build_factory<TYAcousticSurfaceNode>()));
152  OPrototype::add_factory("TYAcousticVolume", std::move(build_factory<TYAcousticVolume>()));
153  OPrototype::add_factory("TYAcousticSurface", std::move(build_factory<TYAcousticSurface>()));
154  OPrototype::add_factory("TYAcousticRectangle", std::move(build_factory<TYAcousticRectangle>()));
155  OPrototype::add_factory("TYAcousticSemiCylinder", std::move(build_factory<TYAcousticSemiCylinder>()));
156  OPrototype::add_factory("TYAcousticRectangleNode", std::move(build_factory<TYAcousticRectangleNode>()));
157  OPrototype::add_factory("TYAcousticCylinder", std::move(build_factory<TYAcousticCylinder>()));
158  OPrototype::add_factory("TYAcousticBox", std::move(build_factory<TYAcousticBox>()));
159  OPrototype::add_factory("TYAcousticSemiCircle", std::move(build_factory<TYAcousticSemiCircle>()));
160  OPrototype::add_factory("TYAcousticVolumeNode", std::move(build_factory<TYAcousticVolumeNode>()));
161  OPrototype::add_factory("TYAcousticCircle", std::move(build_factory<TYAcousticCircle>()));
162  OPrototype::add_factory("TYAcousticPolygon", std::move(build_factory<TYAcousticPolygon>()));
163  OPrototype::add_factory("TYAcousticLine", std::move(build_factory<TYAcousticLine>()));
164  OPrototype::add_factory("TYAcousticFaceSet", std::move(build_factory<TYAcousticFaceSet>()));
165 
166  // These classes weren't registered initially. Make sure they really don't need
167  // to be.
168  // OPrototype::add_factory("TYUserSrcRegime", std::move(build_factory<TYUserSrcRegime>()));
169  // OPrototype::add_factory("TYRegime", std::move(build_factory<TYRegime>()));
170 }
171 
172 } // namespace tympan
static void add_factory(const char *, IOProtoFactory::ptr_type factory)
Definition: TYElement.cpp:32
void init_registry()