All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
le_pos_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
182 #ifndef LE_POS_INTERFACE_H_INCLUDE_GUARD
183 #define LE_POS_INTERFACE_H_INCLUDE_GUARD
184 
185 
186 #include "legato.h"
187 
188 //--------------------------------------------------------------------------------------------------
192 //--------------------------------------------------------------------------------------------------
194 (
195  void
196 );
197 
198 //--------------------------------------------------------------------------------------------------
202 //--------------------------------------------------------------------------------------------------
204 (
205  void
206 );
207 
208 
209 //--------------------------------------------------------------------------------------------------
213 //--------------------------------------------------------------------------------------------------
214 typedef struct le_pos_Sample* le_pos_SampleRef_t;
215 
216 
217 //--------------------------------------------------------------------------------------------------
221 //--------------------------------------------------------------------------------------------------
222 typedef struct le_pos_MovementHandler* le_pos_MovementHandlerRef_t;
223 
224 
225 //--------------------------------------------------------------------------------------------------
234 //--------------------------------------------------------------------------------------------------
235 typedef void (*le_pos_MovementHandlerFunc_t)
236 (
237  le_pos_SampleRef_t positionSampleRef,
238  void* contextPtr
239 );
240 
241 //--------------------------------------------------------------------------------------------------
247 //--------------------------------------------------------------------------------------------------
249 (
250  uint32_t horizontalMagnitude,
255 
256  uint32_t verticalMagnitude,
261 
262  le_pos_MovementHandlerFunc_t handlerPtr,
264 
265  void* contextPtr
267 );
268 
269 //--------------------------------------------------------------------------------------------------
273 //--------------------------------------------------------------------------------------------------
275 (
276  le_pos_MovementHandlerRef_t addHandlerRef
278 );
279 
280 //--------------------------------------------------------------------------------------------------
291 //--------------------------------------------------------------------------------------------------
293 (
294  int32_t* latitudePtr,
297 
298  int32_t* longitudePtr,
301 
302  int32_t* hAccuracyPtr
305 );
306 
307 //--------------------------------------------------------------------------------------------------
319 //--------------------------------------------------------------------------------------------------
321 (
322  int32_t* latitudePtr,
325 
326  int32_t* longitudePtr,
329 
330  int32_t* hAccuracyPtr,
333 
334  int32_t* altitudePtr,
337 
338  int32_t* vAccuracyPtr
341 );
342 
343 //--------------------------------------------------------------------------------------------------
354 //--------------------------------------------------------------------------------------------------
356 (
357  uint32_t* hSpeedPtrPtr,
360 
361  int32_t* hSpeedAccuracyPtrPtr,
364 
365  int32_t* vSpeedPtrPtr,
368 
369  int32_t* vSpeedAccuracyPtrPtr
372 );
373 
374 //--------------------------------------------------------------------------------------------------
384 //--------------------------------------------------------------------------------------------------
386 (
387  int32_t* headingPtr,
390 
391  int32_t* headingAccuracyPtr
394 );
395 
396 //--------------------------------------------------------------------------------------------------
407 //--------------------------------------------------------------------------------------------------
409 (
410  int32_t* directionPtr,
413 
414  int32_t* directionAccuracyPtr
417 );
418 
419 //--------------------------------------------------------------------------------------------------
433 //--------------------------------------------------------------------------------------------------
435 (
436  le_pos_SampleRef_t positionSampleRef,
439 
440  int32_t* latitudePtr,
443 
444  int32_t* longitudePtr,
447 
448  int32_t* horizontalAccuracyPtr
451 );
452 
453 //--------------------------------------------------------------------------------------------------
466 //--------------------------------------------------------------------------------------------------
468 (
469  le_pos_SampleRef_t positionSampleRef,
472 
473  int32_t* altitudePtr,
476 
477  int32_t* altitudeAccuracyPtr
480 );
481 
482 //--------------------------------------------------------------------------------------------------
495 //--------------------------------------------------------------------------------------------------
497 (
498  le_pos_SampleRef_t positionSampleRef,
501 
502  uint32_t* hspeedPtr,
505 
506  int32_t* hspeedAccuracyPtr
509 );
510 
511 //--------------------------------------------------------------------------------------------------
524 //--------------------------------------------------------------------------------------------------
526 (
527  le_pos_SampleRef_t positionSampleRef,
530 
531  int32_t* vspeedPtr,
534 
535  int32_t* vspeedAccuracyPtr
538 );
539 
540 //--------------------------------------------------------------------------------------------------
554 //--------------------------------------------------------------------------------------------------
556 (
557  le_pos_SampleRef_t positionSampleRef,
560 
561  int32_t* headingPtr,
564 
565  int32_t* headingAccuracyPtr
568 );
569 
570 //--------------------------------------------------------------------------------------------------
584 //--------------------------------------------------------------------------------------------------
586 (
587  le_pos_SampleRef_t positionSampleRef,
590 
591  int32_t* directionPtr,
594 
595  int32_t* directionAccuracyPtr
598 );
599 
600 //--------------------------------------------------------------------------------------------------
607 //--------------------------------------------------------------------------------------------------
609 (
610  le_pos_SampleRef_t positionSampleRef
613 );
614 
615 
616 #endif // LE_POS_INTERFACE_H_INCLUDE_GUARD
617 
le_result_t le_pos_sample_Get2DLocation(le_pos_SampleRef_t positionSampleRef, int32_t *latitudePtr, int32_t *longitudePtr, int32_t *horizontalAccuracyPtr)
le_result_t le_pos_GetHeading(int32_t *headingPtr, int32_t *headingAccuracyPtr)
le_result_t
Definition: le_basics.h:35
le_pos_MovementHandlerRef_t le_pos_AddMovementHandler(uint32_t horizontalMagnitude, uint32_t verticalMagnitude, le_pos_MovementHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_pos_sample_GetHeading(le_pos_SampleRef_t positionSampleRef, int32_t *headingPtr, int32_t *headingAccuracyPtr)
le_result_t le_pos_sample_GetAltitude(le_pos_SampleRef_t positionSampleRef, int32_t *altitudePtr, int32_t *altitudeAccuracyPtr)
void le_pos_DisconnectService(void)
void le_pos_ConnectService(void)
le_result_t le_pos_Get3DLocation(int32_t *latitudePtr, int32_t *longitudePtr, int32_t *hAccuracyPtr, int32_t *altitudePtr, int32_t *vAccuracyPtr)
struct le_pos_Sample * le_pos_SampleRef_t
Definition: le_pos_interface.h:214
le_result_t le_pos_GetDirection(int32_t *directionPtr, int32_t *directionAccuracyPtr)
le_result_t le_pos_GetMotion(uint32_t *hSpeedPtrPtr, int32_t *hSpeedAccuracyPtrPtr, int32_t *vSpeedPtrPtr, int32_t *vSpeedAccuracyPtrPtr)
le_result_t le_pos_Get2DLocation(int32_t *latitudePtr, int32_t *longitudePtr, int32_t *hAccuracyPtr)
le_result_t le_pos_sample_GetVerticalSpeed(le_pos_SampleRef_t positionSampleRef, int32_t *vspeedPtr, int32_t *vspeedAccuracyPtr)
void le_pos_RemoveMovementHandler(le_pos_MovementHandlerRef_t addHandlerRef)
le_result_t le_pos_sample_GetHorizontalSpeed(le_pos_SampleRef_t positionSampleRef, uint32_t *hspeedPtr, int32_t *hspeedAccuracyPtr)
void(* le_pos_MovementHandlerFunc_t)(le_pos_SampleRef_t positionSampleRef, void *contextPtr)
Definition: le_pos_interface.h:236
struct le_pos_MovementHandler * le_pos_MovementHandlerRef_t
Definition: le_pos_interface.h:222
le_result_t le_pos_sample_GetDirection(le_pos_SampleRef_t positionSampleRef, int32_t *directionPtr, int32_t *directionAccuracyPtr)
void le_pos_sample_Release(le_pos_SampleRef_t positionSampleRef)