CARLA
 
载入中...
搜索中...
未找到
CarlaRecorderPhysicsControl.h
浏览该文件的文档.
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
13
14#pragma pack(push, 1)
16{
17 uint32_t DatabaseId;
19
20 void Read(std::istream &InFile);
21
22 void Write(std::ostream &OutFile);
23};
24#pragma pack(pop)
25
27{
28 public:
29
30 void Add(const CarlaRecorderPhysicsControl &InObj);
31
32 void Clear(void);
33
34 void Write(std::ostream &OutFile);
35
36private:
37
38 std::vector<CarlaRecorderPhysicsControl> PhysicsControls;
39};
std::vector< CarlaRecorderPhysicsControl > PhysicsControls
void Add(const CarlaRecorderPhysicsControl &InObj)
FVehiclePhysicsControl VehiclePhysicsControl