navit 0.5.3-trunk
Loading...
Searching...
No Matches
vehicleprofile.h
Go to the documentation of this file.
1
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25
31
32
56
57struct vehicleprofile * vehicleprofile_new(struct attr *parent, struct attr **attrs);
58struct attr_iter *vehicleprofile_attr_iter_new(void * unused);
60int vehicleprofile_get_attr(struct vehicleprofile *this_, enum attr_type type, struct attr *attr,
61 struct attr_iter *iter);
62int vehicleprofile_set_attr(struct vehicleprofile *this_, struct attr *attr);
63int vehicleprofile_add_attr(struct vehicleprofile *this_, struct attr *attr);
64int vehicleprofile_remove_attr(struct vehicleprofile *this_, struct attr *attr);
66
68char * vehicleprofile_get_name(struct vehicleprofile *this_);
69#ifdef __cplusplus
70}
71#endif
attr_type
Definition attr_type_def.h:11
char type[3]
Definition garmin_img.c:2
item_type
Definition item_type_def.h:8
#define NAVIT_OBJECT
Definition navit.h:23
Definition config_.c:47
void * iter
Definition config_.c:48
Definition attr.h:136
Definition gpx2navit_txt.h:51
Definition roadprofile.h:24
Definition vehicleprofile.h:33
char * name
Definition vehicleprofile.h:42
NAVIT_OBJECT int mode
Definition vehicleprofile.h:35
int length
Definition vehicleprofile.h:46
int width
Definition vehicleprofile.h:44
int through_traffic_penalty
Definition vehicleprofile.h:50
int maxspeed_handling
Definition vehicleprofile.h:39
int turn_around_penalty2
Definition vehicleprofile.h:54
int axle_weight
Definition vehicleprofile.h:48
GHashTable * roadprofile_hash
Definition vehicleprofile.h:51
int height
Definition vehicleprofile.h:45
int flags
Definition vehicleprofile.h:38
int static_speed
Definition vehicleprofile.h:40
int turn_around_penalty
Definition vehicleprofile.h:53
int weight
Definition vehicleprofile.h:47
int flags_forward_mask
Definition vehicleprofile.h:36
int dangerous_goods
Definition vehicleprofile.h:49
struct attr active_callback
Definition vehicleprofile.h:52
char * route_depth
Definition vehicleprofile.h:43
int static_distance
Definition vehicleprofile.h:41
int flags_reverse_mask
Definition vehicleprofile.h:37
void vehicleprofile_attr_iter_destroy(struct attr_iter *iter)
Definition vehicleprofile.c:234
struct attr_iter * vehicleprofile_attr_iter_new(void *unused)
Definition vehicleprofile.c:230
int vehicleprofile_get_attr(struct vehicleprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition vehicleprofile.c:239
char * vehicleprofile_get_name(struct vehicleprofile *this_)
Returns the vehicle profile's name.
Definition vehicleprofile.c:275
struct roadprofile * vehicleprofile_get_roadprofile(struct vehicleprofile *this_, enum item_type type)
Definition vehicleprofile.c:271
int vehicleprofile_set_attr(struct vehicleprofile *this_, struct attr *attr)
Definition vehicleprofile.c:244
int vehicleprofile_add_attr(struct vehicleprofile *this_, struct attr *attr)
Definition vehicleprofile.c:250
int vehicleprofile_remove_attr(struct vehicleprofile *this_, struct attr *attr)
Definition vehicleprofile.c:265
struct vehicleprofile * vehicleprofile_new(struct attr *parent, struct attr **attrs)
Definition vehicleprofile.c:211
maxspeed_handling
Definition vehicleprofile.h:26
@ maxspeed_ignore
Definition vehicleprofile.h:29
@ maxspeed_restrict
Definition vehicleprofile.h:28
@ maxspeed_enforce
Definition vehicleprofile.h:27