The Vehicle to gain position data from qt5.
More...
The Vehicle to gain position data from qt5.
◆ plugin_init()
void plugin_init |
( |
void |
| ) |
|
◆ QNavitGeoReceiver()
QNavitGeoReceiver::QNavitGeoReceiver |
( |
QObject * |
parent, |
|
|
struct vehicle_priv * |
c |
|
) |
| |
◆ vehicle_qt5_destroy()
static void vehicle_qt5_destroy |
( |
struct vehicle_priv * |
priv | ) |
|
|
static |
◆ vehicle_qt5_new_qt5()
Create null_vehicle.
- Parameters
-
- Returns
- vehicle_priv
References vehicle_priv::attrs, vehicle_priv::cbl, cbl, dbg, lvl_debug, lvl_error, QNavitGeoReceiver::QNavitGeoReceiver(), vehicle_priv::receiver, vehicle_priv::satellites, vehicle_priv::source, and vehicle_null_methods.
Referenced by plugin_init().
◆ vehicle_qt5_position_attr_get()
Provide the outside with information.
- Parameters
-
priv | |
type | TODO: What can this be? |
attr | |
- Returns
- true/false
References active, attr_position_valid_valid, attr_search(), attr_to_name(), vehicle_priv::attrs, attr::coord_geo, dbg, vehicle_priv::direction, vehicle_priv::fix_time, vehicle_priv::fix_type, vehicle_priv::fixiso8601, vehicle_priv::geo, vehicle_priv::have_coords, vehicle_priv::height, lvl_debug, attr::num, attr::numd, vehicle_priv::radius, vehicle_priv::sats, vehicle_priv::sats_used, vehicle_priv::speed, attr::str, type, attr::type, and attr::u.
◆ vehicle_qt5_set_attr()
static int vehicle_qt5_set_attr |
( |
struct vehicle_priv * |
priv, |
|
|
struct attr * |
attr |
|
) |
| |
|
static |
References attr_position_valid_valid, callback_list_call_attr_0, vehicle_priv::cbl, attr::coord_geo, vehicle_priv::direction, vehicle_priv::geo, vehicle_priv::have_coords, attr::numd, vehicle_priv::speed, attr::type, and attr::u.
◆ vehicle_null_methods
Initial value:= {
}
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:163
static int vehicle_qt5_set_attr(struct vehicle_priv *priv, struct attr *attr)
Definition: vehicle_qt5.cpp:232
static void vehicle_qt5_destroy(struct vehicle_priv *priv)
Free the null_vehicle.
Definition: vehicle_qt5.cpp:146
Referenced by vehicle_qt5_new_qt5().
◆ positionUpdated
void QNavitGeoReceiver::positionUpdated |
( |
const QGeoPositionInfo & |
info | ) |
|
|
slot |
References attr_position_valid_invalid, attr_position_valid_valid, callback_list_call_attr_0, vehicle_priv::cbl, dbg, vehicle_priv::direction, vehicle_priv::fix_time, vehicle_priv::fix_type, vehicle_priv::geo, vehicle_priv::have_coords, vehicle_priv::height, coord_geo::lat, coord_geo::lng, lvl_debug, QNavitGeoReceiver::priv, vehicle_priv::radius, and vehicle_priv::speed.
Referenced by QNavitGeoReceiver::QNavitGeoReceiver().
◆ satellitesInUseUpdated
void QNavitGeoReceiver::satellitesInUseUpdated |
( |
const QList< QGeoSatelliteInfo > & |
satellites | ) |
|
|
slot |
◆ satellitesInViewUpdated
void QNavitGeoReceiver::satellitesInViewUpdated |
( |
const QList< QGeoSatelliteInfo > & |
satellites | ) |
|
|
slot |