20#ifndef NAVIT_VEHICLE_H
21#define NAVIT_VEHICLE_H
attr_type
Definition attr_type_def.h:11
char type[3]
Definition garmin_img.c:2
struct navit struct traffic_methods struct attr ** attrs
Definition plugin_def.h:36
void * iter
Definition config_.c:46
graphics object A graphics object serves as the target for drawing operations. It encapsulates variou...
Definition graphics.c:78
Definition gpx2navit_txt.h:50
int(* set_attr)(struct vehicle_priv *priv, struct attr *attr)
Definition vehicle.h:37
int(* position_attr_get)(struct vehicle_priv *priv, enum attr_type type, struct attr *attr)
Definition vehicle.h:36
void(* destroy)(struct vehicle_priv *priv)
Definition vehicle.h:35
Definition vehicle_android.c:43
struct vehicle * vehicle_ref(struct vehicle *this_)
int vehicle_set_attr(struct vehicle *this_, struct attr *attr)
Definition vehicle.c:226
void vehicle_set_cursor(struct vehicle *this_, struct cursor *cursor, int overwrite)
Definition vehicle.c:306
int vehicle_remove_attr(struct vehicle *this_, struct attr *attr)
Generic remove function.
Definition vehicle.c:279
void vehicle_attr_iter_destroy(struct attr_iter *iter)
Definition vehicle.c:191
void vehicle_log_gpx_add_tag(char *tag, char **logstr)
Definition vehicle.c:498
int vehicle_get_cursor_data(struct vehicle *this_, struct point *pnt, int *angle, int *speed)
Definition vehicle.c:405
struct attr_iter * vehicle_attr_iter_new(void *unused)
Definition vehicle.c:182
struct vehicle * vehicle_new(struct attr *parent, struct attr **attrs)
Creates a new vehicle.
Definition vehicle.c:105
void vehicle_destroy(struct vehicle *this_)
Destroys a vehicle.
Definition vehicle.c:162
void vehicle_unref(struct vehicle *this_)
int vehicle_get_attr(struct vehicle *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition vehicle.c:205
void vehicle_draw(struct vehicle *this_, struct graphics *gra, struct point *pnt, int angle, int speed)
Definition vehicle.c:346
int vehicle_add_attr(struct vehicle *this_, struct attr *attr)
Definition vehicle.c:250