CARLA
RoadInfoVisitor.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 namespace carla {
10 namespace road {
11 namespace 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;
38  RoadInfoVisitor(RoadInfoVisitor &&) = default;
39 
40  RoadInfoVisitor &operator=(const RoadInfoVisitor &) = default;
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
Instead of describing lanes by their width entries and, thus, invariably depending on influences of i...
virtual void Visit(RoadInfoElevation &)
virtual void Visit(RoadInfoLaneBorder &)
virtual void Visit(RoadInfoLaneHeight &)
This record defines rules that can be applied to lanes to describe additonal properties not covered b...
virtual void Visit(RoadInfoLaneAccess &)
The lane offset record defines a lateral shift of the lane reference line(which is usually identical ...
virtual void Visit(RoadInfoMarkRecord &)
Each lane within a road cross section can be provided with several road markentries.
virtual void Visit(RoadInfoLaneWidth &)
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:133
The surface of a lane may be offset from the plane defined by the reference line and the correspondin...
Lane Width RecordEach lane within a road’scross section can be provided with severalwidth entries...
virtual void Visit(RoadInfoLaneMaterial &)
virtual void Visit(RoadInfoLane &)
virtual void Visit(RoadInfoLaneOffset &)
virtual void Visit(RoadInfoSpeed &)
RoadInfoVisitor & operator=(const RoadInfoVisitor &)=default
Each lane within a road cross section may be provided with several entries defining the visibility in...
This record defines access restrictions for certain types of road users.
virtual void Visit(RoadInfoSignal &)
virtual void Visit(RoadInfoCrosswalk &)
virtual void Visit(RoadInfoLaneRule &)
virtual void Visit(RoadInfoGeometry &)
virtual void Visit(RoadInfoMarkTypeLine &)
virtual void Visit(RoadInfoLaneVisibility &)