![]() |
Eclipse SUMO - Simulation of Urban MObility
|
modul for AC Templates More...
#include <GNENetHelper.h>
Public Member Functions | |
| ACTemplate (GNENet *net) | |
| constructor | |
| void | buildTemplates () |
| build templates | |
| std::map< SumoXMLTag, GNEAttributeCarrier * > | getACTemplates () const |
| get all AC templates | |
| GNEEdgeType * | getDefaultEdgeType () const |
| get default edge type | |
| const std::vector< std::pair< GNETagProperties *, GNEDemandElement * > > & | getPlanTemplates (SumoXMLTag tag) const |
| get plan templates | |
| GNEAttributeCarrier * | getTemplateAC (const std::string &selectorText) const |
| get template AC by text (using selector text | |
| GNEAttributeCarrier * | getTemplateAC (const SumoXMLTag tag) const |
| get template AC by tag | |
| ~ACTemplate () | |
| destructor | |
Protected Member Functions | |
| void | fillPlanTemplates () |
| fill plan templates | |
Private Member Functions | |
| ACTemplate ()=delete | |
| Invalidated default constructor. | |
| ACTemplate (const ACTemplate &)=delete | |
| Invalidated copy constructor. | |
| ACTemplate & | operator= (const ACTemplate &src)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| GNEEdgeType * | myEdgeType = nullptr |
| edge type | |
| GNENet * | myNet = nullptr |
| pointer to net | |
| std::map< SumoXMLTag, std::vector< std::pair< GNETagProperties *, GNEDemandElement * > > > | myPlanTemplates |
| list with demand templates | |
| std::map< SumoXMLTag, GNEAttributeCarrier * > | myTemplates |
| map with templates | |
modul for AC Templates
Definition at line 891 of file GNENetHelper.h.
| GNENetHelper::ACTemplate::ACTemplate | ( | GNENet * | net | ) |
constructor
Definition at line 2993 of file GNENetHelper.cpp.
| GNENetHelper::ACTemplate::~ACTemplate | ( | ) |
destructor
Definition at line 3134 of file GNENetHelper.cpp.
|
privatedelete |
Invalidated default constructor.
|
privatedelete |
Invalidated copy constructor.
| void GNENetHelper::ACTemplate::buildTemplates | ( | ) |
build templates
Definition at line 2999 of file GNENetHelper.cpp.
References GNEBusStop::buildBusStop(), GNEBusStop::buildTrainStop(), GNETagProperties::CONTAINER, GNE_TAG_CALIBRATOR_FLOW, GNE_TAG_CALIBRATOR_LANE, GNE_TAG_EDGEREL_SINGLE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNE_TAG_POIGEO, GNE_TAG_POILANE, GNE_TAG_REROUTER_SYMBOL, GNE_TAG_ROUTE_EMBEDDED, GNE_TAG_ROUTEREF, GNE_TAG_VSS_SYMBOL, GNE_TAG_VTYPEREF, GNETagProperties::PERSON, GNETagProperties::PERSONTRIP, GNETagProperties::RIDE, GNETagProperties::STOP_CONTAINER, GNETagProperties::STOP_PERSON, GNETagProperties::STOP_VEHICLE, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_CROSSING, SUMO_TAG_DATASET, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_EDGEREL, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_PARKING_SPACE, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_TAZ, SUMO_TAG_TAZREL, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_TYPE, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, GNETagProperties::TRANSHIP, GNETagProperties::TRANSPORT, GNETagProperties::VEHICLE, and GNETagProperties::WALK.
Referenced by GNENet::GNENet().
|
protected |
fill plan templates
Definition at line 3181 of file GNENetHelper.cpp.
References FileBucket::ADDITIONAL, GNETagProperties::BUSSTOP, GNETagProperties::CHARGINGSTATION, GNETagProperties::CONSECUTIVE_EDGES, GNETagProperties::CONTAINERPLAN, GNETagProperties::CONTAINERSTOP, FileBucket::DEMAND, GNETagProperties::EDGE, EMPTY, GNETagProperties::FROM_BUSSTOP, GNETagProperties::FROM_CHARGINGSTATION, GNETagProperties::FROM_CONTAINERSTOP, GNETagProperties::FROM_EDGE, GNETagProperties::FROM_JUNCTION, GNETagProperties::FROM_PARKINGAREA, GNETagProperties::FROM_TAZ, GNETagProperties::FROM_TRAINSTOP, GLO_CONTAINER_STOP, GLO_PERSONTRIP, GLO_RIDE, GLO_STOP, GLO_TRANSHIP, GLO_TRANSPORT, GLO_WALK, GNE_TAG_CONTAINERSTOPS, GNE_TAG_PERSONSTOPS, GNE_TAG_PERSONTRIP_EDGE_EDGE, GNE_TAG_RIDE_EDGE_EDGE, GNE_TAG_STOPCONTAINER_EDGE, GNE_TAG_STOPPERSON_EDGE, GNE_TAG_TRANSHIP_EDGE_EDGE, GNE_TAG_TRANSHIP_EDGES, GNE_TAG_TRANSPORT_EDGE_EDGE, GNE_TAG_WALK_EDGE_EDGE, GNE_TAG_WALK_EDGES, GNE_TAG_WALK_ROUTE, GNETagProperties::NO_CONFLICTS, GNETagProperties::NO_PROPERTY, GNETagProperties::PARKINGAREA, GNETagProperties::PERSONPLAN, GNETagProperties::ROUTE, SUMO_TAG_CONTAINER, SUMO_TAG_PERSON, SUMO_TAG_PERSONTRIP, SUMO_TAG_RIDE, SUMO_TAG_STOP, SUMO_TAG_TRANSHIP, SUMO_TAG_TRANSPORT, SUMO_TAG_WALK, GNETagProperties::TO_BUSSTOP, GNETagProperties::TO_CHARGINGSTATION, GNETagProperties::TO_CONTAINERSTOP, GNETagProperties::TO_EDGE, GNETagProperties::TO_JUNCTION, GNETagProperties::TO_PARKINGAREA, GNETagProperties::TO_TAZ, GNETagProperties::TO_TRAINSTOP, and GNETagProperties::TRAINSTOP.
| std::map< SumoXMLTag, GNEAttributeCarrier * > GNENetHelper::ACTemplate::getACTemplates | ( | ) | const |
get all AC templates
Definition at line 3142 of file GNENetHelper.cpp.
| GNEEdgeType * GNENetHelper::ACTemplate::getDefaultEdgeType | ( | ) | const |
get default edge type
Definition at line 3169 of file GNENetHelper.cpp.
Referenced by GNECreateEdgeFrame::EdgeTypeSelector::getEdgeTypeSelected(), and GNECreateEdgeFrame::processClick().
| const std::vector< std::pair< GNETagProperties *, GNEDemandElement * > > & GNENetHelper::ACTemplate::getPlanTemplates | ( | SumoXMLTag | tag | ) | const |
get plan templates
Definition at line 3175 of file GNENetHelper.cpp.
Referenced by GNEPlanSelector::onCmdSelectPlan().
| GNEAttributeCarrier * GNENetHelper::ACTemplate::getTemplateAC | ( | const std::string & | selectorText | ) | const |
get template AC by text (using selector text
Definition at line 3158 of file GNENetHelper.cpp.
| GNEAttributeCarrier * GNENetHelper::ACTemplate::getTemplateAC | ( | const SumoXMLTag | tag | ) | const |
get template AC by tag
Definition at line 3148 of file GNENetHelper.cpp.
Referenced by GNEAdditionalFrame::addAdditional(), GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEWireFrame::buildWireOverView(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNETagSelector::onCmdSelectTag(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNETagSelector::setCurrentTag(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), and GNERouteHandler::transformToRouteFlow().
|
privatedelete |
Invalidated assignment operator.
|
private |
edge type
Definition at line 933 of file GNENetHelper.h.
|
private |
pointer to net
Definition at line 924 of file GNENetHelper.h.
|
private |
list with demand templates
Definition at line 930 of file GNENetHelper.h.
|
private |
map with templates
Definition at line 927 of file GNENetHelper.h.