SUMO - Simulation of Urban MObility
TraCIAPI::MeMeScope Class Reference

Scope for interaction with multi entry/-exit detectors. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::MeMeScope:
Inheritance graph
Collaboration diagram for TraCIAPI::MeMeScope:
Collaboration graph

Public Member Functions

std::vector< std::string > getIDList () const
 
int getLastStepHaltingNumber (const std::string &detID) const
 
double getLastStepMeanSpeed (const std::string &detID) const
 
std::vector< std::string > getLastStepVehicleIDs (const std::string &detID) const
 
int getLastStepVehicleNumber (const std::string &detID) const
 
 MeMeScope (TraCIAPI &parent)
 
virtual ~MeMeScope ()
 

Protected Attributes

TraCIAPImyParent
 The parent TraCI client which offers the connection. More...
 

Private Member Functions

 MeMeScope (const MeMeScope &src)
 invalidated copy constructor More...
 
MeMeScopeoperator= (const MeMeScope &src)
 invalidated assignment operator More...
 

Detailed Description

Scope for interaction with multi entry/-exit detectors.

Definition at line 355 of file TraCIAPI.h.

Constructor & Destructor Documentation

◆ MeMeScope() [1/2]

TraCIAPI::MeMeScope::MeMeScope ( TraCIAPI parent)
inline

Definition at line 357 of file TraCIAPI.h.

◆ ~MeMeScope()

virtual TraCIAPI::MeMeScope::~MeMeScope ( )
inlinevirtual

Definition at line 358 of file TraCIAPI.h.

References TraCIAPI::TraCIScopeWrapper::operator=().

◆ MeMeScope() [2/2]

TraCIAPI::MeMeScope::MeMeScope ( const MeMeScope src)
private

invalidated copy constructor

Member Function Documentation

◆ getIDList()

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

Definition at line 1238 of file TraCIAPI.cpp.

References CMD_GET_MULTIENTRYEXIT_VARIABLE, and ID_LIST.

◆ getLastStepHaltingNumber()

int TraCIAPI::MeMeScope::getLastStepHaltingNumber ( const std::string &  detID) const

◆ getLastStepMeanSpeed()

double TraCIAPI::MeMeScope::getLastStepMeanSpeed ( const std::string &  detID) const

Definition at line 1248 of file TraCIAPI.cpp.

References CMD_GET_MULTIENTRYEXIT_VARIABLE, and LAST_STEP_MEAN_SPEED.

◆ getLastStepVehicleIDs()

std::vector< std::string > TraCIAPI::MeMeScope::getLastStepVehicleIDs ( const std::string &  detID) const

Definition at line 1253 of file TraCIAPI.cpp.

References CMD_GET_MULTIENTRYEXIT_VARIABLE, and LAST_STEP_VEHICLE_ID_LIST.

◆ getLastStepVehicleNumber()

int TraCIAPI::MeMeScope::getLastStepVehicleNumber ( const std::string &  detID) const

Definition at line 1243 of file TraCIAPI.cpp.

References CMD_GET_MULTIENTRYEXIT_VARIABLE, and LAST_STEP_VEHICLE_NUMBER.

◆ operator=()

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

invalidated assignment operator

Field Documentation

◆ myParent

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 129 of file TraCIAPI.h.


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