le_posCtrl_interface.h
Go to the documentation of this file.
41 * If the positioning service is already active when le_posCtrl_Request() is called, it will remain79 //--------------------------------------------------------------------------------------------------83 //--------------------------------------------------------------------------------------------------86 //--------------------------------------------------------------------------------------------------89 * Connect the current client thread to the service providing this API. Block until the service is93 * called before any other functions in this API. Normally, ConnectService is automatically called98 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------107 * Try to connect the current client thread to the service providing this API. Return with an error110 * For each thread that wants to use this API, either ConnectService or TryConnectService must be111 * called before any other functions in this API. Normally, ConnectService is automatically called120 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).123 //--------------------------------------------------------------------------------------------------129 //--------------------------------------------------------------------------------------------------133 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants136 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------149 * longer a connection to the service, and the functions in this API can't be used. For details, see154 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------183 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------struct le_posCtrl_Activation * le_posCtrl_ActivationRef_tDefinition: le_posCtrl_common.h:33LE_FULL_API void le_posCtrl_SetServerDisconnectHandler(le_posCtrl_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_posCtrl_ConnectService(void)void le_posCtrl_Release(le_posCtrl_ActivationRef_t ref)void(* le_posCtrl_DisconnectHandler_t)(void *)Definition: le_posCtrl_interface.h:84le_result_t le_posCtrl_TryConnectService(void)void le_posCtrl_DisconnectService(void)le_posCtrl_ActivationRef_t le_posCtrl_Request(void)