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 
225 #ifndef LE_POS_H_INCLUDE_GUARD
226 #define LE_POS_H_INCLUDE_GUARD
227 
228 
229 #include "legato.h"
230 
231 //--------------------------------------------------------------------------------------------------
235 //--------------------------------------------------------------------------------------------------
237 (
238  const char* serviceInstanceName
240 );
241 
242 //--------------------------------------------------------------------------------------------------
246 //--------------------------------------------------------------------------------------------------
248 (
249  void
250 );
251 
252 
253 //--------------------------------------------------------------------------------------------------
257 //--------------------------------------------------------------------------------------------------
258 typedef struct le_pos_Sample* le_pos_SampleRef_t;
259 
260 
261 //--------------------------------------------------------------------------------------------------
265 //--------------------------------------------------------------------------------------------------
266 typedef struct le_pos_MovementHandler* le_pos_MovementHandlerRef_t;
267 
268 
269 //--------------------------------------------------------------------------------------------------
278 //--------------------------------------------------------------------------------------------------
279 typedef void (*le_pos_MovementHandlerFunc_t)
280 (
281  le_pos_SampleRef_t positionSampleRef,
282  void* contextPtr
283 );
284 
285 //--------------------------------------------------------------------------------------------------
289 //--------------------------------------------------------------------------------------------------
291 (
292  uint32_t horizontalMagnitude,
297 
298  uint32_t verticalMagnitude,
303 
304  le_pos_MovementHandlerFunc_t handlerPtr,
306 
307  void* contextPtr
309 );
310 
311 //--------------------------------------------------------------------------------------------------
315 //--------------------------------------------------------------------------------------------------
317 (
318  le_pos_MovementHandlerRef_t addHandlerRef
320 );
321 
322 //--------------------------------------------------------------------------------------------------
333 //--------------------------------------------------------------------------------------------------
335 (
336  int32_t* latitudePtr,
339 
340  int32_t* longitudePtr,
343 
344  int32_t* hAccuracyPtr
347 );
348 
349 //--------------------------------------------------------------------------------------------------
361 //--------------------------------------------------------------------------------------------------
363 (
364  int32_t* latitudePtr,
367 
368  int32_t* longitudePtr,
371 
372  int32_t* hAccuracyPtr,
375 
376  int32_t* altitudePtr,
379 
380  int32_t* vAccuracyPtr
383 );
384 
385 //--------------------------------------------------------------------------------------------------
396 //--------------------------------------------------------------------------------------------------
398 (
399  uint32_t* hSpeedPtrPtr,
402 
403  int32_t* hSpeedAccuracyPtrPtr,
406 
407  int32_t* vSpeedPtrPtr,
410 
411  int32_t* vSpeedAccuracyPtrPtr
414 );
415 
416 //--------------------------------------------------------------------------------------------------
426 //--------------------------------------------------------------------------------------------------
428 (
429  int32_t* headingPtr,
432 
433  int32_t* headingAccuracyPtr
436 );
437 
438 //--------------------------------------------------------------------------------------------------
449 //--------------------------------------------------------------------------------------------------
451 (
452  int32_t* directionPtr,
455 
456  int32_t* directionAccuracyPtr
459 );
460 
461 //--------------------------------------------------------------------------------------------------
475 //--------------------------------------------------------------------------------------------------
477 (
478  le_pos_SampleRef_t positionSampleRef,
481 
482  int32_t* latitudePtr,
485 
486  int32_t* longitudePtr,
489 
490  int32_t* horizontalAccuracyPtr
493 );
494 
495 //--------------------------------------------------------------------------------------------------
508 //--------------------------------------------------------------------------------------------------
510 (
511  le_pos_SampleRef_t positionSampleRef,
514 
515  int32_t* altitudePtr,
518 
519  int32_t* altitudeAccuracyPtr
522 );
523 
524 //--------------------------------------------------------------------------------------------------
537 //--------------------------------------------------------------------------------------------------
539 (
540  le_pos_SampleRef_t positionSampleRef,
543 
544  uint32_t* hspeedPtr,
547 
548  int32_t* hspeedAccuracyPtr
551 );
552 
553 //--------------------------------------------------------------------------------------------------
566 //--------------------------------------------------------------------------------------------------
568 (
569  le_pos_SampleRef_t positionSampleRef,
572 
573  int32_t* vspeedPtr,
576 
577  int32_t* vspeedAccuracyPtr
580 );
581 
582 //--------------------------------------------------------------------------------------------------
596 //--------------------------------------------------------------------------------------------------
598 (
599  le_pos_SampleRef_t positionSampleRef,
602 
603  int32_t* headingPtr,
606 
607  int32_t* headingAccuracyPtr
610 );
611 
612 //--------------------------------------------------------------------------------------------------
626 //--------------------------------------------------------------------------------------------------
628 (
629  le_pos_SampleRef_t positionSampleRef,
632 
633  int32_t* directionPtr,
636 
637  int32_t* directionAccuracyPtr
640 );
641 
642 //--------------------------------------------------------------------------------------------------
649 //--------------------------------------------------------------------------------------------------
651 (
652  le_pos_SampleRef_t positionSampleRef
655 );
656 
657 //--------------------------------------------------------------------------------------------------
667 //--------------------------------------------------------------------------------------------------
669 (
670  const char* xtraFilePathPtr
673 );
674 
675 //--------------------------------------------------------------------------------------------------
685 //--------------------------------------------------------------------------------------------------
687 (
688  le_clk_Time_t* startTimePtrPtr,
691 
692  le_clk_Time_t* stopTimePtrPtr
695 );
696 
697 
698 #endif // LE_POS_H_INCLUDE_GUARD
699 
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 le_pos_GetXtraValidity(le_clk_Time_t *startTimePtrPtr, le_clk_Time_t *stopTimePtrPtr)
le_result_t
Definition: le_basics.h:34
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_LoadXtra(const char *xtraFilePathPtr)
le_result_t le_pos_sample_GetAltitude(le_pos_SampleRef_t positionSampleRef, int32_t *altitudePtr, int32_t *altitudeAccuracyPtr)
void le_pos_StartClient(const char *serviceInstanceName)
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:258
Definition: le_clock.h:97
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)
void le_pos_StopClient(void)
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:280
struct le_pos_MovementHandler * le_pos_MovementHandlerRef_t
Definition: le_pos_interface.h:266
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)