CARLA
CarlaRecorderEventParent.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  uint32_t DatabaseIdParent;
16 
17  void Read(std::ifstream &InFile);
18  void Write(std::ofstream &OutFile) const;
19 };
20 
22 {
23 
24  public:
25  void Add(const CarlaRecorderEventParent &Event);
26  void Clear(void);
27  void Write(std::ofstream &OutFile);
28 
29  private:
30  std::vector<CarlaRecorderEventParent> Events;
31 };
void Write(std::ofstream &OutFile) const
void Read(std::ifstream &InFile)
std::vector< CarlaRecorderEventParent > Events