CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderPhysicsControl.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
#include "
Carla/Vehicle/VehiclePhysicsControl.h
"
13
14
#pragma pack(push, 1)
15
struct
CarlaRecorderPhysicsControl
16
{
17
uint32_t
DatabaseId
;
18
FVehiclePhysicsControl
VehiclePhysicsControl
;
19
20
void
Read
(std::istream &InFile);
21
22
void
Write
(std::ostream &OutFile);
23
};
24
#pragma pack(pop)
25
26
class
CarlaRecorderPhysicsControls
27
{
28
public
:
29
30
void
Add
(
const
CarlaRecorderPhysicsControl
&InObj);
31
32
void
Clear
(
void
);
33
34
void
Write
(std::ostream &OutFile);
35
36
private
:
37
38
std::vector<CarlaRecorderPhysicsControl>
PhysicsControls
;
39
};
VehiclePhysicsControl.h
CarlaRecorderPhysicsControls
Definition
CarlaRecorderPhysicsControl.h:27
CarlaRecorderPhysicsControls::PhysicsControls
std::vector< CarlaRecorderPhysicsControl > PhysicsControls
Definition
CarlaRecorderPhysicsControl.h:38
CarlaRecorderPhysicsControls::Clear
void Clear(void)
Definition
CarlaRecorderPhysicsControl.cpp:92
CarlaRecorderPhysicsControls::Add
void Add(const CarlaRecorderPhysicsControl &InObj)
Definition
CarlaRecorderPhysicsControl.cpp:97
CarlaRecorderPhysicsControls::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderPhysicsControl.cpp:102
CarlaRecorderPhysicsControl
Definition
CarlaRecorderPhysicsControl.h:16
CarlaRecorderPhysicsControl::Read
void Read(std::istream &InFile)
Definition
CarlaRecorderPhysicsControl.cpp:53
CarlaRecorderPhysicsControl::VehiclePhysicsControl
FVehiclePhysicsControl VehiclePhysicsControl
Definition
CarlaRecorderPhysicsControl.h:18
CarlaRecorderPhysicsControl::DatabaseId
uint32_t DatabaseId
Definition
CarlaRecorderPhysicsControl.h:17
CarlaRecorderPhysicsControl::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderPhysicsControl.cpp:16
FVehiclePhysicsControl
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Vehicle/VehiclePhysicsControl.h:21
Generated by
1.18.0