CARLA
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderPlatformTime.h
Go to the documentation of this file.
1
// Copyright (c) 2020 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 <chrono>
11
12
#pragma pack(push, 1)
13
struct
CarlaRecorderPlatformTime
14
{
15
16
std::chrono::time_point<std::chrono::system_clock>
17
RecorderStartTime
;
18
19
double
Time
;
20
21
void
SetStartTime
();
22
void
UpdateTime
();
23
24
void
Read
(std::istream &InFile);
25
26
void
Write
(std::ostream &OutFile);
27
28
};
29
#pragma pack(pop)
CarlaRecorderPlatformTime::Time
double Time
Definition:
CarlaRecorderPlatformTime.h:19
CarlaRecorderPlatformTime
Definition:
CarlaRecorderPlatformTime.h:13
CarlaRecorderPlatformTime::UpdateTime
void UpdateTime()
Definition:
CarlaRecorderPlatformTime.cpp:15
CarlaRecorderPlatformTime::SetStartTime
void SetStartTime()
Definition:
CarlaRecorderPlatformTime.cpp:11
CarlaRecorderPlatformTime::RecorderStartTime
std::chrono::time_point< std::chrono::system_clock > RecorderStartTime
Definition:
CarlaRecorderPlatformTime.h:17
CarlaRecorderPlatformTime::Write
void Write(std::ostream &OutFile)
Definition:
CarlaRecorderPlatformTime.cpp:28
CarlaRecorderPlatformTime::Read
void Read(std::istream &InFile)
Definition:
CarlaRecorderPlatformTime.cpp:23
Generated by
1.8.13