VikGpsLayer

VikGpsLayer

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── VikLayer
        ╰── VikGpsLayer

Description

Functions

vik_gps_layer_is_empty ()

gboolean
vik_gps_layer_is_empty (VikGpsLayer *vgl);

vik_gps_layer_get_children ()

const GList *
vik_gps_layer_get_children (VikGpsLayer *vgl);

vik_gps_layer_get_a_child ()

VikTrwLayer *
vik_gps_layer_get_a_child (VikGpsLayer *vgl);

vik_gps_comm ()

gint
vik_gps_comm (VikTrwLayer *vtl,
              VikTrack *track,
              vik_gps_dir dir,
              gchar *protocol,
              gchar *port,
              gboolean tracking,
              VikViewport *vvp,
              VikLayersPanel *vlp,
              gboolean do_tracks,
              gboolean do_routes,
              gboolean do_waypoints,
              gboolean turn_off);

Talk to a GPS Device using a thread which updates a dialog with the progress

Parameters

vtl

The TrackWaypoint layer to operate on

 

track

Operate on a particular track when specified

 

dir

The direction of the transfer

 

protocol

The GPS device communication protocol

 

port

The GPS serial port

 

tracking

If tracking then viewport display update will be skipped

 

vvp

A viewport is required as the display may get updated

 

vlp

A layers panel is needed for uploading as the items maybe modified

 

do_tracks

Whether tracks shoud be processed

 

do_waypoints

Whether waypoints shoud be processed

 

turn_off

Whether we should attempt to turn off the GPS device after the transfer (only some devices support this)

 

Types and Values

VIK_GPS_LAYER_TYPE

#define VIK_GPS_LAYER_TYPE            (vik_gps_layer_get_type ())

enum vik_gps_dir

Members

GPS_DOWN

   

GPS_UP

   

enum vik_gps_xfer_type

Members

WPT

   

TRK

   

RTE