CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Recorder
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 <sstream>
10
#include <vector>
11
12
struct
CarlaRecorderEventParent
13
{
14
uint32_t
DatabaseId
;
15
uint32_t
DatabaseIdParent
;
16
17
void
Read
(std::istream &InFile);
18
void
Write
(std::ostream &OutFile)
const
;
19
};
20
21
class
CarlaRecorderEventsParent
22
{
23
24
public
:
25
void
Add(
const
CarlaRecorderEventParent
&Event);
26
void
Clear(
void
);
27
void
Write
(std::ostream &OutFile);
28
void
Read
(std::istream &InFile);
29
const
std::vector<CarlaRecorderEventParent>& GetEvents();
30
31
private
:
32
std::vector<CarlaRecorderEventParent>
Events
;
33
};
CarlaRecorderEventParent
Definition:
CarlaRecorderEventParent.h:12
CarlaRecorderEventsParent::Events
std::vector< CarlaRecorderEventParent > Events
Definition:
CarlaRecorderEventParent.h:32
CarlaRecorderEventParent::Read
void Read(std::istream &InFile)
Definition:
CarlaRecorderEventParent.cpp:12
CarlaRecorderEventsParent
Definition:
CarlaRecorderEventParent.h:21
CarlaRecorderEventParent::Write
void Write(std::ostream &OutFile) const
Definition:
CarlaRecorderEventParent.cpp:19
CarlaRecorderEventParent::DatabaseIdParent
uint32_t DatabaseIdParent
Definition:
CarlaRecorderEventParent.h:15
CarlaRecorderEventParent::DatabaseId
uint32_t DatabaseId
Definition:
CarlaRecorderEventParent.h:14
Generated by
1.8.13