From 38e7a957c7f38aa566b08c996ec21825b00fdaf8 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (l)" <j.wuttke@fz-juelich.de> Date: Thu, 15 Oct 2020 22:25:42 +0200 Subject: [PATCH] forward class declaration --- Core/Computation/DepthProbeComputationTerm.cpp | 1 + Core/Computation/GISASSpecularComputation.cpp | 1 + Core/Computation/RoughMultiLayerComputation.cpp | 1 + Core/Computation/SpecularComputationTerm.cpp | 1 + Sample/Fresnel/FormFactorCoherentPart.cpp | 1 + Sample/Specular/ISpecularStrategy.h | 3 ++- 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Core/Computation/DepthProbeComputationTerm.cpp b/Core/Computation/DepthProbeComputationTerm.cpp index ab5238f7b6d..792e78de69c 100644 --- a/Core/Computation/DepthProbeComputationTerm.cpp +++ b/Core/Computation/DepthProbeComputationTerm.cpp @@ -18,6 +18,7 @@ #include "Core/Computation/DepthProbeElement.h" #include "Core/Computation/ProcessedSample.h" #include "Sample/Fresnel/IFresnelMap.h" +#include "Sample/RT/ILayerRTCoefficients.h" DepthProbeComputationTerm::DepthProbeComputationTerm(const ProcessedSample* p_sample) : mp_sample{p_sample} diff --git a/Core/Computation/GISASSpecularComputation.cpp b/Core/Computation/GISASSpecularComputation.cpp index e534e6c2439..7fd23a2d7d7 100644 --- a/Core/Computation/GISASSpecularComputation.cpp +++ b/Core/Computation/GISASSpecularComputation.cpp @@ -15,6 +15,7 @@ #include "Core/Computation/GISASSpecularComputation.h" #include "Base/Pixel/SimulationElement.h" #include "Sample/Fresnel/IFresnelMap.h" +#include "Sample/RT/ILayerRTCoefficients.h" GISASSpecularComputation::GISASSpecularComputation(const IFresnelMap* p_fresnel_map) : mp_fresnel_map{p_fresnel_map} diff --git a/Core/Computation/RoughMultiLayerComputation.cpp b/Core/Computation/RoughMultiLayerComputation.cpp index bcf435fcb2c..0b5b58330e6 100644 --- a/Core/Computation/RoughMultiLayerComputation.cpp +++ b/Core/Computation/RoughMultiLayerComputation.cpp @@ -20,6 +20,7 @@ #include "Sample/Multilayer/Layer.h" #include "Sample/Multilayer/LayerInterface.h" #include "Sample/Multilayer/MultiLayer.h" +#include "Sample/RT/ILayerRTCoefficients.h" #include "Sample/Slice/LayerRoughness.h" #include <cerf> diff --git a/Core/Computation/SpecularComputationTerm.cpp b/Core/Computation/SpecularComputationTerm.cpp index 1e9eedd9d6b..1bca179fcdd 100644 --- a/Core/Computation/SpecularComputationTerm.cpp +++ b/Core/Computation/SpecularComputationTerm.cpp @@ -14,6 +14,7 @@ #include "Core/Computation/SpecularComputationTerm.h" #include "Core/Computation/DelayedProgressCounter.h" +#include "Sample/RT/ILayerRTCoefficients.h" #include "Sample/Specular/ISpecularStrategy.h" #include "Sample/Specular/SpecularSimulationElement.h" diff --git a/Sample/Fresnel/FormFactorCoherentPart.cpp b/Sample/Fresnel/FormFactorCoherentPart.cpp index d026f2adb92..7e687666135 100644 --- a/Sample/Fresnel/FormFactorCoherentPart.cpp +++ b/Sample/Fresnel/FormFactorCoherentPart.cpp @@ -16,6 +16,7 @@ #include "Base/Pixel/SimulationElement.h" #include "Sample/Fresnel/IFresnelMap.h" #include "Sample/Material/WavevectorInfo.h" +#include "Sample/RT/ILayerRTCoefficients.h" #include "Sample/Scattering/IFormFactor.h" FormFactorCoherentPart::FormFactorCoherentPart(IFormFactor* p_ff) : mP_ff(p_ff) {} diff --git a/Sample/Specular/ISpecularStrategy.h b/Sample/Specular/ISpecularStrategy.h index c15e8f96ef8..2276f0f6622 100644 --- a/Sample/Specular/ISpecularStrategy.h +++ b/Sample/Specular/ISpecularStrategy.h @@ -15,11 +15,12 @@ #ifndef BORNAGAIN_CORE_MULTILAYER_ISPECULARSTRATEGY_H #define BORNAGAIN_CORE_MULTILAYER_ISPECULARSTRATEGY_H +#include "Base/Types/Complex.h" #include "Base/Vector/Vectors3D.h" -#include "Sample/RT/ILayerRTCoefficients.h" #include <memory> #include <vector> +class ILayerRTCoefficients; class Slice; //! Interface for the Fresnel computations, both in the scalar and magnetic case -- GitLab