CARLA
LibCarla
source
carla
rpc
MapLayer.cpp
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
#include "
MapLayer.h
"
8
9
namespace
carla
{
10
namespace
rpc {
11
12
std::string
MapLayerToString
(
MapLayer
MapLayerValue)
13
{
14
switch
(MapLayerValue)
15
{
16
case
MapLayer::None
:
return
"None"
;
17
case
MapLayer::Buildings
:
return
"Buildings"
;
18
case
MapLayer::Decals
:
return
"Decals"
;
19
case
MapLayer::Foliage
:
return
"Foliage"
;
20
case
MapLayer::Ground
:
return
"Ground"
;
21
case
MapLayer::ParkedVehicles
:
return
"Parked_Vehicles"
;
22
case
MapLayer::Particles
:
return
"Particles"
;
23
case
MapLayer::Props
:
return
"Props"
;
24
case
MapLayer::StreetLights
:
return
"StreetLights"
;
25
case
MapLayer::Walls
:
return
"Walls"
;
26
case
MapLayer::All
:
return
"All"
;
27
default
:
return
"Invalid"
;
28
}
29
}
30
31
32
}
// namespace rpc
33
}
// namespace carla
carla::rpc::MapLayer::Decals
carla::rpc::MapLayer::Walls
carla::rpc::MapLayer::Particles
carla::rpc::MapLayer::StreetLights
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
MapLayer.h
carla::rpc::MapLayer
MapLayer
Definition:
MapLayer.h:18
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
Generated by
1.8.13