NearestCoverageAtTimeInterp.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18 */
19 
20 /*!
21  \file NearestCoverageAtTimeInterp.h
22 
23  \brief This file contains an interpolation function that returns the
24  nearest coverage at time.
25 */
26 
27 #ifndef __TERRALIB_ST_INTERNAL_NEARESTCOVERAGEATTIMEINTERP_H
28 #define __TERRALIB_ST_INTERNAL_NEARESTCOVERAGEATTIMEINTERP_H
29 
30 // Common
31 #include "../../../common/Singleton.h"
32 
33 // ST
34 #include "../../Config.h"
36 
37 namespace te
38 {
39  namespace st
40  {
41  /*!
42  \class NearestCoverageAtTimeInterp
43 
44  \brief It is an interpolation function the estimates the nearest coverage
45  at a given non-observed time.
46 
47  \sa AbstractCoverageSeriesInterp
48  */
50  {
52 
53  public:
54 
56 
58 
59  std::unique_ptr<Coverage> estimate(const CoverageSeries& cvs, te::dt::DateTime* time) const;
60 
61  /*! \brief Virtual destructor. */
63 
64  protected:
65 
66  /*! \brief Constructor. */
68  };
69 
70  } // end namespace st
71 } // end namespace te
72 
73 #endif // __TERRALIB_ST_INTERNAL_NEARESTCOVERAGEATTIMEINTERP_H
74 
te
TerraLib.
Definition: AddressGeocodingOp.h:52
te::st::NearestCoverageAtTimeInterp
It is an interpolation function the estimates the nearest coverage at a given non-observed time.
Definition: NearestCoverageAtTimeInterp.h:50
AbstractCoverageSeriesInterp.h
This file contains an abstract class for interpolation function or interpolator that estimate coverag...
te::dt::DateTime
Definition: DateTime.h:56
te::st::NearestCoverageAtTimeInterp::~NearestCoverageAtTimeInterp
virtual ~NearestCoverageAtTimeInterp()
Virtual destructor.
te::st::NearestCoverageAtTimeInterp::estimate
std::unique_ptr< Coverage > estimate(const CoverageSeries &cvs, te::dt::DateTime *time) const
It estimates a coverage of a coverage series at a given non-observed time .
te::st::NearestCoverageAtTimeInterp::setParams
void setParams(te::common::AbstractParameters *p)
It sets the parameters associated to the interpolator.
Definition: NearestCoverageAtTimeInterp.h:57
te::common::Singleton
Template support for singleton pattern.
Definition: Singleton.h:101
te::st::NearestCoverageAtTimeInterp::getParams
te::common::AbstractParameters * getParams()
It gets the parameters associated to the interpolator.
Definition: NearestCoverageAtTimeInterp.h:55
TESTEXPORT
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition: Config.h:88
te::st::AbstractCoverageSeriesInterp
An abstract class for interpolation function or interpolator that estimate coverages at non-observed ...
Definition: AbstractCoverageSeriesInterp.h:64
te::st::CoverageSeries
A class to represent a coverage series.
Definition: CoverageSeries.h:73
te::st::NearestCoverageAtTimeInterp::NearestCoverageAtTimeInterp
NearestCoverageAtTimeInterp()
Constructor.
te::common::AbstractParameters
Abstract parameters base interface.
Definition: AbstractParameters.h:46