Class AttenuationOutputMultiThread
java.lang.Object
org.noise_planet.noisemodelling.jdbc.output.AttenuationOutputMultiThread
- All Implemented Interfaces:
CutPlaneVisitorFactory
This class is built on each new computation cell area. It will create for each thread (range of receivers) an instance
of AttenuationOutputSingleThread
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttenuationOutputMultiThread(SceneWithEmission sceneWithEmission) Constructor for AttenuationOutputMultiThread with Cnossos propagation model (for testing purpose).AttenuationOutputMultiThread(SceneWithEmission inputData, PropagationModelCreator propagationModelCreator, ResultsCache resultsCache, NoiseMapDatabaseParameters noiseMapDatabaseParameters, AtomicBoolean exitWhenDone, AtomicBoolean aborted) Create NoiseMap constructor -
Method Summary
Modifier and TypeMethodDescriptionsubProcess(org.h2gis.api.ProgressVisitor visitor) Create a collector of Vertical Cut that will be processed by a single thread (an interval of receivers points)
-
Field Details
-
resultsCache
-
sceneWithEmission
-
noiseMapDatabaseParameters
-
exitWhenDone
-
aborted
-
cutProfileCount
-
propagationModel
-
-
Constructor Details
-
AttenuationOutputMultiThread
public AttenuationOutputMultiThread(SceneWithEmission inputData, PropagationModelCreator propagationModelCreator, ResultsCache resultsCache, NoiseMapDatabaseParameters noiseMapDatabaseParameters, AtomicBoolean exitWhenDone, AtomicBoolean aborted) Create NoiseMap constructor- Parameters:
inputData- Geometrical information about the propagation sceneresultsCache- Results cachenoiseMapDatabaseParameters- Propagation parameters
-
AttenuationOutputMultiThread
Constructor for AttenuationOutputMultiThread with Cnossos propagation model (for testing purpose).- Parameters:
sceneWithEmission- Geometrical information about the propagation scene
-
-
Method Details
-
subProcess
Create a collector of Vertical Cut that will be processed by a single thread (an interval of receivers points)- Specified by:
subProcessin interfaceCutPlaneVisitorFactory- Parameters:
visitor- Progression information, used to cancel processing too- Returns:
- an instance of the interface IComputePathsOut
-