eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.5k stars 1.41k forks source link

implement automatic subscriptions (trac #2454) #2454

Open behrisch opened 8 years ago

behrisch commented 8 years ago

this automatically subscribes to all existing objects of the given domain

To discuss:

reserved constants: AUTOMATIC_VARIABLES_SUBSCRIPTION 0x02 AUTOMATIC_CONTEXT_SUBSCRIPTION 0x03

Migrated from http://sumo.dlr.de/ticket/2454

{
    "status": "new", 
    "changetime": "2016-06-21T13:13:11Z", 
    "description": "this automatically subscribes to all existing objects of the given domain\n\nTo discuss:\n* either call this every simulation step to also include the objects newly added in that step\n* call this only once and all new objects are added automatically\n\nreserved constants:\nAUTOMATIC_VARIABLES_SUBSCRIPTION 0x02\nAUTOMATIC_CONTEXT_SUBSCRIPTION 0x03", 
    "reporter": "namdre", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1466514791533377", 
    "component": "TraCI", 
    "summary": "implement automatic subscriptions", 
    "priority": "major", 
    "keywords": "", 
    "time": "2016-06-21T12:06:43Z", 
    "milestone": "1.0.0", 
    "owner": "behrisch", 
    "type": "enhancement"
}
behrisch commented 8 years ago

@namdre committed f54f75e (aka r21022): reserving constants refs #2344, refs #2454

namdre commented 6 years ago

repeatedly requested by users