diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2016-09-13 10:59:41 +0200 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2016-09-13 10:59:41 +0200 |
commit | b0b9dcd407b493079ba97db14505cf49a688ec3d (patch) | |
tree | ef0a291e390a6e96b460565866f54f50592ecb21 /api/franca/navigation/mapviewer/MapViewerControl.fidl | |
parent | 5f95f1e69c313e492ab91b1bd643f637657d50fd (diff) | |
download | poi-service-b0b9dcd407b493079ba97db14505cf49a688ec3d.tar.gz |
add error management into Franca files, change code and scripts, test OK
Diffstat (limited to 'api/franca/navigation/mapviewer/MapViewerControl.fidl')
-rwxr-xr-x | api/franca/navigation/mapviewer/MapViewerControl.fidl | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/api/franca/navigation/mapviewer/MapViewerControl.fidl b/api/franca/navigation/mapviewer/MapViewerControl.fidl index 2749ccb..a7df0c3 100755 --- a/api/franca/navigation/mapviewer/MapViewerControl.fidl +++ b/api/franca/navigation/mapviewer/MapViewerControl.fidl @@ -295,7 +295,6 @@ interface MapViewerControl { <** @description : createMapViewInstance = This method creates a new map instance - notify(MAPVIEWERCONTROL_ERROR_NOMOREMAPVIEWINSTANCEHANDLES) is emitted if no more map view instance handles are available **> method createMapViewInstance { in { @@ -319,11 +318,14 @@ interface MapViewerControl { **> Handle mapViewInstanceHandle } + error { + OK + MAPVIEWERCONTROL_ERROR_NOMOREMAPVIEWINSTANCEHANDLES //no more map view instance handles are available + } } <** @description : releaseMapViewInstance = This method releases (i.e. destroys) a given map instance. Only invisible map instances can be released - notify(MAPVIEWERCONTROL_ERROR_MAPVIEWINSTANCENOTAVAILABLE) is emitted if an application tries to delete a map view instance handle that is not available **> method releaseMapViewInstance { in { @@ -338,6 +340,10 @@ interface MapViewerControl { **> Handle mapViewInstanceHandle } + error { + OK + MAPVIEWERCONTROL_ERROR_MAPVIEWINSTANCENOTAVAILABLE //an application tries to delete a map view instance handle that is not available + } } <** @@ -1958,14 +1964,4 @@ interface MapViewerControl { SelectedMapElement [] selectedElements } } - - <** - @description : notify = This signal is emitted when something wrong occured when invoking the API - **> - broadcast notify { - out { - Notification notification - } - } - }
\ No newline at end of file |