Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
LIBSUMO_NAMESPACE::BusStop Class Reference

#include <BusStop.h>

Static Public Member Functions

static double getEndPos (const std::string &stopID)
static std::string getLaneID (const std::string &stopID)
static std::string getName (const std::string &stopID)
static int getPersonCount (const std::string &stopID)
static std::vector< std::string > getPersonIDs (const std::string &stopID)
static double getStartPos (const std::string &stopID)
static int getVehicleCount (const std::string &stopID)
static std::vector< std::string > getVehicleIDs (const std::string &stopID)
static bool handleVariable (const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API std::shared_ptr< VariableWrapper > makeWrapper ()

Private Member Functions

 BusStop ()=delete
 invalidated standard constructor

Static Private Member Functions

static MSStoppingPlacegetBusStop (const std::string &id)

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
static SubscriptionResults mySubscriptionResults

Detailed Description

Definition at line 41 of file BusStop.h.

Constructor & Destructor Documentation

◆ BusStop()

LIBSUMO_NAMESPACE::BusStop::BusStop ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ getBusStop()

MSStoppingPlace * BusStop::getBusStop ( const std::string & id)
staticprivate

Definition at line 122 of file libsumo/BusStop.cpp.

References getBusStop(), libsumo::Helper::getStoppingPlace(), and SUMO_TAG_BUS_STOP.

Referenced by getBusStop(), getEndPos(), getLaneID(), getName(), getPersonCount(), getPersonIDs(), getStartPos(), getVehicleCount(), and getVehicleIDs().

Here is the caller graph for this function:

◆ getEndPos()

double BusStop::getEndPos ( const std::string & stopID)
static

Definition at line 69 of file libsumo/BusStop.cpp.

References getBusStop(), and getEndPos().

Referenced by getEndPos(), and handleVariable().

Here is the caller graph for this function:

◆ getLaneID()

std::string BusStop::getLaneID ( const std::string & stopID)
static

Definition at line 59 of file libsumo/BusStop.cpp.

References getBusStop(), and getLaneID().

Referenced by getLaneID(), and handleVariable().

Here is the caller graph for this function:

◆ getName()

std::string BusStop::getName ( const std::string & stopID)
static

Definition at line 74 of file libsumo/BusStop.cpp.

References getBusStop(), and getName().

Referenced by getName(), and handleVariable().

Here is the caller graph for this function:

◆ getPersonCount()

int BusStop::getPersonCount ( const std::string & stopID)
static

Definition at line 93 of file libsumo/BusStop.cpp.

References getBusStop(), and getPersonCount().

Referenced by getPersonCount(), and handleVariable().

Here is the caller graph for this function:

◆ getPersonIDs()

std::vector< std::string > BusStop::getPersonIDs ( const std::string & stopID)
static

Definition at line 98 of file libsumo/BusStop.cpp.

References getBusStop(), and getPersonIDs().

Referenced by getPersonIDs(), and handleVariable().

Here is the caller graph for this function:

◆ getStartPos()

double BusStop::getStartPos ( const std::string & stopID)
static

Definition at line 64 of file libsumo/BusStop.cpp.

References getBusStop(), and getStartPos().

Referenced by getStartPos(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleCount()

int BusStop::getVehicleCount ( const std::string & stopID)
static

Definition at line 79 of file libsumo/BusStop.cpp.

References getBusStop(), and getVehicleCount().

Referenced by getVehicleCount(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleIDs()

std::vector< std::string > BusStop::getVehicleIDs ( const std::string & stopID)
static

Definition at line 84 of file libsumo/BusStop.cpp.

References getBusStop(), and getVehicleIDs().

Referenced by getVehicleIDs(), and handleVariable().

Here is the caller graph for this function:

◆ handleVariable()

bool BusStop::handleVariable ( const std::string & objID,
const int variable,
VariableWrapper * wrapper,
tcpip::Storage * paramData )
static

◆ makeWrapper()

std::shared_ptr< VariableWrapper > BusStop::makeWrapper ( )
static

Definition at line 128 of file libsumo/BusStop.cpp.

References handleVariable(), makeWrapper(), myContextSubscriptionResults, and mySubscriptionResults.

Referenced by makeWrapper().

Here is the caller graph for this function:

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults BusStop::myContextSubscriptionResults
staticprivate

Definition at line 67 of file BusStop.h.

Referenced by makeWrapper().

◆ mySubscriptionResults

SubscriptionResults BusStop::mySubscriptionResults
staticprivate

Definition at line 66 of file BusStop.h.

Referenced by makeWrapper().


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