Sen API
Sen Libraries
Toggle main menu visibility
Loading...
Searching...
No Matches
keyframe.h
Go to the documentation of this file.
1
// === keyframe.h ======================================================================================================
2
// Sen Infrastructure
3
// Released under the Apache License v2.0 (SPDX-License-Identifier Apache-2.0).
4
// See the LICENSE.txt file for more information.
5
// © Airbus SAS, Airbus Helicopters, and Airbus Defence and Space SAU/GmbH/SAS.
6
// =====================================================================================================================
7
8
#ifndef SEN_DB_KEYFRAME_H
9
#define SEN_DB_KEYFRAME_H
10
11
#include "
sen/core/obj/object.h
"
12
#include "
sen/db/snapshot.h
"
13
14
namespace
sen::db
15
{
16
17
class
Input
;
18
22
class
Keyframe
23
{
24
SEN_COPY_MOVE(Keyframe)
25
26
public
:
27
~Keyframe
() =
default
;
28
29
public
:
31
[[nodiscard]]
Span<const Snapshot>
getSnapshots
() const noexcept;
32
33
private:
34
friend class
Input
;
35
explicit Keyframe(
std
::vector<
Snapshot
> snapshots);
36
37
private:
38
std
::vector<
Snapshot
> snapshots_;
39
};
40
41
}
// namespace sen::db
42
43
#endif
// SEN_DB_KEYFRAME_H
sen::Span
Contiguous view of elements of type T. Inspired by http://www.open-std.org/jtc1/sc22/wg21/docs/papers...
Definition
span.h:34
sen::db::Input
Allows you to access an existing recording in the file system.
Definition
input.h:63
sen::db::Keyframe::~Keyframe
~Keyframe()=default
sen::db::Keyframe::Input
friend class Input
Definition
keyframe.h:34
sen::db::Keyframe::getSnapshots
Span< const Snapshot > getSnapshots() const noexcept
The set of snapshots for all the objects present at the time.
sen::db::Snapshot
Represents the full state of an object at a point in time.
Definition
snapshot.h:22
sen::db
Definition
type_specs.h:19
std
STL namespace.
object.h
snapshot.h
libs
db
include
sen
db
keyframe.h
Generated by
1.17.0