Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNENetHelper::ACTemplate Class Reference

modul for AC Templates More...

#include <GNENetHelper.h>

Collaboration diagram for GNENetHelper::ACTemplate:
[legend]

Public Member Functions

 ACTemplate (GNENet *net)
 constructor
 
void buildTemplates ()
 build templates
 
std::map< SumoXMLTag, GNEAttributeCarrier * > getACTemplates () const
 get all AC templates
 
GNEEdgeTypegetDefaultEdgeType () const
 get default edge type
 
const std::vector< std::pair< GNETagProperties *, GNEDemandElement * > > & getPlanTemplates (SumoXMLTag tag) const
 get plan templates
 
GNEAttributeCarriergetTemplateAC (const std::string &selectorText) const
 get template AC by text (using selector text
 
GNEAttributeCarriergetTemplateAC (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.
 
ACTemplateoperator= (const ACTemplate &src)=delete
 Invalidated assignment operator.
 

Private Attributes

GNEEdgeTypemyEdgeType = nullptr
 edge type
 
GNENetmyNet = 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
 

Detailed Description

modul for AC Templates

Definition at line 891 of file GNENetHelper.h.

Constructor & Destructor Documentation

◆ ACTemplate() [1/3]

GNENetHelper::ACTemplate::ACTemplate ( GNENet net)

constructor

Definition at line 2993 of file GNENetHelper.cpp.

◆ ~ACTemplate()

GNENetHelper::ACTemplate::~ACTemplate ( )

destructor

Definition at line 3134 of file GNENetHelper.cpp.

◆ ACTemplate() [2/3]

GNENetHelper::ACTemplate::ACTemplate ( )
privatedelete

Invalidated default constructor.

◆ ACTemplate() [3/3]

GNENetHelper::ACTemplate::ACTemplate ( const ACTemplate )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildTemplates()

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().

Here is the caller graph for this function:

◆ fillPlanTemplates()

void GNENetHelper::ACTemplate::fillPlanTemplates ( )
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.

◆ getACTemplates()

std::map< SumoXMLTag, GNEAttributeCarrier * > GNENetHelper::ACTemplate::getACTemplates ( ) const

get all AC templates

Definition at line 3142 of file GNENetHelper.cpp.

◆ getDefaultEdgeType()

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().

Here is the caller graph for this function:

◆ getPlanTemplates()

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().

Here is the caller graph for this function:

◆ getTemplateAC() [1/2]

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.

◆ getTemplateAC() [2/2]

◆ operator=()

ACTemplate & GNENetHelper::ACTemplate::operator= ( const ACTemplate src)
privatedelete

Invalidated assignment operator.

Field Documentation

◆ myEdgeType

GNEEdgeType* GNENetHelper::ACTemplate::myEdgeType = nullptr
private

edge type

Definition at line 933 of file GNENetHelper.h.

◆ myNet

GNENet* GNENetHelper::ACTemplate::myNet = nullptr
private

pointer to net

Definition at line 924 of file GNENetHelper.h.

◆ myPlanTemplates

std::map<SumoXMLTag, std::vector<std::pair<GNETagProperties*, GNEDemandElement*> > > GNENetHelper::ACTemplate::myPlanTemplates
private

list with demand templates

Definition at line 930 of file GNENetHelper.h.

◆ myTemplates

std::map<SumoXMLTag, GNEAttributeCarrier*> GNENetHelper::ACTemplate::myTemplates
private

map with templates

Definition at line 927 of file GNENetHelper.h.


The documentation for this class was generated from the following files: