![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <Junction.h>
Static Public Member Functions | |
| static void | cleanup () |
| static libsumo::TraCIPosition | getPosition (const std::string &junctionID, bool includeZ=false) |
| static libsumo::TraCIPositionVector | getShape (const std::string &junctionID) |
| static NamedRTree * | getTree () |
| Returns a tree filled with junction instances. More... | |
| static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData) |
| static std::shared_ptr< VariableWrapper > | makeWrapper () |
| LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void | storeShape (const std::string &id, PositionVector &shape) |
| Saves the shape of the requested object in the given container. More... | |
Private Member Functions | |
| Junction ()=delete | |
| invalidated standard constructor More... | |
Static Private Member Functions | |
| static MSJunction * | getJunction (const std::string &id) |
Static Private Attributes | |
| static ContextSubscriptionResults | myContextSubscriptionResults |
| static SubscriptionResults | mySubscriptionResults |
| static NamedRTree * | myTree |
Definition at line 45 of file Junction.h.
|
privatedelete |
invalidated standard constructor
|
static |
Definition at line 116 of file libsumo/Junction.cpp.
|
staticprivate |
Definition at line 74 of file libsumo/Junction.cpp.
References NamedObjectCont< T >::get(), MSNet::getInstance(), and MSNet::getJunctionControl().
|
static |
Definition at line 62 of file libsumo/Junction.cpp.
References libsumo::Helper::makeTraCIPosition().
|
static |
Definition at line 68 of file libsumo/Junction.cpp.
References libsumo::Helper::makeTraCIPositionVector().
|
static |
Returns a tree filled with junction instances.
Definition at line 102 of file libsumo/Junction.cpp.
References PositionVector::getBoxBoundary(), MSNet::getInstance(), Boundary::getShape(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
|
static |
Definition at line 134 of file libsumo/Junction.cpp.
References libsumo::ID_COUNT, tcpip::Storage::readString(), tcpip::Storage::readUnsignedByte(), libsumo::TRACI_ID_LIST, libsumo::VAR_PARAMETER, libsumo::VAR_PARAMETER_WITH_KEY, libsumo::VAR_POSITION, libsumo::VAR_POSITION3D, and libsumo::VAR_SHAPE.
|
static |
Definition at line 128 of file libsumo/Junction.cpp.
|
static |
Saves the shape of the requested object in the given container.
| id | The id of the poi to retrieve |
| shape | The container to fill |
Definition at line 122 of file libsumo/Junction.cpp.
|
staticprivate |
Definition at line 76 of file Junction.h.
|
staticprivate |
Definition at line 75 of file Junction.h.
|
staticprivate |
Definition at line 77 of file Junction.h.