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 remain74 //--------------------------------------------------------------------------------------------------78 //--------------------------------------------------------------------------------------------------81 //--------------------------------------------------------------------------------------------------84 * Connect the current client thread to the service providing this API. Block until the service is88 * called before any other functions in this API. Normally, ConnectService is automatically called93 //--------------------------------------------------------------------------------------------------99 //--------------------------------------------------------------------------------------------------102 * Try to connect the current client thread to the service providing this API. Return with an error105 * For each thread that wants to use this API, either ConnectService or TryConnectService must be106 * called before any other functions in this API. Normally, ConnectService is automatically called115 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).118 //--------------------------------------------------------------------------------------------------124 //--------------------------------------------------------------------------------------------------128 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants131 //--------------------------------------------------------------------------------------------------138 //--------------------------------------------------------------------------------------------------144 * longer a connection to the service, and the functions in this API can't be used. For details, see149 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------le_result_t le_posCtrl_TryConnectService(void)void le_posCtrl_Release(le_posCtrl_ActivationRef_t ref)void le_posCtrl_DisconnectService(void)void(* le_posCtrl_DisconnectHandler_t)(void *)Definition: le_posCtrl_interface.h:79void le_posCtrl_ConnectService(void)struct le_posCtrl_Activation * le_posCtrl_ActivationRef_tDefinition: le_posCtrl_interface.h:161le_posCtrl_ActivationRef_t le_posCtrl_Request(void)void le_posCtrl_SetServerDisconnectHandler(le_posCtrl_DisconnectHandler_t disconnectHandler, void *contextPtr)