CARLA
LibCarla
source
carla
rpc
MapLayer.h
Go to the documentation of this file.
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 "
carla/MsgPack.h
"
10
11
#include <cstdint>
12
13
namespace
carla
{
14
namespace
rpc {
15
16
using
MapLayerType
= uint16_t;
17
18
enum class
MapLayer
:
MapLayerType
19
{
20
None
= 0,
21
Buildings
= 0x1,
22
Decals
= 0x1 << 1,
23
Foliage
= 0x1 << 2,
24
Ground
= 0x1 << 3,
25
ParkedVehicles
= 0x1 << 4,
26
Particles
= 0x1 << 5,
27
Props
= 0x1 << 6,
28
StreetLights
= 0x1 << 7,
29
Walls
= 0x1 << 8,
30
All
= 0xFFFF,
31
};
32
33
std::string
MapLayerToString
(
MapLayer
MapLayerValue);
34
35
}
// namespace rpc
36
}
// namespace carla
37
38
MSGPACK_ADD_ENUM
(
carla::rpc::MapLayer
);
carla::rpc::MapLayer::Decals
carla::rpc::MapLayer::Walls
carla::rpc::MapLayer::Particles
carla::rpc::MapLayer::StreetLights
MSGPACK_ADD_ENUM
MSGPACK_ADD_ENUM(carla::rpc::MapLayer)
carla::rpc::MapLayer::Buildings
carla::rpc::MapLayer::Ground
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
carla::rpc::MapLayer::ParkedVehicles
carla::rpc::MapLayer
MapLayer
Definition:
MapLayer.h:18
carla::rpc::MapLayerType
uint16_t MapLayerType
Definition:
MapLayer.h:16
carla::rpc::MapLayerToString
std::string MapLayerToString(MapLayer MapLayerValue)
Definition:
MapLayer.cpp:12
carla::rpc::MapLayer::None
carla::rpc::MapLayer::All
carla::rpc::MapLayer::Foliage
carla::rpc::MapLayer::Props
MsgPack.h
Generated by
1.8.13