![]() |
sumo-integrator
0.4.0-alpha4+201812051700
sumo-integrator is a C++ static library that provides abstract integration tools geared towards connecting SUMO with a (any) graphic engine(s).
|
TraCIAPI client. More...
#include <include/sumo-integrator/core/Sumo.h>
Classes | |
class | Connection |
Exposes facilities related to the client-SUMO connection. More... | |
class | Ego |
Exposes facilities related to the ego entity. More... | |
class | Entities |
Exposes facilities related to SUMO's entities. More... | |
class | Simulation |
Exposes facilities related to SUMO's simulation. More... | |
Public Member Functions | |
Sumo () | |
Construct a new Sumo object. More... | |
~Sumo () | |
Destroy the Sumo object. | |
Public Attributes | |
std::unique_ptr< Connection > | connection |
Pointer to the Connection domain. More... | |
std::unique_ptr< Ego > | ego |
Pointer to the Ego domain. More... | |
std::unique_ptr< Entities > | entities |
Pointer to the Entities domain. More... | |
std::unique_ptr< Simulation > | simulation |
Pointer to the Simulation domain. More... | |
TraCIAPI client.
The client side of SUMO's client-server model, this class provides high-level interaction through SUMO's own C++ TraCIAPI library. TraCIAPI methods are wrapped into an organic and consistent interface, based on requirements specific to graphics-engine integration.
Functionality is divided in functionality domains, accessible as pointers to nested classes; each scope groups a specific set of functionality of the client interaction with SUMO:
TraCIAPI
objects and methods are not accessible through this class: the corresponding wrapping facilities must be called instead. The following are exceptions:TraCIAPI::vehicle
Inherits TraCIAPI.
sumointegrator::Sumo::Sumo | ( | ) |
Construct a new Sumo
object.
Multiple instances may exist at the same time: each acts as a separate client connected to SUMO's server instance.
std::unique_ptr<Connection> sumointegrator::Sumo::connection |
Pointer to the Connection
domain.
std::unique_ptr<Ego> sumointegrator::Sumo::ego |
std::unique_ptr<Entities> sumointegrator::Sumo::entities |
std::unique_ptr<Simulation> sumointegrator::Sumo::simulation |
Pointer to the Simulation
domain.