navit 0.5.3-trunk
Loading...
Searching...
No Matches
vehicleprofile.h
Go to the documentation of this file.
1
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#include "callback.h"
25#include "navit.h"
26
49
50struct vehicleprofile *vehicleprofile_new(struct attr *parent, struct attr **attrs);
51struct attr_iter *vehicleprofile_attr_iter_new(void *unused);
53int vehicleprofile_get_attr(struct vehicleprofile *this_, enum attr_type type, struct attr *attr,
54 struct attr_iter *iter);
55int vehicleprofile_set_attr(struct vehicleprofile *this_, struct attr *attr);
56int vehicleprofile_add_attr(struct vehicleprofile *this_, struct attr *attr);
57int vehicleprofile_remove_attr(struct vehicleprofile *this_, struct attr *attr);
59
61char *vehicleprofile_get_name(struct vehicleprofile *this_);
62#ifdef __cplusplus
63}
64#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
struct navit struct traffic_methods struct attr ** attrs
Definition plugin_def.h:36
Definition config_.c:47
void * iter
Definition config_.c:48
Definition attr.h:138
Definition gpx2navit_txt.h:50
Definition roadprofile.h:29
Definition vehicleprofile.h:27
char * name
Definition vehicleprofile.h:35
NAVIT_OBJECT int mode
Definition vehicleprofile.h:29
int length
Definition vehicleprofile.h:39
int width
Definition vehicleprofile.h:37
int through_traffic_penalty
Definition vehicleprofile.h:43
int turn_around_penalty2
Definition vehicleprofile.h:47
int axle_weight
Definition vehicleprofile.h:41
GHashTable * roadprofile_hash
Definition vehicleprofile.h:44
int height
Definition vehicleprofile.h:38
int flags
Definition vehicleprofile.h:32
int static_speed
Definition vehicleprofile.h:33
int turn_around_penalty
Definition vehicleprofile.h:46
int weight
Definition vehicleprofile.h:40
int flags_forward_mask
Definition vehicleprofile.h:30
int dangerous_goods
Definition vehicleprofile.h:42
struct attr active_callback
Definition vehicleprofile.h:45
char * route_depth
Definition vehicleprofile.h:36
int static_distance
Definition vehicleprofile.h:34
int flags_reverse_mask
Definition vehicleprofile.h:31
void vehicleprofile_attr_iter_destroy(struct attr_iter *iter)
Definition vehicleprofile.c:226
struct attr_iter * vehicleprofile_attr_iter_new(void *unused)
Definition vehicleprofile.c:222
int vehicleprofile_get_attr(struct vehicleprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition vehicleprofile.c:230
char * vehicleprofile_get_name(struct vehicleprofile *this_)
Returns the vehicle profile's name.
Definition vehicleprofile.c:265
struct roadprofile * vehicleprofile_get_roadprofile(struct vehicleprofile *this_, enum item_type type)
Definition vehicleprofile.c:261
int vehicleprofile_set_attr(struct vehicleprofile *this_, struct attr *attr)
Definition vehicleprofile.c:235
int vehicleprofile_add_attr(struct vehicleprofile *this_, struct attr *attr)
Definition vehicleprofile.c:241
int vehicleprofile_remove_attr(struct vehicleprofile *this_, struct attr *attr)
Definition vehicleprofile.c:256
struct vehicleprofile * vehicleprofile_new(struct attr *parent, struct attr **attrs)
Definition vehicleprofile.c:204