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

#include <ParkingArea.h>

Static Public Member Functions

static std::vector< std::string > getAcceptedBadges (const std::string &stopID)
static double getEndPos (const std::string &stopID)
static std::string getLaneID (const std::string &stopID)
static std::string getName (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)
static std::shared_ptr< VariableWrapper > makeWrapper ()
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void setAcceptedBadges (const std::string &stopID, const std::vector< std::string > &badges)

Private Member Functions

 ParkingArea ()=delete
 invalidated standard constructor

Static Private Member Functions

static MSStoppingPlacegetParkingArea (const std::string &id)

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
static SubscriptionResults mySubscriptionResults

Detailed Description

Definition at line 41 of file ParkingArea.h.

Constructor & Destructor Documentation

◆ ParkingArea()

LIBSUMO_NAMESPACE::ParkingArea::ParkingArea ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ getAcceptedBadges()

std::vector< std::string > ParkingArea::getAcceptedBadges ( const std::string & stopID)
static

Definition at line 94 of file libsumo/ParkingArea.cpp.

References getAcceptedBadges(), and getParkingArea().

Referenced by getAcceptedBadges(), and handleVariable().

Here is the caller graph for this function:

◆ getEndPos()

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

Definition at line 70 of file libsumo/ParkingArea.cpp.

References getEndPos(), and getParkingArea().

Referenced by getEndPos(), and handleVariable().

Here is the caller graph for this function:

◆ getLaneID()

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

Definition at line 60 of file libsumo/ParkingArea.cpp.

References getLaneID(), and getParkingArea().

Referenced by getLaneID(), and handleVariable().

Here is the caller graph for this function:

◆ getName()

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

Definition at line 75 of file libsumo/ParkingArea.cpp.

References getName(), and getParkingArea().

Referenced by getName(), and handleVariable().

Here is the caller graph for this function:

◆ getParkingArea()

MSStoppingPlace * ParkingArea::getParkingArea ( const std::string & id)
staticprivate

Definition at line 124 of file libsumo/ParkingArea.cpp.

References getParkingArea(), libsumo::Helper::getStoppingPlace(), and SUMO_TAG_PARKING_AREA.

Referenced by getAcceptedBadges(), getEndPos(), getLaneID(), getName(), getParkingArea(), getStartPos(), getVehicleCount(), getVehicleIDs(), and setAcceptedBadges().

Here is the caller graph for this function:

◆ getStartPos()

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

Definition at line 65 of file libsumo/ParkingArea.cpp.

References getParkingArea(), and getStartPos().

Referenced by getStartPos(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleCount()

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

Definition at line 80 of file libsumo/ParkingArea.cpp.

References getParkingArea(), and getVehicleCount().

Referenced by getVehicleCount(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleIDs()

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

Definition at line 85 of file libsumo/ParkingArea.cpp.

References getParkingArea(), and getVehicleIDs().

Referenced by getVehicleIDs(), and handleVariable().

Here is the caller graph for this function:

◆ handleVariable()

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

◆ makeWrapper()

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

Definition at line 130 of file libsumo/ParkingArea.cpp.

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

Referenced by makeWrapper().

Here is the caller graph for this function:

◆ setAcceptedBadges()

void ParkingArea::setAcceptedBadges ( const std::string & stopID,
const std::vector< std::string > & badges )
static

Definition at line 100 of file libsumo/ParkingArea.cpp.

References getParkingArea(), and setAcceptedBadges().

Referenced by setAcceptedBadges().

Here is the caller graph for this function:

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults ParkingArea::myContextSubscriptionResults
staticprivate

Definition at line 67 of file ParkingArea.h.

Referenced by makeWrapper().

◆ mySubscriptionResults

SubscriptionResults ParkingArea::mySubscriptionResults
staticprivate

Definition at line 66 of file ParkingArea.h.

Referenced by makeWrapper().


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