navit  0.5.3-trunk
Vehicle QT5

The Vehicle to gain position data from qt5. More...

Functions

static void vehicle_qt5_destroy (struct vehicle_priv *priv)
 Free the null_vehicle. More...
 
static int vehicle_qt5_position_attr_get (struct vehicle_priv *priv, enum attr_type type, struct attr *attr)
 Provide the outside with information. More...
 
static int vehicle_qt5_set_attr (struct vehicle_priv *priv, struct attr *attr)
 
static struct vehicle_privvehicle_qt5_new_qt5 (struct vehicle_methods *meth, struct callback_list *cbl, struct attr **attrs)
 Create null_vehicle. More...
 
void plugin_init (void)
 register vehicle_null More...
 
 QNavitGeoReceiver::QNavitGeoReceiver (QObject *parent, struct vehicle_priv *c)
 

Variables

struct vehicle_methods vehicle_null_methods
 

Public Slots

void QNavitGeoReceiver::satellitesInUseUpdated (const QList< QGeoSatelliteInfo > &satellites)
 
void QNavitGeoReceiver::satellitesInViewUpdated (const QList< QGeoSatelliteInfo > &satellites)
 
void QNavitGeoReceiver::positionUpdated (const QGeoPositionInfo &info)
 

Detailed Description

The Vehicle to gain position data from qt5.

Function Documentation

◆ plugin_init()

void plugin_init ( void  )

register vehicle_null

The plugin entry point.

Returns
nothing

References dbg, lvl_debug, and vehicle_qt5_new_qt5().

◆ QNavitGeoReceiver()

◆ vehicle_qt5_destroy()

static void vehicle_qt5_destroy ( struct vehicle_priv priv)
static

Free the null_vehicle.

Parameters
priv
Returns
nothing

References dbg, lvl_debug, vehicle_priv::receiver, and vehicle_priv::source.

◆ vehicle_qt5_new_qt5()

static struct vehicle_priv* vehicle_qt5_new_qt5 ( struct vehicle_methods meth,
struct callback_list cbl,
struct attr **  attrs 
)
static

◆ vehicle_qt5_position_attr_get()

static int vehicle_qt5_position_attr_get ( struct vehicle_priv priv,
enum attr_type  type,
struct attr attr 
)
static

◆ vehicle_qt5_set_attr()

static int vehicle_qt5_set_attr ( struct vehicle_priv priv,
struct attr attr 
)
static

Variable Documentation

◆ vehicle_null_methods

struct vehicle_methods vehicle_null_methods
Initial value:
= {
}
static int vehicle_qt5_set_attr(struct vehicle_priv *priv, struct attr *attr)
Definition: vehicle_qt5.cpp:231
static void vehicle_qt5_destroy(struct vehicle_priv *priv)
Free the null_vehicle.
Definition: vehicle_qt5.cpp:145
static int vehicle_qt5_position_attr_get(struct vehicle_priv *priv, enum attr_type type, struct attr *attr)
Provide the outside with information.
Definition: vehicle_qt5.cpp:162

Referenced by vehicle_qt5_new_qt5().

Public Slots

◆ positionUpdated

◆ satellitesInUseUpdated

void QNavitGeoReceiver::satellitesInUseUpdated ( const QList< QGeoSatelliteInfo > &  satellites)
slot

◆ satellitesInViewUpdated

void QNavitGeoReceiver::satellitesInViewUpdated ( const QList< QGeoSatelliteInfo > &  satellites)
slot