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 remain75 //--------------------------------------------------------------------------------------------------79 //--------------------------------------------------------------------------------------------------82 //--------------------------------------------------------------------------------------------------85 * Connect the current client thread to the service providing this API. Block until the service is89 * called before any other functions in this API. Normally, ConnectService is automatically called94 //--------------------------------------------------------------------------------------------------100 //--------------------------------------------------------------------------------------------------103 * Try to connect the current client thread to the service providing this API. Return with an error106 * For each thread that wants to use this API, either ConnectService or TryConnectService must be107 * called before any other functions in this API. Normally, ConnectService is automatically called116 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).119 //--------------------------------------------------------------------------------------------------125 //--------------------------------------------------------------------------------------------------129 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants132 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------145 * longer a connection to the service, and the functions in this API can't be used. For details, see150 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------void le_posCtrl_DisconnectService(void)void le_posCtrl_Release(le_posCtrl_ActivationRef_t ref)le_result_t le_posCtrl_TryConnectService(void)le_posCtrl_ActivationRef_t le_posCtrl_Request(void)void(* le_posCtrl_DisconnectHandler_t)(void *)Definition: le_posCtrl_interface.h:80void le_posCtrl_ConnectService(void)LE_FULL_API void le_posCtrl_SetServerDisconnectHandler(le_posCtrl_DisconnectHandler_t disconnectHandler, void *contextPtr)