navit
0.5.3-trunk
|
#include <stdlib.h>
#include <glib.h>
#include <string.h>
#include "debug.h"
#include "item.h"
#include "xmlconfig.h"
#include "roadprofile.h"
#include "vehicleprofile.h"
#include "callback.h"
Variables | |
struct object_func | vehicleprofile_func |
int vehicleprofile_add_attr | ( | struct vehicleprofile * | this_, |
struct attr * | attr | ||
) |
|
static |
References attr_to_name(), dbg, attr_iter::iter, lvl_debug, attr::navit_object, attr::type, attr::u, vehicleprofile_apply_roadprofile(), and vehicleprofile_set_attr_do().
Referenced by vehicleprofile_update().
|
static |
References dbg, item_get_default_flags(), item_to_name(), attr::item_types, attr_iter::iter, lvl_debug, lvl_error, vehicleprofile::name, vehicleprofile::roadprofile_hash, types, and attr::u.
Referenced by vehicleprofile_add_attr(), and vehicleprofile_apply_attrs().
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().
|
static |
References vehicleprofile::axle_weight, vehicleprofile::dangerous_goods, vehicleprofile::flags, vehicleprofile::flags_forward_mask, vehicleprofile::flags_reverse_mask, vehicleprofile::height, vehicleprofile::length, maxspeed_enforce, vehicleprofile::maxspeed_handling, vehicleprofile::mode, vehicleprofile::name, vehicleprofile::roadprofile_hash, vehicleprofile::route_depth, vehicleprofile::static_distance, vehicleprofile::static_speed, vehicleprofile::through_traffic_penalty, vehicleprofile_free_hash(), vehicleprofile::weight, and vehicleprofile::width.
Referenced by vehicleprofile_new(), and vehicleprofile_update().
|
static |
References dbg, item_to_name(), key, lvl_debug, roadprofile::maxspeed, roadprofile::route_weight, roadprofile::speed, and value.
Referenced by vehicleprofile_update().
|
static |
References vehicleprofile::roadprofile_hash, and vehicleprofile_free_hash_item().
Referenced by vehicleprofile_clear().
|
static |
References value.
Referenced by vehicleprofile_free_hash().
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().
|
static |
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().
|
static |
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.
References attr_to_name(), vehicleprofile::axle_weight, vehicleprofile::dangerous_goods, dbg, vehicleprofile::flags, vehicleprofile::flags_forward_mask, vehicleprofile::flags_reverse_mask, vehicleprofile::height, vehicleprofile::length, lvl_debug, vehicleprofile::maxspeed_handling, vehicleprofile::mode, vehicleprofile::name, attr::num, vehicleprofile::route_depth, vehicleprofile::static_distance, vehicleprofile::static_speed, attr::str, vehicleprofile::through_traffic_penalty, vehicleprofile::turn_around_penalty, vehicleprofile::turn_around_penalty2, attr::type, attr::u, vehicleprofile::weight, and vehicleprofile::width.
Referenced by vehicleprofile_apply_attrs(), vehicleprofile_new(), and vehicleprofile_set_attr().
|
static |
References active, vehicleprofile::axle_weight, vehicleprofile::dangerous_goods, dbg, vehicleprofile::flags, vehicleprofile::flags_forward_mask, vehicleprofile::flags_reverse_mask, vehicleprofile::height, attr_iter::iter, vehicleprofile::length, lvl_debug, vehicleprofile::maxspeed_handling, vehicleprofile::mode, name, attr::num, vehicleprofile::roadprofile_hash, vehicleprofile::static_distance, vehicleprofile::static_speed, vehicleprofile::through_traffic_penalty, attr::u, vehicleprofile_apply_attrs(), vehicleprofile_attr_iter_destroy(), vehicleprofile_attr_iter_new(), vehicleprofile_clear(), vehicleprofile_debug_roadprofile(), vehicleprofile_get_attr(), vehicleprofile::weight, and vehicleprofile::width.
Referenced by vehicleprofile_new().
struct object_func vehicleprofile_func |
Referenced by object_func_lookup(), and vehicleprofile_new().