Bayes Filters Library
src
BayesFilters
include
BayesFilters
GaussianFilter.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT)
3
*
4
* This software may be modified and distributed under the terms of the
5
* BSD 3-Clause license. See the accompanying LICENSE file for details.
6
*/
7
8
#ifndef GAUSSIANFILTER_H
9
#define GAUSSIANFILTER_H
10
11
#include <
BayesFilters/FilteringAlgorithm.h
>
12
#include <
BayesFilters/Gaussian.h
>
13
#include <
BayesFilters/GaussianPrediction.h
>
14
#include <
BayesFilters/GaussianCorrection.h
>
15
16
namespace
bfl
{
17
class
GaussianFilter;
18
}
19
20
21
class
bfl::GaussianFilter
:
public
bfl::FilteringAlgorithm
22
{
23
public
:
24
virtual
~GaussianFilter
() noexcept =
default
;
25
26
bool
skip
(
const
std::string& what_step,
const
bool
status)
override
;
27
28
29
protected
:
30
GaussianFilter
(std::unique_ptr<GaussianPrediction>
prediction
, std::unique_ptr<GaussianCorrection>
correction
) noexcept;
31
32
GaussianFilter
(
const
GaussianFilter
& filter) noexcept =
delete
;
33
34
GaussianFilter
&
operator=
(
const
GaussianFilter
& filter) noexcept =
delete
;
35
36
GaussianFilter
(
GaussianFilter
&& filter) noexcept =
delete
;
37
38
GaussianFilter
&
operator=
(
GaussianFilter
&& filter) noexcept =
delete
;
39
40
GaussianPrediction
&
prediction
();
41
42
GaussianCorrection
&
correction
();
43
44
45
private
:
46
std::unique_ptr<GaussianPrediction>
prediction_
;
47
48
std::unique_ptr<GaussianCorrection>
correction_
;
49
};
50
51
#endif
/* GAUSSIANFILTER_H */
bfl::GaussianFilter
Definition:
GaussianFilter.h:21
GaussianPrediction.h
bfl
Port of boost::any for C++11 compilers.
Definition:
AdditiveMeasurementModel.h:13
bfl::GaussianFilter::GaussianFilter
GaussianFilter(std::unique_ptr< GaussianPrediction > prediction, std::unique_ptr< GaussianCorrection > correction) noexcept
Definition:
GaussianFilter.cpp:13
bfl::GaussianFilter::correction_
std::unique_ptr< GaussianCorrection > correction_
Definition:
GaussianFilter.h:48
bfl::GaussianFilter::prediction
GaussianPrediction & prediction()
Definition:
GaussianFilter.cpp:44
GaussianCorrection.h
bfl::GaussianFilter::prediction_
std::unique_ptr< GaussianPrediction > prediction_
Definition:
GaussianFilter.h:46
FilteringAlgorithm.h
bfl::GaussianPrediction
Definition:
GaussianPrediction.h:23
Gaussian.h
bfl::FilteringAlgorithm
Definition:
FilteringAlgorithm.h:26
bfl::GaussianFilter::skip
bool skip(const std::string &what_step, const bool status) override
Definition:
GaussianFilter.cpp:19
bfl::GaussianFilter::~GaussianFilter
virtual ~GaussianFilter() noexcept=default
bfl::GaussianFilter::operator=
GaussianFilter & operator=(const GaussianFilter &filter) noexcept=delete
bfl::GaussianCorrection
Definition:
GaussianCorrection.h:21
bfl::GaussianFilter::correction
GaussianCorrection & correction()
Definition:
GaussianFilter.cpp:50
Generated by
1.8.17