This record defines access restrictions for certain types of road users. 更多...
#include <RoadInfoLaneAccess.h>
Public 成员函数 | |
void | AcceptVisitor (RoadInfoVisitor &v) final |
const std::string & | GetRestriction () const |
RoadInfoLaneAccess (double s, std::string restriction) | |
Public 成员函数 继承自 carla::road::element::RoadInfo | |
double | GetDistance () const |
Distance from road's start location. | |
virtual | ~RoadInfo ()=default |
Private 属性 | |
const std::string | _restriction |
额外继承的成员函数 | |
Protected 成员函数 继承自 carla::road::element::RoadInfo | |
RoadInfo (double distance=0.0) | |
This record defines access restrictions for certain types of road users.
The record can be used to complement restrictions resulting from signs or signals in order to control the traffic flow in a scenario. Each entry is valid in direction of the increasing s co-ordinate until a new entry is defined. If multiple entries are defined, they must be listed in increasing order.
在文件 RoadInfoLaneAccess.h 第 22 行定义.
|
inline |
在文件 RoadInfoLaneAccess.h 第 25 行定义.
|
inlinefinalvirtual |
实现了 carla::road::element::RoadInfo.
在文件 RoadInfoLaneAccess.h 第 32 行定义.
|
inline |
在文件 RoadInfoLaneAccess.h 第 36 行定义.
引用了 _restriction.
|
private |
在文件 RoadInfoLaneAccess.h 第 42 行定义.
被这些函数引用 GetRestriction().