navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
track.h
Go to the documentation of this file.
1 
20 #ifndef NAVIT_TRACK_H
21 #define NAVIT_TRACK_H
22 #include <time.h>
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 /* prototypes */
27 enum attr_type;
28 enum projection;
29 struct attr;
30 struct attr_iter;
31 struct coord;
32 struct item;
33 struct map;
34 struct mapset;
35 struct route;
36 struct street_data;
37 struct tracking;
38 struct vehicle;
39 struct vehicleprofile;
40 int tracking_get_angle(struct tracking *tr);
41 struct coord *tracking_get_pos(struct tracking *tr);
43 int tracking_get_segment_pos(struct tracking *tr);
45 int tracking_get_attr(struct tracking *_this, enum attr_type type, struct attr *attr, struct attr_iter *attr_iter);
46 struct item *tracking_get_current_item(struct tracking *_this);
47 int *tracking_get_current_flags(struct tracking *_this);
48 void tracking_flush(struct tracking *tr);
49 void tracking_update(struct tracking *tr, struct vehicle *v, struct vehicleprofile *vehicleprofile, enum projection pro);
50 int tracking_set_attr(struct tracking *tr, struct attr *attr);
51 struct tracking *tracking_new(struct attr *parent, struct attr **attrs);
52 void tracking_set_mapset(struct tracking *this_, struct mapset *ms);
53 void tracking_set_route(struct tracking *this_, struct route *rt);
54 void tracking_destroy(struct tracking *tr);
55 struct map *tracking_get_map(struct tracking *this_);
56 int tracking_add_attr(struct tracking *this_, struct attr *attr);
57 int tracking_remove_attr(struct tracking *this_, struct attr *attr);
58 struct tracking *tracking_ref(struct tracking *this_);
59 void tracking_unref(struct tracking *this_);
60 void tracking_init(void);
61 /* end of prototypes */
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif
void tracking_destroy(struct tracking *tr)
Definition: track.c:930
attr_type
Definition: attr.h:34
int tracking_get_segment_pos(struct tracking *tr)
Definition: track.c:320
Definition: gpx2navit_txt.h:51
void tracking_flush(struct tracking *tr)
Definition: track.c:509
struct street_data * tracking_get_street_data(struct tracking *tr)
Definition: track.c:326
Definition: item.h:99
A mapset.
Definition: mapset.c:44
struct route * rt
Definition: track.c:89
Definition: vehicle.c:58
int tracking_set_attr(struct tracking *tr, struct attr *attr)
Definition: track.c:843
Definition: vehicleprofile.h:33
int tracking_get_angle(struct tracking *tr)
Definition: track.c:302
Definition: track.c:85
void tracking_set_route(struct tracking *this_, struct route *rt)
Definition: track.c:924
struct tracking * tracking_new(struct attr *parent, struct attr **attrs)
Definition: track.c:890
A complete route.
Definition: route.c:248
void tracking_set_mapset(struct tracking *this_, struct mapset *ms)
Definition: track.c:918
void tracking_update(struct tracking *tr, struct vehicle *v, struct vehicleprofile *vehicleprofile, enum projection pro)
Processes a position update.
Definition: track.c:651
int tracking_get_attr(struct tracking *_this, enum attr_type type, struct attr *attr, struct attr_iter *attr_iter)
Definition: track.c:334
struct tracking * tracking_ref(struct tracking *this_)
projection
Definition: projection.h:23
Definition: config_.c:48
Information about a street.
Definition: route.h:66
struct coord * tracking_get_pos(struct tracking *tr)
Definition: track.c:308
Definition: attr.h:156
int tracking_get_street_direction(struct tracking *tr)
Definition: track.c:314
struct item * tracking_get_current_item(struct tracking *_this)
Definition: track.c:403
Holds information about a map.
Definition: map.c:60
struct mapset * ms
Definition: track.c:88
void tracking_init(void)
Definition: track.c:1228
int tracking_add_attr(struct tracking *this_, struct attr *attr)
Definition: track.c:849
char type[3]
Definition: garmin_img.c:130
Definition: coord.h:34
struct map * tracking_get_map(struct tracking *this_)
Definition: track.c:940
void tracking_unref(struct tracking *this_)
int tracking_remove_attr(struct tracking *this_, struct attr *attr)
Definition: track.c:861
int * tracking_get_current_flags(struct tracking *_this)
Definition: track.c:411