AutoSDK  500
Public 成员函数 | Protected 成员函数 | 所有成员列表
com.autonavi.gbl.common.path.drive.DriveLinkAccessor类 参考

路线link信息访问器 更多...

类 com.autonavi.gbl.common.path.drive.DriveLinkAccessor 继承关系图:
com.autonavi.gbl.common.path.BaseLinkAccessor

Public 成员函数

 DriveLinkAccessor (IDriveLinkAccessorImpl control)
 
ArrayList< GantryInfogetGantryInfos ()
 获取龙门架信息 更多...
 
boolean hasParallelRoad ()
 是否有平行路 更多...
 
boolean hasMultiOut ()
 是否有岔路 更多...
 
boolean hasTrafficLight ()
 路口是否存有交通灯 更多...
 
boolean hasMixFork ()
 路口是否存有混淆路口 更多...
 
boolean isAtService ()
 是否在服务区 更多...
 
boolean isSupport3DNavigation ()
 是否可进行三维导航 更多...
 
boolean isRestricting ()
 link是否限行 更多...
 
short getSpeedLimit ()
 获取限速信息 更多...
 
short getLimitFlag ()
 获取限行标志 更多...
 
short getSpeed ()
 获取通行速度 更多...
 
short getStatus ()
 获取交通状态 更多...
 
short getCameraCount ()
 获取电子眼信息个数 更多...
 
Camera getCamera (short index)
 获取电子眼信息 更多...
 
short getTurnInfoCount ()
 获取转向信息个数 更多...
 
TurnInfo getTurnInfo (short index)
 获取转向信息 更多...
 
ExactTrafficItem get3DExactTrafficItem ()
 获取该link精细化三维交通数据 更多...
 
ExactTrafficItem getExactTrafficItem ()
 获取该link精细化交通数据 更多...
 
HeightDiffData getHeightDiffData ()
 获取高度差数据 更多...
 
String getServiceName ()
 获取服务区名称 更多...
 
long getNativeTypeHandle ()
 返回引擎的数据结构 更多...
 
RoadSlopeInfo getRoadSlopInfo ()
 获取link的坡度信息 更多...
 
boolean getInnerRoad ()
 常驻起点小区内部路 更多...
 
void onDestroy ()
 
synchronized void delete ()
 

Protected 成员函数

 DriveLinkAccessor (long cPtr, boolean cMemoryOwn)
 
IDriveLinkAccessorImpl getControl ()
 
void unbind ()
 
void clean ()
 

详细描述

路线link信息访问器

构造及析构函数说明

◆ DriveLinkAccessor() [1/2]

com.autonavi.gbl.common.path.drive.DriveLinkAccessor.DriveLinkAccessor ( long  cPtr,
boolean  cMemoryOwn 
)
protected

◆ DriveLinkAccessor() [2/2]

com.autonavi.gbl.common.path.drive.DriveLinkAccessor.DriveLinkAccessor ( IDriveLinkAccessorImpl  control)

成员函数说明

◆ clean()

void com.autonavi.gbl.common.path.drive.DriveLinkAccessor.clean ( )
protected

◆ delete()

synchronized void com.autonavi.gbl.common.path.drive.DriveLinkAccessor.delete ( )

◆ get3DExactTrafficItem()

ExactTrafficItem com.autonavi.gbl.common.path.drive.DriveLinkAccessor.get3DExactTrafficItem ( )

获取该link精细化三维交通数据

获取该link精细化交通数据,Link有精细化数据时优先使用精细化交通数,无则直接使用Link的通用状态status

返回
const ExactTrafficItem* 精细化数据,无数据则返回NULL
注解
thread: main

◆ getCamera()

Camera com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getCamera ( short  index)

获取电子眼信息

获取当前link第index个电子眼信息

参数
[in]index电子眼索引号
返回
const Camera* 电子眼信息,如果index超范围,则返回NULL
注解
thread: main

◆ getCameraCount()

short com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getCameraCount ( )

获取电子眼信息个数

获取当前link电子眼个数

返回
uint8_t 电子眼个数(>=0)
注解
thread: main

◆ getControl()

IDriveLinkAccessorImpl com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getControl ( )
protected

◆ getExactTrafficItem()

ExactTrafficItem com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getExactTrafficItem ( )

获取该link精细化交通数据

获取该link精细化交通数据,Link有精细化数据时优先使用精细化交通数,无则直接使用Link的通用状态status

返回
const ExactTrafficItem* 精细化数据,无数据则返回NULL
注解
thread: main

◆ getGantryInfos()

ArrayList<GantryInfo> com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getGantryInfos ( )

获取龙门架信息

获取该link段内所有龙门架信息

返回
龙门架信息列表
注解
thread: main

◆ getHeightDiffData()

HeightDiffData com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getHeightDiffData ( )

获取高度差数据

获取该link高度差数据

返回
const HeightDiffData* 高度差数据,无数据返回NULL
注解
thread: main

◆ getInnerRoad()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getInnerRoad ( )

常驻起点小区内部路

返回值
起点小区内部路(true:小区抑制,false不抑制)

◆ getLimitFlag()

short com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getLimitFlag ( )

获取限行标志

获取限行标志,只有离线算路有效

返回
uint8_t 限行标志 1-有限行, 0-无限行
注解
thread: main

◆ getNativeTypeHandle()

long com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getNativeTypeHandle ( )

返回引擎的数据结构

获取该link段封装的引擎内部数据结构

返回
void* 引擎link数据结构
注解
thread: main

◆ getRoadSlopInfo()

RoadSlopeInfo com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getRoadSlopInfo ( )

获取link的坡度信息

返回值
获取link的坡度信息
坡度信息

◆ getServiceName()

String com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getServiceName ( )

获取服务区名称

获取该link段服务区名称

返回
const dice::String16& 服务区名称
注解
thread: main

◆ getSpeed()

short com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getSpeed ( )

获取通行速度

获取当前link通行速度

返回
uint8_t 通行速度,km/h
注解
thread: main

◆ getSpeedLimit()

short com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getSpeedLimit ( )

获取限速信息

获取当前link段限速值

返回
uint8_t 限速值
注解
thread: main

◆ getStatus()

short com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getStatus ( )

获取交通状态

获取交通状态, 当前Link无精细数据时有效

返回
uint8_t 交通状态
参见
枚举 TrafficStatus
注解
thread: main

◆ getTurnInfo()

TurnInfo com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getTurnInfo ( short  index)

获取转向信息

获取当前link第index个获取转向信息

参数
[in]index转向信息索引号
返回
const TurnInfo* 转向信息, 如果index超范围返回NULL
注解
thread: main

◆ getTurnInfoCount()

short com.autonavi.gbl.common.path.drive.DriveLinkAccessor.getTurnInfoCount ( )

获取转向信息个数

获取当前link转向信息个数

返回
const uint8_t 转向信息个数
注解
thread: main

◆ hasMixFork()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.hasMixFork ( )

路口是否存有混淆路口

判断当前link段是否有混淆路口

返回
bool true:有混淆路口,false:没有混淆路口
注解
thread: main

◆ hasMultiOut()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.hasMultiOut ( )

是否有岔路

判断当前link段是否有岔路

返回
bool true:有岔路,false:没有岔路
注解
thread: main

◆ hasParallelRoad()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.hasParallelRoad ( )

是否有平行路

判断当前link段是否有平行路

返回
bool true:有平行路,false:没有平行路
注解
thread: main

◆ hasTrafficLight()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.hasTrafficLight ( )

路口是否存有交通灯

判断当前link段是否有交通灯

返回
bool true:有交通灯,false:没有交通灯
注解
thread: main

◆ isAtService()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.isAtService ( )

是否在服务区

判断当前link段是否在服务区

返回
bool true:在服务区,false:不在服务区
注解
thread: main

◆ isRestricting()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.isRestricting ( )

link是否限行

判断当前link段是否限行

返回
bool true:限行,false:没有限行
注解
thread: main

◆ isSupport3DNavigation()

boolean com.autonavi.gbl.common.path.drive.DriveLinkAccessor.isSupport3DNavigation ( )

是否可进行三维导航

判断当前link段是否可进行三维导航

返回
bool true:可进行三维导航,false:不可进行三维导航
注解
thread: main

◆ onDestroy()

void com.autonavi.gbl.common.path.drive.DriveLinkAccessor.onDestroy ( )

◆ unbind()

void com.autonavi.gbl.common.path.drive.DriveLinkAccessor.unbind ( )
protected

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