CARLA
LibCarla
source
carla
rpc
LabelledPoint.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
#include "
carla/rpc/Location.h
"
11
#include "
carla/rpc/ObjectLabel.h
"
12
13
namespace
carla
{
14
namespace
rpc {
15
16
struct
LabelledPoint
{
17
18
LabelledPoint
() {}
19
LabelledPoint
(
Location
location,
CityObjectLabel
label)
20
:
_location
(location),
_label
(label)
21
{}
22
23
Location
_location
;
24
25
CityObjectLabel
_label
;
26
27
MSGPACK_DEFINE_ARRAY
(_location, _label);
28
29
};
30
31
}
32
}
carla::rpc::CityObjectLabel
CityObjectLabel
Definition:
ObjectLabel.h:16
ObjectLabel.h
carla::rpc::LabelledPoint::LabelledPoint
LabelledPoint()
Definition:
LabelledPoint.h:18
carla::rpc::LabelledPoint::MSGPACK_DEFINE_ARRAY
MSGPACK_DEFINE_ARRAY(_location, _label)
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
carla::rpc::LabelledPoint::_label
CityObjectLabel _label
Definition:
LabelledPoint.h:25
carla::rpc::LabelledPoint::LabelledPoint
LabelledPoint(Location location, CityObjectLabel label)
Definition:
LabelledPoint.h:19
carla::rpc::LabelledPoint
Definition:
LabelledPoint.h:16
carla::rpc::LabelledPoint::_location
Location _location
Definition:
LabelledPoint.h:23
MsgPack.h
carla::geom::Location
Definition:
geom/Location.h:22
Location.h
Generated by
1.8.13