![]() |
Eclipse 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 51 of file Junction.h.
|
privatedelete |
invalidated standard constructor
|
static |
|
static |
Definition at line 48 of file Junction.cpp.
References MSNet::getInstance(), MSNet::getJunctionControl(), and NamedObjectCont< T >::insertIDs().
Referenced by getIDCount(), and handleVariable().
|
staticprivate |
Definition at line 74 of file Junction.cpp.
References NamedObjectCont< T >::get(), MSNet::getInstance(), and MSNet::getJunctionControl().
Referenced by getPosition(), getShape(), and storeShape().
|
static |
Definition at line 62 of file Junction.cpp.
References getJunction(), and libsumo::Helper::makeTraCIPosition().
Referenced by handleVariable(), and storeShape().
|
static |
Definition at line 68 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 87 of file Junction.cpp.
References MSNet::getInstance(), NamedRTree::Insert(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by libsumo::Helper::collectObjectsInRange().
|
static |
Definition at line 112 of file Junction.cpp.
References getIDCount(), getIDList(), getPosition(), libsumo::ID_COUNT, libsumo::TRACI_ID_LIST, libsumo::VAR_POSITION, libsumo::VariableWrapper::wrapInt(), libsumo::VariableWrapper::wrapPosition(), and libsumo::VariableWrapper::wrapStringList().
Referenced by makeWrapper(), and TraCIServerAPI_Junction::processGet().
|
static |
Definition at line 106 of file Junction.cpp.
References handleVariable(), myContextSubscriptionResults, and mySubscriptionResults.
Referenced by libsumo::Helper::handleSingleSubscription().
|
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 100 of file Junction.cpp.
References getJunction(), and getPosition().
Referenced by libsumo::Helper::findObjectShape().
|
staticprivate |
Definition at line 80 of file Junction.h.
Referenced by makeWrapper().
|
staticprivate |
Definition at line 79 of file Junction.h.
Referenced by makeWrapper().