CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderEventDel.h
Go to the documentation of this file.
1
// Copyright (c) 2026 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:21
CarlaRecorderEventsDel::Add
void Add(const CarlaRecorderEventDel &Event)
Definition
CarlaRecorderEventDel.cpp:32
CarlaRecorderEventsDel::Clear
void Clear(void)
Definition
CarlaRecorderEventDel.cpp:27
CarlaRecorderEventsDel::GetEvents
const std::vector< CarlaRecorderEventDel > & GetEvents()
Definition
CarlaRecorderEventDel.cpp:79
CarlaRecorderEventsDel::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderEventDel.cpp:37
CarlaRecorderEventsDel::Read
void Read(std::istream &InFile)
Definition
CarlaRecorderEventDel.cpp:65
CarlaRecorderEventsDel::Events
std::vector< CarlaRecorderEventDel > Events
Definition
CarlaRecorderEventDel.h:31
CarlaRecorderEventDel
Definition
CarlaRecorderEventDel.h:13
CarlaRecorderEventDel::Read
void Read(std::istream &InFile)
Definition
CarlaRecorderEventDel.cpp:14
CarlaRecorderEventDel::DatabaseId
uint32_t DatabaseId
Definition
CarlaRecorderEventDel.h:14
CarlaRecorderEventDel::Write
void Write(std::ostream &OutFile) const
Definition
CarlaRecorderEventDel.cpp:19
Generated by
1.18.0