CARLA
CarlaRecorderEventDel.h
Go to the documentation of this file.
1 // Copyright (c) 2017 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 <fstream>
10 #include <vector>
11 
13 {
14  uint32_t DatabaseId;
15 
16  void Read(std::ifstream &InFile);
17  void Write(std::ofstream &OutFile) const;
18 };
19 
21 {
22 
23  public:
24  void Add(const CarlaRecorderEventDel &Event);
25  void Clear(void);
26  void Write(std::ofstream &OutFile);
27 
28  private:
29  std::vector<CarlaRecorderEventDel> Events;
30 };
std::vector< CarlaRecorderEventDel > Events
void Write(std::ofstream &OutFile) const
void Read(std::ifstream &InFile)