AutoSDK
500
|
业务图层控制服务 更多...
Public 成员函数 | |
BizControlService (IBizControlService control) | |
boolean | isRecycled () |
long | getPtr () |
获取当前服务的指针 更多... | |
void | onCreate () |
服务创建时回调,HMI不需要主动调用 建议,服务实现者实现接口时候,初始化观察者信息 更多... | |
boolean | init (@MapEngineID.MapEngineID1 int engineId, String strJsonFilename) |
初始化业务图层优先级配置及内聚功能配置 更多... | |
void | unInit () |
图层业务服务反初始化接口,反初始化所有control,由IServiceMgr::UnInitBL触发 更多... | |
void | unInit (@MapEngineID.MapEngineID1 int engineId) |
图层业务服务反初始化接口,反初始化engineId对应的control,在释放map view前调用。 更多... | |
boolean | initCollisionConfig (MapView mapView, String strJsonFilename) |
初始化图层组合碰撞配置 更多... | |
.ServiceInitStatus1 int | isInit () |
获取是否初始化 更多... | |
boolean | isInit (@MapEngineID.MapEngineID1 int engineId) |
获取MapEngineId对应的服务是否初始化 更多... | |
void | setStyle (@MapEngineID.MapEngineID1 int engineId, IPrepareLayerStyle pStyle) |
设置图元样式回调接口 更多... | |
void | setUICollisionRects (MapView pMapView, ArrayList< RectDouble > collisionRectUIs) |
设置UI控件矩形框用于多象限点图元(QuadrantLayerItem)的碰撞压盖面积计算,避免被UI控件遮挡。 更多... | |
void | enableVirtualBus (@MapEngineID.MapEngineID1 int engineId, @BusBusinessType.BusBusinessType1 int type, boolean enable) |
启用图层业务内聚到bl的virtual bus 更多... | |
void | enableAllVirtualBuses (@MapEngineID.MapEngineID1 int engineId, boolean enable) |
启用所有图层业务内聚到bl的virtual bus 更多... | |
boolean | isVirtualBusEnable (@MapEngineID.MapEngineID1 int engineId, @BusBusinessType.BusBusinessType1 int type) |
查询指定服务类型是否开启VirtualBus机制(BL内转线程) 更多... | |
boolean | setBizMode (@MapEngineID.MapEngineID1 int engineId, @BizMode.BizMode1 int bizMode) |
设置图层模式 更多... | |
BizRoadFacilityControl | getBizRoadFacilityControl (MapView pMapView) |
获取交通设施图层业务接口 更多... | |
BizLabelControl | getBizLabelControl (MapView pMapView) |
获取图层扎标类业务接口 更多... | |
BizRoadCrossControl | getBizRoadCrossControl (MapView pMapView) |
获取放大路口图层业务接口 更多... | |
BizUserControl | getBizUserControl (MapView pMapView) |
获取用户相关图层业务接口 更多... | |
BizGuideRouteControl | getBizGuideRouteControl (MapView pMapView) |
获取路线、导航相关图层业务接口 更多... | |
BizCarControl | getBizCarControl (MapView pMapView) |
获取车标图层业务接口 更多... | |
BizFlyLineControl | getBizFlyLineControl (MapView pMapView) |
获取飞线图层业务接口 更多... | |
BizAGroupControl | getBizAGroupControl (MapView pMapView) |
获取组队图层业务接口 更多... | |
BizAreaControl | getBizAreaControl (MapView pMapView) |
获取区域类图层业务接口 更多... | |
BizSearchControl | getBizSearchControl (MapView pMapView) |
获取搜索相关图层业务接口 更多... | |
BizGuideEagleEyeControl | getBizGuideEagleEyeControl (@EGLDeviceID.EGLDeviceID1 int deviceId) |
获取鹰眼图业务接口 更多... | |
BizCustomControl | getBizCustomControl (MapView pMapView) |
获取自定义类图层业务接口 更多... | |
void | onDestroy () |
服务销毁时回调,HMI不需要主动调用 建议,服务实现者实现接口时候,销毁观察者信息 更多... | |
Protected 成员函数 | |
BizControlService (long cPtr, boolean cMemoryOwn) | |
IBizControlService | getControl () |
void | unbind () |
void | clean () |
synchronized void | delete () |
业务图层控制服务
|
protected |
com.autonavi.gbl.layer.BizControlService.BizControlService | ( | IBizControlService | control | ) |
|
protected |
|
protected |
void com.autonavi.gbl.layer.BizControlService.enableAllVirtualBuses | ( | @MapEngineID.MapEngineID1 int | engineId, |
boolean | enable | ||
) |
启用所有图层业务内聚到bl的virtual bus
[in] | engineId | 地图引擎标示,不同屏幕不同Virtual Bus配置 |
[in] | enable | 是否启用 |
void com.autonavi.gbl.layer.BizControlService.enableVirtualBus | ( | @MapEngineID.MapEngineID1 int | engineId, |
@BusBusinessType.BusBusinessType1 int | type, | ||
boolean | enable | ||
) |
启用图层业务内聚到bl的virtual bus
[in] | engineId | 地图引擎标示,不同屏幕不同Virtual Bus配置 |
[in] | type | 可内聚到virtual bus的业务类型 |
[in] | enable | 是否启用 |
BizAGroupControl com.autonavi.gbl.layer.BizControlService.getBizAGroupControl | ( | MapView | pMapView | ) |
获取组队图层业务接口
[in] | pMapView | 主图句柄 |
BizAreaControl com.autonavi.gbl.layer.BizControlService.getBizAreaControl | ( | MapView | pMapView | ) |
获取区域类图层业务接口
[in] | pMapView | 主图句柄 |
BizCarControl com.autonavi.gbl.layer.BizControlService.getBizCarControl | ( | MapView | pMapView | ) |
获取车标图层业务接口
[in] | pMapView | 主图句柄 |
BizCustomControl com.autonavi.gbl.layer.BizControlService.getBizCustomControl | ( | MapView | pMapView | ) |
获取自定义类图层业务接口
[in] | pMapView | 主图句柄 |
BizFlyLineControl com.autonavi.gbl.layer.BizControlService.getBizFlyLineControl | ( | MapView | pMapView | ) |
获取飞线图层业务接口
[in] | pMapView | 主图句柄 |
BizGuideEagleEyeControl com.autonavi.gbl.layer.BizControlService.getBizGuideEagleEyeControl | ( | @EGLDeviceID.EGLDeviceID1 int | deviceId | ) |
获取鹰眼图业务接口
[in] | deviceId | 设备ID号(注意不是EngineID) |
BizGuideRouteControl com.autonavi.gbl.layer.BizControlService.getBizGuideRouteControl | ( | MapView | pMapView | ) |
获取路线、导航相关图层业务接口
[in] | pMapView | 主图句柄 |
BizLabelControl com.autonavi.gbl.layer.BizControlService.getBizLabelControl | ( | MapView | pMapView | ) |
获取图层扎标类业务接口
[in] | pMapView | 主图句柄 |
BizRoadCrossControl com.autonavi.gbl.layer.BizControlService.getBizRoadCrossControl | ( | MapView | pMapView | ) |
获取放大路口图层业务接口
[in] | pMapView | 主图句柄 |
BizRoadFacilityControl com.autonavi.gbl.layer.BizControlService.getBizRoadFacilityControl | ( | MapView | pMapView | ) |
获取交通设施图层业务接口
[in] | pMapView | 主图句柄 |
BizSearchControl com.autonavi.gbl.layer.BizControlService.getBizSearchControl | ( | MapView | pMapView | ) |
获取搜索相关图层业务接口
[in] | pMapView | 主图句柄 |
BizUserControl com.autonavi.gbl.layer.BizControlService.getBizUserControl | ( | MapView | pMapView | ) |
获取用户相关图层业务接口
[in] | pMapView | 主图句柄 |
|
protected |
long com.autonavi.gbl.layer.BizControlService.getPtr | ( | ) |
boolean com.autonavi.gbl.layer.BizControlService.init | ( | @MapEngineID.MapEngineID1 int | engineId, |
String | strJsonFilename | ||
) |
初始化业务图层优先级配置及内聚功能配置
[in] | engineId | 地图引擎标示,不同map engine,不同图层优先级及Virtual Bus配置 |
[in] | strJsonFilename | 图层业务VirtualBus和优先级配置文件路径 |
boolean com.autonavi.gbl.layer.BizControlService.initCollisionConfig | ( | MapView | mapView, |
String | strJsonFilename | ||
) |
初始化图层组合碰撞配置
[in] | mapView | 主图句柄,不同主图句柄,不同图层优先级,图层碰撞及Virtual Bus配置 |
[in] | strJsonFilename | 图层之间碰撞组合配置文件路径 |
.ServiceInitStatus1 int com.autonavi.gbl.layer.BizControlService.isInit | ( | ) |
获取是否初始化
得到服务当前状态,判断是否已经初始化
boolean com.autonavi.gbl.layer.BizControlService.isInit | ( | @MapEngineID.MapEngineID1 int | engineId | ) |
获取MapEngineId对应的服务是否初始化
得到服务当前状态,判断是否已经初始化
boolean com.autonavi.gbl.layer.BizControlService.isRecycled | ( | ) |
boolean com.autonavi.gbl.layer.BizControlService.isVirtualBusEnable | ( | @MapEngineID.MapEngineID1 int | engineId, |
@BusBusinessType.BusBusinessType1 int | type | ||
) |
查询指定服务类型是否开启VirtualBus机制(BL内转线程)
[in] | engineId | 地图引擎标示,不同屏幕不同Virtual Bus配置 |
[in] | type | 可内聚到virtual bus的业务类型 |
void com.autonavi.gbl.layer.BizControlService.onCreate | ( | ) |
服务创建时回调,HMI不需要主动调用 建议,服务实现者实现接口时候,初始化观察者信息
void com.autonavi.gbl.layer.BizControlService.onDestroy | ( | ) |
服务销毁时回调,HMI不需要主动调用 建议,服务实现者实现接口时候,销毁观察者信息
boolean com.autonavi.gbl.layer.BizControlService.setBizMode | ( | @MapEngineID.MapEngineID1 int | engineId, |
@BizMode.BizMode1 int | bizMode | ||
) |
设置图层模式
[in] | bizMode | 设置的图层模式 |
void com.autonavi.gbl.layer.BizControlService.setStyle | ( | @MapEngineID.MapEngineID1 int | engineId, |
IPrepareLayerStyle | pStyle | ||
) |
设置图元样式回调接口
[in] | engineId | 地图引擎标示,一个mapview对应一个图层样式 |
[in] | pStyle | 样式获取回调接口 |
void com.autonavi.gbl.layer.BizControlService.setUICollisionRects | ( | MapView | pMapView, |
ArrayList< RectDouble > | collisionRectUIs | ||
) |
设置UI控件矩形框用于多象限点图元(QuadrantLayerItem)的碰撞压盖面积计算,避免被UI控件遮挡。
[in] | pMapView | 主图句柄 |
[in] | collisionRectUIs | 控件矩形框信息 |
|
protected |
void com.autonavi.gbl.layer.BizControlService.unInit | ( | ) |
图层业务服务反初始化接口,反初始化所有control,由IServiceMgr::UnInitBL触发
void com.autonavi.gbl.layer.BizControlService.unInit | ( | @MapEngineID.MapEngineID1 int | engineId | ) |
图层业务服务反初始化接口,反初始化engineId对应的control,在释放map view前调用。