Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
StopOffset Class Reference

stop offset More...

#include <SUMOVehicleClass.h>

Public Member Functions

std::string getExceptions () const
 get exceptions (used in netedit)
double getOffset () const
 get offset
SVCPermissions getPermissions () const
 get permissions
bool isDefined () const
 check if stopOffset was defined
bool operator!= (StopOffset const &other) const
 comparator
bool operator== (StopOffset const &other) const
 comparator
void reset ()
 reset stopOffset
void setExceptions (const std::string permissions)
 set exceptions (used in netedit)
void setOffset (const double offset)
 set offset
void setPermissions (const SVCPermissions permissions)
 update permissions
 StopOffset ()
 constructor
 StopOffset (const SUMOSAXAttributes &attrs, bool &ok)
 constructor (parser)

Private Attributes

double myOffset
 offset
SVCPermissions myPermissions
 permissions (allowed)

Detailed Description

stop offset

Definition at line 261 of file SUMOVehicleClass.h.

Constructor & Destructor Documentation

◆ StopOffset() [1/2]

StopOffset::StopOffset ( )

constructor

Definition at line 192 of file SUMOVehicleClass.cpp.

References myOffset, myPermissions, and SVCAll.

Referenced by operator!=(), and operator==().

Here is the caller graph for this function:

◆ StopOffset() [2/2]

StopOffset::StopOffset ( const SUMOSAXAttributes & attrs,
bool & ok )

Member Function Documentation

◆ getExceptions()

std::string StopOffset::getExceptions ( ) const

get exceptions (used in netedit)

Definition at line 247 of file SUMOVehicleClass.cpp.

References getVehicleClassNames(), and myPermissions.

Referenced by GNELane::getAttribute().

Here is the caller graph for this function:

◆ getOffset()

double StopOffset::getOffset ( ) const

get offset

Definition at line 253 of file SUMOVehicleClass.cpp.

References myOffset.

Referenced by GNELane::getAttribute(), NIXMLEdgesHandler::myStartElement(), NBEdge::setEdgeStopOffset(), and NWWriter_SUMO::writeStopOffsets().

Here is the caller graph for this function:

◆ getPermissions()

SVCPermissions StopOffset::getPermissions ( ) const

get permissions

Definition at line 241 of file SUMOVehicleClass.cpp.

References myPermissions.

Referenced by NWWriter_SUMO::writeStopOffsets().

Here is the caller graph for this function:

◆ isDefined()

bool StopOffset::isDefined ( ) const

check if stopOffset was defined

Definition at line 228 of file SUMOVehicleClass.cpp.

References myOffset.

Referenced by NIImporter_SUMO::_loadNetwork(), GNELane::getAttribute(), NIXMLEdgesHandler::myEndElement(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeLane(), and NWWriter_SUMO::writeStopOffsets().

Here is the caller graph for this function:

◆ operator!=()

bool StopOffset::operator!= ( StopOffset const & other) const

comparator

Definition at line 284 of file SUMOVehicleClass.cpp.

References myOffset, myPermissions, and StopOffset().

◆ operator==()

bool StopOffset::operator== ( StopOffset const & other) const

comparator

Definition at line 277 of file SUMOVehicleClass.cpp.

References myOffset, myPermissions, and StopOffset().

◆ reset()

void StopOffset::reset ( )

reset stopOffset

Definition at line 234 of file SUMOVehicleClass.cpp.

References myOffset, myPermissions, and SVC_IGNORING.

◆ setExceptions()

void StopOffset::setExceptions ( const std::string permissions)

set exceptions (used in netedit)

Definition at line 265 of file SUMOVehicleClass.cpp.

References myPermissions, and parseVehicleClasses().

Referenced by GNELane::setAttribute().

Here is the caller graph for this function:

◆ setOffset()

void StopOffset::setOffset ( const double offset)

set offset

Definition at line 271 of file SUMOVehicleClass.cpp.

References myOffset.

Referenced by GNELane::setAttribute().

Here is the caller graph for this function:

◆ setPermissions()

void StopOffset::setPermissions ( const SVCPermissions permissions)

update permissions

Definition at line 259 of file SUMOVehicleClass.cpp.

References myPermissions.

Field Documentation

◆ myOffset

double StopOffset::myOffset
private

◆ myPermissions

SVCPermissions StopOffset::myPermissions
private

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