navit  0.5.3-trunk
item_msg_priv Struct Reference

Message-specific map private data. More...

Data Fields

char * message_id
 
int speed
 
int delay
 
struct attr ** attrs
 

Detailed Description

Message-specific map private data.

This structure is needed to handle segments referenced by multiple messages. When a message changes, is cancelled or expires, the data of the remaining messages is used to determine the new attributes for the segment.

Field Documentation

◆ attrs

struct attr** item_msg_priv::attrs

Additional attributes to add to the segment

Referenced by tm_item_destroy().

◆ delay

int item_msg_priv::delay

Expected delay for this segment, in 1/10 s

Referenced by tm_item_add_message_data(), and tm_item_update_attrs().

◆ message_id

char* item_msg_priv::message_id

Message ID for the associated message

Referenced by tm_item_add_message_data(), tm_item_destroy(), and traffic_message_remove_item_data().

◆ speed

int item_msg_priv::speed

The expected speed in km/h (INT_MAX for unlimited, 0 indicates that the road is closed)

Referenced by tm_item_add_message_data(), and tm_item_update_attrs().


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