CARLA
Loading...
Searching...
No Matches
CarlaRecorderKinematics.h
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include <sstream>
10#include <vector>
11
12#pragma pack(push, 1)
14{
15 uint32_t DatabaseId;
18
19 void Read(std::istream &InFile);
20
21 void Write(std::ostream &OutFile);
22};
23#pragma pack(pop)
24
26{
27 public:
28
29 void Add(const CarlaRecorderKinematics &InObj);
30
31 void Clear(void);
32
33 void Write(std::ostream &OutFile);
34
35 void Read(std::istream &InFile);
36
37 const std::vector<CarlaRecorderKinematics>& GetKinematics() const;
38
39 bool IsEmpty() const;
40
41private:
42
43 std::vector<CarlaRecorderKinematics> Kinematics;
44};
const std::vector< CarlaRecorderKinematics > & GetKinematics() const
void Add(const CarlaRecorderKinematics &InObj)
void Write(std::ostream &OutFile)
std::vector< CarlaRecorderKinematics > Kinematics
void Write(std::ostream &OutFile)
void Read(std::istream &InFile)