|
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).
|
Basic types (re)definitions and management. More...
Typedefs | |
| typedef libsumo::TraCIResult | Data |
| Generic data container. More... | |
| typedef libsumo::TraCIPosition | Position |
| A 3D position. More... | |
| typedef libsumo::TraCIResults | Datamap |
std::map of generic Data. | |
| typedef libsumo::SubscriptionResults | Datamaps |
std::map of Datamaps. | |
| typedef libsumo::TraCIException | RuntimeException |
| Generic runtime exception. | |
| typedef tcpip::SocketException | ConnectionException |
| Generic connection exception. | |
Functions | |
| int | cast_int (const std::shared_ptr< Data >) |
Cast to a standard int. More... | |
| double | cast_double (const std::shared_ptr< Data >) |
Cast to a standard double. More... | |
Basic types (re)definitions and management.
| typedef libsumo::TraCIResult sumointegrator::types::Data |
Generic data container.
May contain a number of different data types: use the provided functions to cast to built-in standard types for usage.
cast_int() cast_double() | typedef libsumo::TraCIPosition sumointegrator::types::Position |
A 3D position.
x, y, and z coordinates are saved as double and accessible directly.
| int sumointegrator::types::cast_int | ( | const std::shared_ptr< Data > | data | ) |
Cast to a standard int.
| [in] | data | An std::shared_ptr to some generic Data. |
int. | double sumointegrator::types::cast_double | ( | const std::shared_ptr< Data > | data | ) |
Cast to a standard double.
| [in] | data | An std::shared_ptr to some generic Data. |
double.