libnuklei
io
nuklei
TxtObservation.h
Go to the documentation of this file.
1
// (C) Copyright Renaud Detry 2007-2015.
2
// Distributed under the GNU General Public License and under the
3
// BSD 3-Clause License (See accompanying file LICENSE.txt).
4
5
/** @file */
6
7
#ifndef NUKLEI_TXTOBSERVATION_H
8
#define NUKLEI_TXTOBSERVATION_H
9
10
11
#include <vector>
12
#include <string>
13
#include <utility>
14
#include <stdexcept>
15
#include <iostream>
16
#include <boost/shared_ptr.hpp>
17
18
#include <
nuklei/Definitions.h
>
19
#include <
nuklei/Color.h
>
20
#include <
nuklei/LinearAlgebra.h
>
21
#include <
nuklei/Observation.h
>
22
#include <
nuklei/member_clone_ptr.h
>
23
24
namespace
nuklei
{
25
26
class
TxtObservation
:
public
Observation
27
{
28
public
:
29
static
const
double
TOL;
30
31
Type type()
const
{
return
TXT; }
32
33
NUKLEI_UNIQUE_PTR<kernel::base> getKernel()
const
34
{
35
return
k_->clone();
36
}
37
38
void
setKernel(
const
kernel::base
& k)
39
{
40
NUKLEI_TRACE_BEGIN();
41
k_ = k;
42
NUKLEI_TRACE_END();
43
}
44
45
TxtObservation
();
46
TxtObservation
(
const
kernel::base
& k);
47
~
TxtObservation
() {};
48
49
private
:
50
member_clone_ptr<kernel::base>
k_;
51
};
52
53
}
54
55
#endif
nuklei::Observation
Definition:
Observation.h:17
nuklei
Public namespace.
Definition:
Color.cpp:9
LinearAlgebra.h
nuklei::kernel::base
Polymorphic kernel class.
Definition:
Kernel.h:45
nuklei::TxtObservation
Definition:
TxtObservation.h:26
Definitions.h
member_clone_ptr.h
Observation.h
Color.h
nuklei::member_clone_ptr
Definition:
member_clone_ptr.h:17
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file
LICENSE.txt
or copy at
http://www.gnu.org/copyleft/gpl.html
.)
Revised Sun Sep 13 2020 19:10:06.