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
 
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
 

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

GNENetmyNet = nullptr
 pointer to net
 
std::map< SumoXMLTag, GNEAttributeCarrier * > myTemplates
 map with templates
 

Detailed Description

modul for AC Templates

Definition at line 886 of file GNENetHelper.h.

Constructor & Destructor Documentation

◆ ACTemplate() [1/3]

GNENetHelper::ACTemplate::ACTemplate ( GNENet net)

constructor

Definition at line 2941 of file GNENetHelper.cpp.

◆ ~ACTemplate()

GNENetHelper::ACTemplate::~ACTemplate ( )

destructor

Definition at line 3076 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 2947 of file GNENetHelper.cpp.

References GNEBusStop::buildBusStop(), GNEBusStop::buildTrainStop(), GNETagProperties::CONTAINER, GNE_TAG_CALIBRATOR_FLOW, GNE_TAG_CALIBRATOR_LANE, 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_ROUTEREF, GNE_TAG_VSS_SYMBOL, GNE_TAG_VTYPEREF, GNETagProperties::PERSON, GNETagProperties::PERSONTRIP, GNETagProperties::RIDE, GNETagProperties::ROUTE, 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_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, 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_DISTRIBUTION, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, SUMO_TAG_VTYPE_DISTRIBUTION, GNETagProperties::TRANSHIP, GNETagProperties::TRANSPORT, GNETagProperties::VEHICLE, GNETagProperties::VTYPE, and GNETagProperties::WALK.

Referenced by GNENet::GNENet().

Here is the caller graph for this function:

◆ getACTemplates()

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

get all AC templates

Definition at line 3084 of file GNENetHelper.cpp.

◆ getTemplateAC() [1/2]

GNEAttributeCarrier * GNENetHelper::ACTemplate::getTemplateAC ( const std::string &  selectorText) const

get template AC by text (using selector text

Definition at line 3100 of file GNENetHelper.cpp.

◆ getTemplateAC() [2/2]

GNEAttributeCarrier * GNENetHelper::ACTemplate::getTemplateAC ( const SumoXMLTag  tag) const

get template AC by tag

Definition at line 3090 of file GNENetHelper.cpp.

Referenced by GNETagSelector::onCmdSelectTag(), GNETagSelector::setCurrentTag(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), and GNERouteHandler::transformToRouteFlow().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

Field Documentation

◆ myNet

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

pointer to net

Definition at line 909 of file GNENetHelper.h.

◆ myTemplates

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

map with templates

Definition at line 912 of file GNENetHelper.h.


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