navit
0.5.3-trunk
|
#include <time.h>
Go to the source code of this file.
References attr::callback, tracking::callback_list, callback_list_add(), attr::type, and attr::u.
Referenced by tracking_remove_attr().
void tracking_destroy | ( | struct tracking * | tr | ) |
References tracking::attr, attr_free(), tracking::callback_list, callback_list_destroy(), and tracking_flush().
Referenced by tracking_remove_attr().
void tracking_flush | ( | struct tracking * | tr | ) |
References tracking::curr_line, dbg, tracking::lines, lvl_debug, tracking_line::next, tracking_line::street, and street_data_free().
Referenced by tracking_destroy(), and tracking_update().
int tracking_get_angle | ( | struct tracking * | tr | ) |
References tracking::curr_angle.
Referenced by navit_get_cursor_pnt().
int tracking_get_attr | ( | struct tracking * | _this, |
enum attr_type | type, | ||
struct attr * | attr, | ||
struct attr_iter * | attr_iter | ||
) |
References tracking::attr, attr_dup(), attr_free(), attr_to_name(), tracking::coord_geo, attr::coord_geo, tracking::coord_geo_valid, tracking::curr_line, tracking::curr_out, dbg, tracking::direction, tracking::direction_matched, item::id_hi, item::id_lo, item, street_data::item, attr::item, item_attr_get(), tracking::lines, lvl_debug, item::map, map_rect_destroy(), map_rect_get_item_byid(), map_rect_new(), tracking_line::next, attr::num, attr::numd, tracking::pro, tracking::speed, tracking_line::street, tracking::street_direction, transform_to_geo(), type, attr::type, attr::u, tracking::valid, coord::x, and coord::y.
Referenced by destination_address(), gui_internal_search_list_set_default_country(), Java_org_navitproject_navit_NavitGraphics_GetDefaultCountry(), navit_vehicle_update_position(), NGQProxySearch::NGQProxySearch(), osd_speed_warner_draw(), osd_text_draw(), request_tracking_get_attr(), and tracking_remove_attr().
int* tracking_get_current_flags | ( | struct tracking * | _this | ) |
References tracking::curr_line, street_data::flags, and tracking_line::street.
Referenced by osd_speed_warner_draw(), and osd_text_draw().
References tracking::curr_line, street_data::item, and tracking_line::street.
Referenced by osd_speed_warner_draw(), and osd_text_draw().
References attr::attrs, data, description(), tracking::map, map_new(), attr::navigation, attr::str, attr::tracking, type, attr::type, and attr::u.
Referenced by navit_init().
References tracking::curr_out.
Referenced by route_set_position_from_tracking().
int tracking_get_segment_pos | ( | struct tracking * | tr | ) |
References tracking::pos.
Referenced by route_set_position_from_tracking().
struct street_data* tracking_get_street_data | ( | struct tracking * | tr | ) |
References tracking::curr_line, and tracking_line::street.
Referenced by route_set_position_from_tracking().
int tracking_get_street_direction | ( | struct tracking * | tr | ) |
References tracking::street_direction.
Referenced by route_set_position_from_tracking().
void tracking_init | ( | void | ) |
References tracking_map_new().
Referenced by main_real(), and tracking_remove_attr().
References attr_generic_get_attr(), attr::attrs, callback_list_new(), navit_object_ref(), attr::num, tracking_func, tracking_init_cdf(), tracking_set_attr_do(), and attr::u.
Referenced by tracking_remove_attr().
References attr::callback, tracking::callback_list, callback_list_remove(), navit_object_ref(), navit_object_unref(), tracking_add_attr(), tracking_destroy(), tracking_get_attr(), tracking_init(), tracking_new(), tracking_remove_attr(), tracking_set_attr(), attr::type, and attr::u.
Referenced by tracking_remove_attr().
References tracking_set_attr_do().
Referenced by tracking_remove_attr().
Referenced by navit_init().
Referenced by navit_init().
void tracking_unref | ( | struct tracking * | this_ | ) |
void tracking_update | ( | struct tracking * | tr, |
struct vehicle * | v, | ||
struct vehicleprofile * | vehicleprofile, | ||
enum projection | pro | ||
) |
Processes a position update.
tr | The struct tracking |
v | The vehicle whose position has changed |
vehicleprofile | The vehicle profile to use |
pro | The projection to use for transformations |
References AF_UNDERGROUND, tracking_line::angle, angle_delta(), tracking::angle_pref, attr_position_valid_invalid, attr_position_valid_static, attr_position_valid_valid, street_data::c, tracking::callback_list, callback_list_call_attr_0, tracking::connected_pref, attr::coord_geo, tracking::coord_geo_valid, street_data::count, tracking::curr, tracking::curr_angle, tracking::curr_in, tracking::curr_line, tracking::curr_out, dbg, tracking::direction, tracking::direction_matched, street_data::flags, iso8601_to_secs(), tracking::last, tracking::last_in, tracking::last_out, tracking::last_updated, tracking::lines, lvl_debug, lvl_error, lvl_info, tracking_line::next, tracking::no_gps, tracking::nostop_pref, attr::num, attr::numd, tracking::offroad_limit_pref, tracking::pos, tracking::pro, tracking::speed, attr::str, tracking_line::street, tracking::street_direction, tracking::time, tracking_angle_abs_diff(), tracking_angle_delta(), tracking_angle_diff(), tracking_doupdate_lines(), tracking_flush(), tracking_is_connected(), tracking_value(), transform_distance(), transform_distance_line_sq(), transform_from_geo(), transform_project(), tracking::tunnel, tracking::tunnel_extrapolation, attr::u, tracking::valid, value, tracking::vehicle, vehicle_get_attr(), tracking::vehicleprofile, attr::vehicleprofile, vehicleprofile_get_attr(), coord::x, and coord::y.
Referenced by navit_vehicle_update_position().