CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Recorder
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
12
struct
CarlaRecorderEventDel
13
{
14
uint32_t
DatabaseId
;
15
16
void
Read
(std::ifstream &InFile);
17
void
Write
(std::ofstream &OutFile)
const
;
18
};
19
20
class
CarlaRecorderEventsDel
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
};
CarlaRecorderEventsDel
Definition:
CarlaRecorderEventDel.h:20
CarlaRecorderEventsDel::Events
std::vector< CarlaRecorderEventDel > Events
Definition:
CarlaRecorderEventDel.h:29
CarlaRecorderEventDel::Write
void Write(std::ofstream &OutFile) const
Definition:
CarlaRecorderEventDel.cpp:16
CarlaRecorderEventDel::DatabaseId
uint32_t DatabaseId
Definition:
CarlaRecorderEventDel.h:14
CarlaRecorderEventDel
Definition:
CarlaRecorderEventDel.h:12
CarlaRecorderEventDel::Read
void Read(std::ifstream &InFile)
Definition:
CarlaRecorderEventDel.cpp:11
Generated by
1.8.13