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

#include <OverheadWire.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 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

 OverheadWire ()=delete
 invalidated standard constructor

Static Private Member Functions

static MSStoppingPlacegetOverheadWire (const std::string &id)

Static Private Attributes

static ContextSubscriptionResults myContextSubscriptionResults
static SubscriptionResults mySubscriptionResults

Detailed Description

Definition at line 41 of file OverheadWire.h.

Constructor & Destructor Documentation

◆ OverheadWire()

LIBSUMO_NAMESPACE::OverheadWire::OverheadWire ( )
privatedelete

invalidated standard constructor

Member Function Documentation

◆ getEndPos()

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

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

References getEndPos(), and getOverheadWire().

Referenced by getEndPos(), and handleVariable().

Here is the caller graph for this function:

◆ getLaneID()

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

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

References getLaneID(), and getOverheadWire().

Referenced by getLaneID(), and handleVariable().

Here is the caller graph for this function:

◆ getName()

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

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

References getName(), and getOverheadWire().

Referenced by getName(), and handleVariable().

Here is the caller graph for this function:

◆ getOverheadWire()

MSStoppingPlace * OverheadWire::getOverheadWire ( const std::string & id)
staticprivate

Definition at line 116 of file libsumo/OverheadWire.cpp.

References MSNet::getInstance(), getOverheadWire(), MSNet::getStoppingPlace(), and SUMO_TAG_OVERHEAD_WIRE_SEGMENT.

Referenced by getEndPos(), getLaneID(), getName(), getOverheadWire(), getStartPos(), getVehicleCount(), and getVehicleIDs().

Here is the caller graph for this function:

◆ getStartPos()

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

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

References getOverheadWire(), and getStartPos().

Referenced by getStartPos(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleCount()

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

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

References MSOverheadWire::getChargingVehicles(), getOverheadWire(), and getVehicleCount().

Referenced by getVehicleCount(), and handleVariable().

Here is the caller graph for this function:

◆ getVehicleIDs()

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

Definition at line 86 of file libsumo/OverheadWire.cpp.

References MSOverheadWire::getChargingVehicles(), getOverheadWire(), and getVehicleIDs().

Referenced by getVehicleIDs(), and handleVariable().

Here is the caller graph for this function:

◆ handleVariable()

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

◆ makeWrapper()

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

Definition at line 126 of file libsumo/OverheadWire.cpp.

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

Referenced by makeWrapper().

Here is the caller graph for this function:

Field Documentation

◆ myContextSubscriptionResults

ContextSubscriptionResults OverheadWire::myContextSubscriptionResults
staticprivate

Definition at line 64 of file OverheadWire.h.

Referenced by makeWrapper().

◆ mySubscriptionResults

SubscriptionResults OverheadWire::mySubscriptionResults
staticprivate

Definition at line 63 of file OverheadWire.h.

Referenced by makeWrapper().


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