CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderPhysicsControl.h
Go to the documentation of this file.
1
// Copyright (c) 2020 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
};
CarlaRecorderPhysicsControls::PhysicsControls
std::vector< CarlaRecorderPhysicsControl > PhysicsControls
Definition:
CarlaRecorderPhysicsControl.h:38
FVehiclePhysicsControl
Definition:
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Vehicle/VehiclePhysicsControl.h:29
VehiclePhysicsControl.h
CarlaRecorderPhysicsControl::Read
void Read(std::istream &InFile)
Definition:
CarlaRecorderPhysicsControl.cpp:45
CarlaRecorderPhysicsControl::Write
void Write(std::ostream &OutFile)
Definition:
CarlaRecorderPhysicsControl.cpp:16
CarlaRecorderPhysicsControl
Definition:
CarlaRecorderPhysicsControl.h:15
CarlaRecorderPhysicsControls
Definition:
CarlaRecorderPhysicsControl.h:26
CarlaRecorderPhysicsControl::DatabaseId
uint32_t DatabaseId
Definition:
CarlaRecorderPhysicsControl.h:17
CarlaRecorderPhysicsControl::VehiclePhysicsControl
FVehiclePhysicsControl VehiclePhysicsControl
Definition:
CarlaRecorderPhysicsControl.h:18
Generated by
1.8.13