CARLA
载入中...
搜索中...
未找到
Unreal
CarlaUE4
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderPlatformTime.h
浏览该文件的文档.
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
Definition
CarlaRecorderPlatformTime.h:14
CarlaRecorderPlatformTime::Time
double Time
Definition
CarlaRecorderPlatformTime.h:19
CarlaRecorderPlatformTime::Write
void Write(std::ostream &OutFile)
Definition
CarlaRecorderPlatformTime.cpp:28
CarlaRecorderPlatformTime::RecorderStartTime
std::chrono::time_point< std::chrono::system_clock > RecorderStartTime
Definition
CarlaRecorderPlatformTime.h:17
CarlaRecorderPlatformTime::Read
void Read(std::istream &InFile)
Definition
CarlaRecorderPlatformTime.cpp:23
CarlaRecorderPlatformTime::SetStartTime
void SetStartTime()
Definition
CarlaRecorderPlatformTime.cpp:11
CarlaRecorderPlatformTime::UpdateTime
void UpdateTime()
Definition
CarlaRecorderPlatformTime.cpp:15
制作者
1.10.0