SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraCIAPI::InductionLoopScope Class Reference

Scope for interaction with inductive loops. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::InductionLoopScope:
TraCIAPI::TraCIScopeWrapper

Public Member Functions

std::vector< std::string > getIDList () const
std::string getLaneID (const std::string &loopID) const
SUMOReal getLastStepMeanLength (const std::string &loopID) const
SUMOReal getLastStepMeanSpeed (const std::string &loopID) const
SUMOReal getLastStepOccupancy (const std::string &loopID) const
std::vector< std::string > getLastStepVehicleIDs (const std::string &loopID) const
unsigned int getLastStepVehicleNumber (const std::string &loopID) const
SUMOReal getPosition (const std::string &loopID) const
SUMOReal getTimeSinceDetection (const std::string &loopID) const
unsigned int getVehicleData (const std::string &loopID) const
 InductionLoopScope (TraCIAPI &parent)
virtual ~InductionLoopScope ()

Protected Attributes

TraCIAPImyParent
 The parent TraCI client which offers the connection.

Private Member Functions

 InductionLoopScope (const InductionLoopScope &src)
 invalidated copy constructor
InductionLoopScopeoperator= (const InductionLoopScope &src)
 invalidated assignment operator

Detailed Description

Scope for interaction with inductive loops.

Definition at line 284 of file TraCIAPI.h.

Constructor & Destructor Documentation

TraCIAPI::InductionLoopScope::InductionLoopScope ( TraCIAPI parent)
inline

Definition at line 286 of file TraCIAPI.h.

virtual TraCIAPI::InductionLoopScope::~InductionLoopScope ( )
inlinevirtual

Definition at line 287 of file TraCIAPI.h.

TraCIAPI::InductionLoopScope::InductionLoopScope ( const InductionLoopScope src)
private

invalidated copy constructor

Member Function Documentation

std::vector< std::string > TraCIAPI::InductionLoopScope::getIDList ( ) const

Definition at line 636 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and ID_LIST.

std::string TraCIAPI::InductionLoopScope::getLaneID ( const std::string &  loopID) const

Definition at line 646 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and VAR_LANE_ID.

SUMOReal TraCIAPI::InductionLoopScope::getLastStepMeanLength ( const std::string &  loopID) const

Definition at line 671 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and LAST_STEP_LENGTH.

SUMOReal TraCIAPI::InductionLoopScope::getLastStepMeanSpeed ( const std::string &  loopID) const

Definition at line 656 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and LAST_STEP_MEAN_SPEED.

SUMOReal TraCIAPI::InductionLoopScope::getLastStepOccupancy ( const std::string &  loopID) const

Definition at line 666 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and LAST_STEP_OCCUPANCY.

std::vector< std::string > TraCIAPI::InductionLoopScope::getLastStepVehicleIDs ( const std::string &  loopID) const

Definition at line 661 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and LAST_STEP_VEHICLE_ID_LIST.

unsigned int TraCIAPI::InductionLoopScope::getLastStepVehicleNumber ( const std::string &  loopID) const

Definition at line 651 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and LAST_STEP_VEHICLE_NUMBER.

SUMOReal TraCIAPI::InductionLoopScope::getPosition ( const std::string &  loopID) const

Definition at line 641 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and VAR_POSITION.

SUMOReal TraCIAPI::InductionLoopScope::getTimeSinceDetection ( const std::string &  loopID) const

Definition at line 676 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and LAST_STEP_TIME_SINCE_DETECTION.

unsigned int TraCIAPI::InductionLoopScope::getVehicleData ( const std::string &  loopID) const

Definition at line 681 of file TraCIAPI.cpp.

References CMD_GET_INDUCTIONLOOP_VARIABLE, and LAST_STEP_VEHICLE_DATA.

InductionLoopScope& TraCIAPI::InductionLoopScope::operator= ( const InductionLoopScope src)
private

invalidated assignment operator

Field Documentation

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 188 of file TraCIAPI.h.

Referenced by TraCIAPI::EdgeScope::getIDList().


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