egueli / TraCI4J

A high-level Java library to communicate with SUMO (Simulation of Urban MObility) through its TraCI protocol.
GNU General Public License v3.0
41 stars 27 forks source link

Definition of types Vehicle, Route, Lane... #24

Closed biurrun4 closed 8 years ago

biurrun4 commented 8 years ago

Hello,

I was checking out this library and after looking allover the different classes, I can't tell where the different SUMO objects are defined exactly. I mean, let's say we can have a repository of vehicles, Repository repo1. My question is, where is this "Vehicle" type defined?

So, what I am saying is, the library works perfectly, but I am just trying to understand its performance. Thanks in advance

egueli commented 8 years ago

Hi, The source code hosted on Git doesn't contain the SUMO object classes, because they are generated dynamically at build time. The code generation is based upon the XML files in src/xml/traciObjects.