CARLA
 
载入中...
搜索中...
未找到
RoadInfoVisitor.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
9namespace carla {
10namespace road {
11namespace element {
12
13 class RoadInfo;
14 class RoadInfoElevation;
15 class RoadInfoGeometry;
16 class RoadInfoLane;
17 class RoadInfoLaneAccess;
18 class RoadInfoLaneBorder;
19 class RoadInfoLaneHeight;
20 class RoadInfoLaneMaterial;
21 class RoadInfoLaneOffset;
22 class RoadInfoLaneRule;
23 class RoadInfoLaneVisibility;
24 class RoadInfoLaneWidth;
25 class RoadInfoMarkRecord;
26 class RoadInfoMarkTypeLine;
27 class RoadInfoSpeed;
28 class RoadInfoCrosswalk;
29 class RoadInfoSignal;
30
32 public:
33
34 RoadInfoVisitor() = default;
35 virtual ~RoadInfoVisitor() = default;
36
37 RoadInfoVisitor(const RoadInfoVisitor &) = default;
39
42
43 virtual void Visit(RoadInfoElevation &) {}
44 virtual void Visit(RoadInfoGeometry &) {}
45 virtual void Visit(RoadInfoLane &) {}
46 virtual void Visit(RoadInfoLaneAccess &) {}
47 virtual void Visit(RoadInfoLaneBorder &) {}
48 virtual void Visit(RoadInfoLaneHeight &) {}
49 virtual void Visit(RoadInfoLaneMaterial &) {}
50 virtual void Visit(RoadInfoLaneOffset &) {}
51 virtual void Visit(RoadInfoLaneRule &) {}
52 virtual void Visit(RoadInfoLaneVisibility &) {}
53 virtual void Visit(RoadInfoLaneWidth &) {}
54 virtual void Visit(RoadInfoMarkRecord &) {}
55 virtual void Visit(RoadInfoMarkTypeLine &) {}
56 virtual void Visit(RoadInfoSpeed &) {}
57 virtual void Visit(RoadInfoCrosswalk &) {}
58 virtual void Visit(RoadInfoSignal &) {}
59 };
60
61} // namespace element
62} // namespace road
63} // namespace carla
This record defines access restrictions for certain types of road users.
Instead of describing lanes by their width entries and, thus, invariably depending on influences of i...
The surface of a lane may be offset from the plane defined by the reference line and the correspondin...
The lane offset record defines a lateral shift of the lane reference line(which is usually identical ...
This record defines rules that can be applied to lanes to describe additonal properties not covered b...
Each lane within a road cross section may be provided with several entries defining the visibility in...
Lane Width RecordEach lane within a road’scross section can be provided with severalwidth entries.
Each lane within a road cross section can be provided with several road markentries.
virtual void Visit(RoadInfoLaneVisibility &)
virtual void Visit(RoadInfoSpeed &)
RoadInfoVisitor & operator=(RoadInfoVisitor &&)=default
virtual void Visit(RoadInfoLaneBorder &)
virtual void Visit(RoadInfoLaneWidth &)
RoadInfoVisitor & operator=(const RoadInfoVisitor &)=default
RoadInfoVisitor(const RoadInfoVisitor &)=default
virtual void Visit(RoadInfoGeometry &)
virtual void Visit(RoadInfoMarkTypeLine &)
virtual void Visit(RoadInfoElevation &)
virtual void Visit(RoadInfoLaneAccess &)
virtual void Visit(RoadInfoLaneMaterial &)
virtual void Visit(RoadInfoCrosswalk &)
RoadInfoVisitor(RoadInfoVisitor &&)=default
virtual void Visit(RoadInfoLaneOffset &)
virtual void Visit(RoadInfoMarkRecord &)
virtual void Visit(RoadInfoLane &)
virtual void Visit(RoadInfoLaneHeight &)
virtual void Visit(RoadInfoLaneRule &)
virtual void Visit(RoadInfoSignal &)
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133