![]() |
SUMO - Simulation of Urban MObility
|
#include <Junction.h>
Static Public Member Functions | |
static int | getIDCount () |
static std::vector< std::string > | getIDList () |
static TraCIPosition | getPosition (const std::string &junctionID, const bool includeZ=false) |
static TraCIPositionVector | getShape (const std::string &junctionID) |
static LIBSUMO_SUBSCRIPTION_API NamedRTree * | getTree () |
Returns a tree filled with junction instances. More... | |
static bool | handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper) |
static std::shared_ptr< VariableWrapper > | makeWrapper () |
static 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 |
Definition at line 52 of file Junction.h.
|
privatedelete |
invalidated standard constructor
|
static |
|
static |
Definition at line 49 of file Junction.cpp.
References MSNet::getInstance(), MSNet::getJunctionControl(), and NamedObjectCont< T >::insertIDs().
Referenced by getIDCount(), and handleVariable().
|
staticprivate |
Definition at line 75 of file Junction.cpp.
References NamedObjectCont< T >::get(), MSNet::getInstance(), MSNet::getJunctionControl(), and LIBSUMO_SUBSCRIPTION_IMPLEMENTATION.
Referenced by getPosition(), getShape(), and storeShape().
|
static |
Definition at line 63 of file Junction.cpp.
References getJunction(), and libsumo::Helper::makeTraCIPosition().
Referenced by handleVariable(), and storeShape().
|
static |
Definition at line 69 of file Junction.cpp.
References getJunction(), and libsumo::Helper::makeTraCIPositionVector().
Referenced by TraCIServerAPI_Junction::processGet().
|
static |
Returns a tree filled with junction instances.
Definition at line 88 of file Junction.cpp.
References MSNet::getInstance(), NamedRTree::Insert(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
|
static |
Definition at line 113 of file Junction.cpp.
References getIDCount(), getIDList(), getPosition(), ID_COUNT, TRACI_ID_LIST, VAR_POSITION, libsumo::VariableWrapper::wrapInt(), libsumo::VariableWrapper::wrapPosition(), and libsumo::VariableWrapper::wrapStringList().
Referenced by makeWrapper(), and TraCIServerAPI_Junction::processGet().
|
static |
Definition at line 107 of file Junction.cpp.
References handleVariable(), myContextSubscriptionResults, and mySubscriptionResults.
|
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 101 of file Junction.cpp.
References getJunction(), and getPosition().
|
staticprivate |
Definition at line 81 of file Junction.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 80 of file Junction.h.
Referenced by makeWrapper().