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 260 of file SUMOVehicleClass.h.

Constructor & Destructor Documentation

◆ StopOffset() [1/2]

StopOffset::StopOffset ( )

constructor

Definition at line 192 of file SUMOVehicleClass.cpp.

◆ 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 GNEEdge::getAttribute(), and 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 GUILane::drawLinkRules(), GNEEdge::getAttribute(), GNELane::getAttribute(), MSLane::getVehicleStopOffset(), GNEEdge::isAttributeEnabled(), GNELane::isAttributeEnabled(), 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 GNEEdge::drawLaneStopOffset(), GUILane::drawLinkRules(), MSLane::getVehicleStopOffset(), and NWWriter_SUMO::writeStopOffsets().

Here is the caller graph for this function:

◆ isDefined()

◆ operator!=()

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

comparator

Definition at line 284 of file SUMOVehicleClass.cpp.

References myOffset, and myPermissions.

◆ operator==()

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

comparator

Definition at line 277 of file SUMOVehicleClass.cpp.

References myOffset, and myPermissions.

◆ reset()

void StopOffset::reset ( )

reset stopOffset

Definition at line 234 of file SUMOVehicleClass.cpp.

References myOffset, myPermissions, and SVC_IGNORING.

Referenced by NLEdgeControlBuilder::closeEdge().

Here is the caller graph for this function:

◆ setExceptions()

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

set exceptions (used in netedit)

Definition at line 265 of file SUMOVehicleClass.cpp.

References myPermissions.

Referenced by GNEEdge::setAttribute(), and 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 GNEEdge::setAttribute(), and 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

offset

Definition at line 304 of file SUMOVehicleClass.h.

Referenced by getOffset(), isDefined(), operator!=(), operator==(), reset(), setOffset(), and StopOffset().

◆ myPermissions

SVCPermissions StopOffset::myPermissions
private

permissions (allowed)

Definition at line 301 of file SUMOVehicleClass.h.

Referenced by getExceptions(), getPermissions(), operator!=(), operator==(), reset(), setExceptions(), setPermissions(), and StopOffset().


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