navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
vehicleprofile.h
Go to the documentation of this file.
1 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 
30 };
31 
32 
35  int mode;
38  int flags;
42  char *name;
43  char *route_depth;
44  int width;
45  int height;
46  int length;
47  int weight;
51  GHashTable *roadprofile_hash;
55 };
56 
57 struct vehicleprofile * vehicleprofile_new(struct attr *parent, struct attr **attrs);
60 int vehicleprofile_get_attr(struct vehicleprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
61 int vehicleprofile_set_attr(struct vehicleprofile *this_, struct attr *attr);
62 int vehicleprofile_add_attr(struct vehicleprofile *this_, struct attr *attr);
63 int vehicleprofile_remove_attr(struct vehicleprofile *this_, struct attr *attr);
65 
67 char * vehicleprofile_get_name(struct vehicleprofile *this_);
68 #ifdef __cplusplus
69 }
70 #endif
void vehicleprofile_attr_iter_destroy(struct attr_iter *iter)
Definition: vehicleprofile.c:248
attr_type
Definition: attr.h:34
int vehicleprofile_get_attr(struct vehicleprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition: vehicleprofile.c:255
char * route_depth
Definition: vehicleprofile.h:43
tuple iter
Definition: eval.py:8
Definition: gpx2navit_txt.h:51
int flags
Definition: vehicleprofile.h:38
char * vehicleprofile_get_name(struct vehicleprofile *this_)
Returns the vehicle profile's name.
Definition: vehicleprofile.c:299
int through_traffic_penalty
Definition: vehicleprofile.h:50
int length
Definition: vehicleprofile.h:46
#define NAVIT_OBJECT
Definition: xmlconfig.h:119
item_type
Definition: item.h:29
struct attr_iter * vehicleprofile_attr_iter_new(void)
Definition: vehicleprofile.c:242
Definition: roadprofile.h:24
Definition: vehicleprofile.h:33
int height
Definition: vehicleprofile.h:45
int vehicleprofile_remove_attr(struct vehicleprofile *this_, struct attr *attr)
Definition: vehicleprofile.c:286
int vehicleprofile_add_attr(struct vehicleprofile *this_, struct attr *attr)
Definition: vehicleprofile.c:269
int vehicleprofile_set_attr(struct vehicleprofile *this_, struct attr *attr)
Definition: vehicleprofile.c:261
Definition: vehicleprofile.h:28
int dangerous_goods
Definition: vehicleprofile.h:49
struct attr active_callback
Definition: vehicleprofile.h:52
char * name
Definition: vehicleprofile.h:42
Definition: config_.c:48
Definition: attr.h:156
struct roadprofile * vehicleprofile_get_roadprofile(struct vehicleprofile *this_, enum item_type type)
Definition: vehicleprofile.c:293
int turn_around_penalty2
Definition: vehicleprofile.h:54
int flags_reverse_mask
Definition: vehicleprofile.h:37
maxspeed_handling
Definition: vehicleprofile.h:26
NAVIT_OBJECT int mode
Definition: vehicleprofile.h:35
Definition: vehicleprofile.h:27
int weight
Definition: vehicleprofile.h:47
int static_speed
Definition: vehicleprofile.h:40
int turn_around_penalty
Definition: vehicleprofile.h:53
int width
Definition: vehicleprofile.h:44
int axle_weight
Definition: vehicleprofile.h:48
struct vehicleprofile * vehicleprofile_new(struct attr *parent, struct attr **attrs)
Definition: vehicleprofile.c:222
int maxspeed_handling
Definition: vehicleprofile.h:39
char type[3]
Definition: garmin_img.c:130
int static_distance
Definition: vehicleprofile.h:41
GHashTable * roadprofile_hash
Definition: vehicleprofile.h:51
Definition: vehicleprofile.h:29
int flags_forward_mask
Definition: vehicleprofile.h:36