CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
rpc
EpisodeInfo.h
浏览该文件的文档.
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 "
carla/MsgPack.h
"
10
#include "
carla/streaming/Token.h
"
11
12
#include <cstdint>
13
#include <string>
14
15
namespace
carla
{
16
namespace
rpc {
17
18
/// @todo Rename, does not represent the episode info anymore.
19
class
EpisodeInfo
{
20
public
:
21
22
using
id_type
= uint64_t;
23
24
id_type
id
;
25
26
streaming::Token
token
;
27
28
MSGPACK_DEFINE_ARRAY
(
id
,
token
);
29
};
30
31
}
// namespace rpc
32
}
// namespace carla
MsgPack.h
Token.h
carla::rpc::EpisodeInfo
Definition
EpisodeInfo.h:19
carla::rpc::EpisodeInfo::id_type
uint64_t id_type
Definition
EpisodeInfo.h:22
carla::rpc::EpisodeInfo::MSGPACK_DEFINE_ARRAY
MSGPACK_DEFINE_ARRAY(id, token)
carla::rpc::EpisodeInfo::id
id_type id
Definition
EpisodeInfo.h:24
carla::rpc::EpisodeInfo::token
streaming::Token token
Definition
EpisodeInfo.h:26
carla::streaming::Token
A token that uniquely identify a stream.
Definition
Token.h:17
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0