Sen API
Sen Libraries
Loading...
Searching...
No Matches
creation.h
Go to the documentation of this file.
1// === creation.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_CREATION_H
9#define SEN_DB_CREATION_H
10
11#include "sen/db/snapshot.h"
12
13namespace sen::db
14{
15
16class Input;
17
19class Creation
20{
21 SEN_COPY_MOVE(Creation)
22
23public:
24 ~Creation() = default;
25
26public:
28 [[nodiscard]] const Snapshot& getSnapshot() const noexcept;
29
30private:
31 friend class Input;
32 explicit Creation(Snapshot snapshot);
33
34private:
35 Snapshot snapshot_;
36};
37
38} // namespace sen::db
39
40#endif // SEN_DB_CREATION_H
~Creation()=default
friend class Input
Definition creation.h:31
const Snapshot & getSnapshot() const noexcept
The object snapshot when it was created.
Allows you to access an existing recording in the file system.
Definition input.h:63
Represents the full state of an object at a point in time.
Definition snapshot.h:22
Definition annotation.h:20