navit  0.5.3-trunk
traffic Struct Reference

A traffic plugin instance. More...

Data Fields

NAVIT_OBJECT struct navitnavit
 
struct traffic_shared_privshared
 
struct traffic_privpriv
 
struct traffic_methods meth
 
struct callbackcallback
 
struct event_timeouttimeout
 
struct callbackidle_cb
 
struct event_idleidle_ev
 

Detailed Description

A traffic plugin instance.

If multiple traffic plugins are loaded, each will have its own struct traffic instance.

Field Documentation

◆ callback

struct callback* traffic::callback

The callback function for the idle loop

Referenced by traffic_new().

◆ idle_cb

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().

◆ idle_ev

struct event_idle* traffic::idle_ev

◆ meth

struct traffic_methods traffic::meth

Methods implemented by the plugin

Referenced by traffic_destroy(), traffic_loop(), and traffic_new().

◆ navit

NAVIT_OBJECT struct navit* traffic::navit

The navit instance

Referenced by traffic_new(), traffic_process_messages_int(), and traffic_set_shared().

◆ priv

struct traffic_priv* traffic::priv

Private data used by the plugin

Referenced by traffic_destroy(), traffic_loop(), and traffic_new().

◆ shared

◆ timeout

struct event_timeout* traffic::timeout

The timeout event that triggers the loop function

Referenced by traffic_new().


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