CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Private 属性 | 所有成员列表
carla::road::element::RoadInfoLaneAccess类 参考final

This record defines access restrictions for certain types of road users. 更多...

#include <RoadInfoLaneAccess.h>

+ 类 carla::road::element::RoadInfoLaneAccess 继承关系图:
+ carla::road::element::RoadInfoLaneAccess 的协作图:

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.h22 行定义.

构造及析构函数说明

◆ RoadInfoLaneAccess()

carla::road::element::RoadInfoLaneAccess::RoadInfoLaneAccess ( double s,
std::string restriction )
inline

在文件 RoadInfoLaneAccess.h25 行定义.

成员函数说明

◆ AcceptVisitor()

void carla::road::element::RoadInfoLaneAccess::AcceptVisitor ( RoadInfoVisitor & v)
inlinefinalvirtual

实现了 carla::road::element::RoadInfo.

在文件 RoadInfoLaneAccess.h32 行定义.

◆ GetRestriction()

const std::string & carla::road::element::RoadInfoLaneAccess::GetRestriction ( ) const
inline

在文件 RoadInfoLaneAccess.h36 行定义.

引用了 _restriction.

类成员变量说明

◆ _restriction

const std::string carla::road::element::RoadInfoLaneAccess::_restriction
private

在文件 RoadInfoLaneAccess.h42 行定义.

被这些函数引用 GetRestriction().


该类的文档由以下文件生成: