Class AttenuationOutputMultiThread
- java.lang.Object
-
- org.noise_planet.noisemodelling.jdbc.output.AttenuationOutputMultiThread
-
- All Implemented Interfaces:
CutPlaneVisitorFactory
public class AttenuationOutputMultiThread extends Object implements 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 Modifier and Type Field Description AtomicBooleanabortedAtomicLongcnossosPathCountAtomicBooleanexitWhenDoneNoiseMapDatabaseParametersnoiseMapDatabaseParametersResultsCacheresultsCacheSceneWithEmissionsceneWithEmission
-
Constructor Summary
Constructors Constructor Description AttenuationOutputMultiThread(SceneWithEmission sceneWithEmission)AttenuationOutputMultiThread(SceneWithEmission inputData, ResultsCache resultsCache, NoiseMapDatabaseParameters noiseMapDatabaseParameters, AtomicBoolean exitWhenDone, AtomicBoolean aborted)Create NoiseMap constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CutPlaneVisitorsubProcess(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 Detail
-
resultsCache
public ResultsCache resultsCache
-
sceneWithEmission
public SceneWithEmission sceneWithEmission
-
noiseMapDatabaseParameters
public NoiseMapDatabaseParameters noiseMapDatabaseParameters
-
exitWhenDone
public AtomicBoolean exitWhenDone
-
aborted
public AtomicBoolean aborted
-
cnossosPathCount
public AtomicLong cnossosPathCount
-
-
Constructor Detail
-
AttenuationOutputMultiThread
public AttenuationOutputMultiThread(SceneWithEmission inputData, ResultsCache resultsCache, NoiseMapDatabaseParameters noiseMapDatabaseParameters, AtomicBoolean exitWhenDone, AtomicBoolean aborted)
Create NoiseMap constructor- Parameters:
inputData-resultsCache-noiseMapDatabaseParameters-
-
AttenuationOutputMultiThread
public AttenuationOutputMultiThread(SceneWithEmission sceneWithEmission)
-
-
Method Detail
-
subProcess
public CutPlaneVisitor subProcess(org.h2gis.api.ProgressVisitor visitor)
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
-
-