CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
streaming
detail
Types.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/Buffer.h
"
10
11
#include <cstdint>
12
#include <type_traits>
13
14
namespace
carla
{
15
namespace
streaming {
16
namespace
detail {
17
18
using
stream_id_type
= uint32_t;
19
20
using
message_size_type
= uint32_t;
21
22
static_assert
(
23
std::is_same<message_size_type, Buffer::size_type>::value,
24
"uint type mismatch!"
);
25
26
}
// namespace detail
27
}
// namespace streaming
28
}
// namespace carla
Buffer.h
carla::streaming::detail::message_size_type
uint32_t message_size_type
Definition
Types.h:20
carla::streaming::detail::stream_id_type
uint32_t stream_id_type
Definition
Types.h:18
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0