navit
0.5.3-trunk
|
Go to the source code of this file.
Data Structures | |
struct | vehicleprofile |
Enumerations | |
enum | maxspeed_handling { maxspeed_enforce = 0 , maxspeed_restrict = 1 , maxspeed_ignore = 2 } |
Functions | |
struct vehicleprofile * | vehicleprofile_new (struct attr *parent, struct attr **attrs) |
struct attr_iter * | vehicleprofile_attr_iter_new (void *unused) |
void | vehicleprofile_attr_iter_destroy (struct attr_iter *iter) |
int | vehicleprofile_get_attr (struct vehicleprofile *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter) |
int | vehicleprofile_set_attr (struct vehicleprofile *this_, struct attr *attr) |
int | vehicleprofile_add_attr (struct vehicleprofile *this_, struct attr *attr) |
int | vehicleprofile_remove_attr (struct vehicleprofile *this_, struct attr *attr) |
struct roadprofile * | vehicleprofile_get_roadprofile (struct vehicleprofile *this_, enum item_type type) |
char * | vehicleprofile_get_name (struct vehicleprofile *this_) |
Returns the vehicle profile's name. More... | |
enum maxspeed_handling |
Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
int vehicleprofile_add_attr | ( | struct vehicleprofile * | this_, |
struct attr * | attr | ||
) |
void vehicleprofile_attr_iter_destroy | ( | struct attr_iter * | iter | ) |
References attr_iter::iter.
Referenced by request_vehicleprofile_attr_iter_destroy(), and vehicleprofile_update().
struct attr_iter* vehicleprofile_attr_iter_new | ( | void * | unused | ) |
Referenced by request_vehicleprofile_attr_iter(), and vehicleprofile_update().
int vehicleprofile_get_attr | ( | struct vehicleprofile * | this_, |
enum attr_type | type, | ||
struct attr * | attr, | ||
struct attr_iter * | iter | ||
) |
References attr_generic_get_attr(), attr_iter::iter, and type.
Referenced by navit_set_vehicleprofile_name(), request_vehicleprofile_get_attr(), tracking_update(), and vehicleprofile_update().
char* vehicleprofile_get_name | ( | struct vehicleprofile * | this_ | ) |
Returns the vehicle profile's name.
References vehicleprofile::name.
struct roadprofile* vehicleprofile_get_roadprofile | ( | struct vehicleprofile * | this_, |
enum item_type | type | ||
) |
References vehicleprofile::roadprofile_hash, and type.
Referenced by osd_speed_warner_draw(), osd_text_draw(), route_graph_add_street(), and route_seg_speed().
struct vehicleprofile* vehicleprofile_new | ( | struct attr * | parent, |
struct attr ** | attrs | ||
) |
int vehicleprofile_remove_attr | ( | struct vehicleprofile * | this_, |
struct attr * | attr | ||
) |
References attr_generic_remove_attr().
int vehicleprofile_set_attr | ( | struct vehicleprofile * | this_, |
struct attr * | attr | ||
) |
References attr_generic_set_attr(), and vehicleprofile_set_attr_do().
Referenced by request_vehicleprofile_set_attr().