0.2.0
Loading...
Searching...
No Matches
PosVelAttFile.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
13
14#pragma once
15
18
19namespace NAV
20{
22class PosVelAttFile : public Node, public FileReader
23{
24 public:
28 ~PosVelAttFile() override;
30 PosVelAttFile(const PosVelAttFile&) = delete;
37
39 [[nodiscard]] static std::string typeStatic();
40
42 [[nodiscard]] std::string type() const override;
43
45 [[nodiscard]] static std::string category();
46
49 void guiConfig() override;
50
52 [[nodiscard]] json save() const override;
53
56 void restore(const json& j) override;
57
59 bool resetNode() override;
60
61 private:
62 constexpr static size_t OUTPUT_PORT_INDEX_PVA = 0;
63 constexpr static size_t OUTPUT_PORT_INDEX_HEADER_COLUMNS = 1;
64
66 bool initialize() override;
67
69 void deinitialize() override;
70
73 [[nodiscard]] std::shared_ptr<const NodeData> pollData();
74};
75
76} // namespace NAV
Abstract File Reader class.
nlohmann::json json
json namespace
Definition FlowManager.hpp:21
Node Class.
Abstract File Reader class.
Definition FileReader.hpp:31
Abstract parent class for all nodes.
Definition Node.hpp:86
File Reader for Imu log files.
Definition PosVelAttFile.hpp:23
bool resetNode() override
Resets the node. Moves the read cursor to the start.
PosVelAttFile & operator=(const PosVelAttFile &)=delete
Copy assignment operator.
void guiConfig() override
ImGui config window which is shown on double click.
json save() const override
Saves the node into a json object.
void restore(const json &j) override
Restores the node from a json object.
std::string type() const override
String representation of the Class Type.
PosVelAttFile(const PosVelAttFile &)=delete
Copy constructor.
~PosVelAttFile() override
Destructor.
PosVelAttFile & operator=(PosVelAttFile &&)=delete
Move assignment operator.
static std::string category()
String representation of the Class Category.
PosVelAttFile(PosVelAttFile &&)=delete
Move constructor.
static std::string typeStatic()
String representation of the Class Type.
PosVelAttFile()
Default constructor.