Hi Christian,
Sorry, currently, there is no filter implementation for the C++ client. I think is not so difficult to add it, though.
For that, one should take a look at what is done in the corresponding methods of the python client (in tools/traci/_connection.py and tools/traci/_vehicle.py
– look for subscriptionFilter) and port it to the TraCIAPI::VehicleScope.
Best,
Leo
Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx]
Im Auftrag von christian.damdjowabo@xxxxxx
Gesendet: Mittwoch, 23. Januar 2019 12:22
An: sumo-user@xxxxxxxxxxx
Betreff: [sumo-user] Filter Member miss in the class TraCIScopeWrapper in c++
Hello Jakob,
it seem that is at the moment not possible to use the Filter functionalities via TRACI-Cpp. The Class
TraCIAPI::TraCIScopeWrapper
don’t have filter-members.
Please can you also give me an hint how these Filter have to be use in C++…. I think, it would be different as Python . Here it’s just the syntax inside Python (http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python#Context_Subscription_Filters).
Thank you very much for your help
Br
Christian