![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <Junction.h>
Static Public Member Functions | |
| static void | cleanup () |
| static const std::vector< std::string > | getIncomingEdges (const std::string &junctionID) |
| static const std::vector< std::string > | getOutgoingEdges (const std::string &junctionID) |
| 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. | |
| 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. | |
Private Member Functions | |
| Junction ()=delete | |
| invalidated standard constructor | |
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 137 of file libsumo/Junction.cpp.
References cleanup(), and myTree.
Referenced by cleanup().
|
static |
Definition at line 75 of file libsumo/Junction.cpp.
References getIncomingEdges(), and getJunction().
Referenced by getIncomingEdges(), and handleVariable().
|
staticprivate |
Definition at line 95 of file libsumo/Junction.cpp.
References NamedObjectCont< T >::get(), MSNet::getInstance(), getJunction(), and MSNet::getJunctionControl().
Referenced by getIncomingEdges(), getJunction(), getOutgoingEdges(), getPosition(), getShape(), and storeShape().
|
static |
Definition at line 85 of file libsumo/Junction.cpp.
References getJunction(), and getOutgoingEdges().
Referenced by getOutgoingEdges(), and handleVariable().
|
static |
Definition at line 63 of file libsumo/Junction.cpp.
References getJunction(), getPosition(), and libsumo::Helper::makeTraCIPosition().
Referenced by getPosition(), handleVariable(), and storeShape().
|
static |
Definition at line 69 of file libsumo/Junction.cpp.
References getJunction(), getShape(), and libsumo::Helper::makeTraCIPositionVector().
Referenced by getShape(), and handleVariable().
|
static |
Returns a tree filled with junction instances.
Definition at line 123 of file libsumo/Junction.cpp.
References MSNet::getInstance(), getTree(), and myTree.
Referenced by getTree().
|
static |
Definition at line 155 of file libsumo/Junction.cpp.
References getIncomingEdges(), getOutgoingEdges(), getPosition(), getShape(), handleVariable(), libsumo::ID_COUNT, libsumo::INCOMING_EDGES, libsumo::OUTGOING_EDGES, 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.
Referenced by handleVariable(), and makeWrapper().
|
static |
Definition at line 149 of file libsumo/Junction.cpp.
References handleVariable(), makeWrapper(), myContextSubscriptionResults, and mySubscriptionResults.
Referenced by makeWrapper().
|
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 143 of file libsumo/Junction.cpp.
References getJunction(), getPosition(), and storeShape().
Referenced by storeShape().
|
staticprivate |
Definition at line 78 of file Junction.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 77 of file Junction.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 79 of file Junction.h.