Navit SVN

/work/compile/navit/src/navit/track.h

00001 
00020 #ifndef NAVIT_TRACK_H
00021 #define NAVIT_TRACK_H
00022 #include <time.h>
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 /* prototypes */
00027 enum attr_type;
00028 enum projection;
00029 struct attr;
00030 struct attr_iter;
00031 struct coord;
00032 struct item;
00033 struct map;
00034 struct mapset;
00035 struct route;
00036 struct street_data;
00037 struct tracking;
00038 struct vehicle;
00039 struct vehicleprofile;
00040 int tracking_get_angle(struct tracking *tr);
00041 struct coord *tracking_get_pos(struct tracking *tr);
00042 int tracking_get_street_direction(struct tracking *tr);
00043 int tracking_get_segment_pos(struct tracking *tr);
00044 struct street_data *tracking_get_street_data(struct tracking *tr);
00045 int tracking_get_attr(struct tracking *_this, enum attr_type type, struct attr *attr, struct attr_iter *attr_iter);
00046 struct item *tracking_get_current_item(struct tracking *_this);
00047 int *tracking_get_current_flags(struct tracking *_this);
00048 void tracking_flush(struct tracking *tr);
00049 void tracking_update(struct tracking *tr, struct vehicle *v, struct vehicleprofile *vehicleprofile, enum projection pro);
00050 int tracking_set_attr(struct tracking *tr, struct attr *attr);
00051 struct tracking *tracking_new(struct attr *parent, struct attr **attrs);
00052 void tracking_set_mapset(struct tracking *this_, struct mapset *ms);
00053 void tracking_set_route(struct tracking *this_, struct route *rt);
00054 void tracking_destroy(struct tracking *tr);
00055 struct map *tracking_get_map(struct tracking *this_);
00056 int tracking_add_attr(struct tracking *this_, struct attr *attr);
00057 int tracking_remove_attr(struct tracking *this_, struct attr *attr);
00058 struct tracking *tracking_ref(struct tracking *this_);
00059 void tracking_unref(struct tracking *this_);
00060 void tracking_init(void);
00061 /* end of prototypes */
00062 #ifdef __cplusplus
00063 }
00064 #endif
00065 
00066 #endif