navit
0.5.3-trunk
|
A traffic plugin instance. More...
Data Fields | |
NAVIT_OBJECT struct navit * | navit |
struct traffic_shared_priv * | shared |
struct traffic_priv * | priv |
struct traffic_methods | meth |
struct callback * | callback |
struct event_timeout * | timeout |
struct callback * | idle_cb |
struct event_idle * | idle_ev |
A traffic plugin instance.
If multiple traffic plugins are loaded, each will have its own struct traffic
instance.
struct callback* traffic::callback |
The callback function for the idle loop
Referenced by traffic_new().
struct callback* traffic::idle_cb |
Idle callback to process new messages
Referenced by traffic_get_map(), traffic_loop(), traffic_process_messages(), and traffic_process_messages_int().
struct event_idle* traffic::idle_ev |
The pointer to the idle event
Referenced by traffic_get_map(), traffic_loop(), traffic_process_messages(), and traffic_process_messages_int().
struct traffic_methods traffic::meth |
Methods implemented by the plugin
Referenced by traffic_destroy(), traffic_loop(), and traffic_new().
NAVIT_OBJECT struct navit* traffic::navit |
The navit instance
Referenced by traffic_new(), traffic_process_messages_int(), and traffic_set_shared().
struct traffic_priv* traffic::priv |
Private data used by the plugin
Referenced by traffic_destroy(), traffic_loop(), and traffic_new().
struct traffic_shared_priv* traffic::shared |
Private data shared between all instances
Referenced by traffic_get_map(), traffic_get_stored_messages(), traffic_loop(), traffic_map_new(), traffic_new(), traffic_process_messages(), traffic_process_messages_int(), traffic_set_mapset(), traffic_set_route(), and traffic_set_shared().
struct event_timeout* traffic::timeout |
The timeout event that triggers the loop function
Referenced by traffic_new().