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 <sstream>
10
#include <vector>
11
12
struct
CarlaRecorderEventDel
13
{
14
uint32_t
DatabaseId
;
15
16
void
Read
(std::istream &InFile);
17
void
Write
(std::ostream &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::ostream &OutFile);
27
void
Read
(std::istream &InFile);
28
const
std::vector<CarlaRecorderEventDel>& GetEvents();
29
30
private
:
31
std::vector<CarlaRecorderEventDel>
Events
;
32
};
CarlaRecorderEventsDel
Definition:
CarlaRecorderEventDel.h:20
CarlaRecorderEventsDel::Events
std::vector< CarlaRecorderEventDel > Events
Definition:
CarlaRecorderEventDel.h:31
CarlaRecorderEventDel::DatabaseId
uint32_t DatabaseId
Definition:
CarlaRecorderEventDel.h:14
CarlaRecorderEventDel
Definition:
CarlaRecorderEventDel.h:12
CarlaRecorderEventDel::Read
void Read(std::istream &InFile)
Definition:
CarlaRecorderEventDel.cpp:11
CarlaRecorderEventDel::Write
void Write(std::ostream &OutFile) const
Definition:
CarlaRecorderEventDel.cpp:16
Generated by
1.8.13