CARLA
 
载入中...
搜索中...
未找到
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
14namespace carla {
15namespace streaming {
16namespace 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
uint32_t message_size_type
Definition Types.h:20
uint32_t stream_id_type
Definition Types.h:18
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133