SUMO - Simulation of Urban MObility
MSSOTLSensors.cpp
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2010-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
17 // The base abstract class for SOTL sensors
18 /****************************************************************************/
19 #include "MSSOTLSensors.h"
20 
21 MSSOTLSensors::MSSOTLSensors(std::string tlLogicID, const MSTrafficLightLogic::Phases* phases) {
22  this->tlLogicID = tlLogicID;
23  this->myPhases = phases;
24 }
25 
26 //MSSOTLSensors does not handle directly any data structure
28 
29 
30 /****************************************************************************/
const MSTrafficLightLogic::Phases * myPhases
Definition: MSSOTLSensors.h:41
virtual ~MSSOTLSensors()
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
MSSOTLSensors(std::string tlLogicID, const MSTrafficLightLogic::Phases *phases)
std::string tlLogicID
Definition: MSSOTLSensors.h:42