CARLA
Types.h
Go to the documentation of this file.
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
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:133
uint32_t stream_id_type
Definition: Types.h:18
uint32_t message_size_type
Definition: Types.h:20