SUMO - Simulation of Urban MObility
MSSOTLSensors.cpp
Go to the documentation of this file.
1 /****************************************************************************/
7 // The base abstract class for SOTL sensors
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10 // Copyright (C) 2010-2017 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software: you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation, either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #include "MSSOTLSensors.h"
21 
22 MSSOTLSensors::MSSOTLSensors(std::string tlLogicID, const MSTrafficLightLogic::Phases* phases) {
23  this->tlLogicID = tlLogicID;
24  this->myPhases = phases;
25 }
26 
27 //MSSOTLSensors does not handle directly any data structure
29 
30 
31 /****************************************************************************/
const MSTrafficLightLogic::Phases * myPhases
Definition: MSSOTLSensors.h:42
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:43