navit  0.5.3-trunk
route_graph Struct Reference

A complete route graph. More...

Data Fields

int busy
 
struct map_selectionsel
 
struct mapset_handleh
 
struct mapm
 
struct map_rectmr
 
struct vehicleprofilevehicleprofile
 
struct callbackidle_cb
 
struct callbackdone_cb
 
struct event_idleidle_ev
 
struct route_graph_segmentroute_segments
 
struct route_graph_segmentavoid_seg
 
struct route_graph_pointhash [HASH_SIZE]
 

Detailed Description

A complete route graph.

The route graph holds all routable segments along with the connections between them and the cost of each segment.

Field Documentation

◆ avoid_seg

struct route_graph_segment* route_graph::avoid_seg

◆ busy

int route_graph::busy

The graph is being built

Referenced by route_graph_build(), and route_graph_build_done().

◆ done_cb

struct callback* route_graph::done_cb

Callback when graph is done

Referenced by route_graph_build(), and route_graph_build_done().

◆ h

struct mapset_handle* route_graph::h

◆ hash

struct route_graph_point* route_graph::hash[HASH_SIZE]

A hashtable containing all route_graph_points in this graph

Referenced by rp_get_item().

◆ idle_cb

struct callback* route_graph::idle_cb

Idle callback to process the graph

Referenced by route_graph_build(), and route_graph_build_done().

◆ idle_ev

struct event_idle* route_graph::idle_ev

The pointer to the idle event

Referenced by route_graph_build(), and route_graph_build_done().

◆ m

struct map* route_graph::m

Pointer to the currently active map

Referenced by route_graph_build_next_map().

◆ mr

struct map_rect* route_graph::mr

Pointer to the currently active map rectangle

Referenced by route_graph_build_done(), route_graph_build_idle(), and route_graph_build_next_map().

◆ route_segments

struct route_graph_segment* route_graph::route_segments

Pointer to the first route_graph_segment in the linked list of all segments

Referenced by rp_get_item().

◆ sel

struct map_selection* route_graph::sel

The rectangle selection for the graph

Referenced by route_graph_build(), route_graph_build_done(), and route_graph_build_next_map().

◆ vehicleprofile

struct vehicleprofile* route_graph::vehicleprofile

The vehicle profile


The documentation for this struct was generated from the following file: