libnuklei
io
nuklei
Observation.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_OBSERVATION_H
8
#define NUKLEI_OBSERVATION_H
9
10
11
#include <
nuklei/Definitions.h
>
12
#include <
nuklei/Types.h
>
13
#include <
nuklei/Kernel.h
>
14
15
namespace
nuklei
{
16
17
class
Observation
18
{
19
public
:
20
typedef
enum
{ SERIAL, NUKLEI, COVIS3D, OSUTXT, PCD, PLY, RIF, CRD, OFF, BUILTINVTK, TXT, IIS, UNKNOWN } Type;
21
static
const
Type defaultType = SERIAL;
22
static
const
std::string TypeNames[];
23
24
virtual
~
Observation
() {}
25
virtual
NUKLEI_UNIQUE_PTR<kernel::base> getKernel()
const
= 0;
26
virtual
void
setKernel(
const
kernel::base
& k) = 0;
27
virtual
Type type()
const
= 0;
28
};
29
}
30
31
#endif
nuklei::Observation
Definition:
Observation.h:17
Kernel.h
nuklei
Public namespace.
Definition:
Color.cpp:9
Types.h
nuklei::kernel::base
Polymorphic kernel class.
Definition:
Kernel.h:45
Definitions.h
© 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.