Eclipse 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-2019 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials
5
// are made available under the terms of the Eclipse Public License v2.0
6
// which accompanies this distribution, and is available at
7
// http://www.eclipse.org/legal/epl-v20.html
8
// SPDX-License-Identifier: EPL-2.0
9
/****************************************************************************/
15
// The base abstract class for SOTL sensors
16
/****************************************************************************/
17
#include "
MSSOTLSensors.h
"
18
19
MSSOTLSensors::MSSOTLSensors
(std::string tlLogicID,
const
MSTrafficLightLogic::Phases
* phases) {
20
this->tlLogicID =
tlLogicID
;
21
this->
myPhases
= phases;
22
}
23
24
//MSSOTLSensors does not handle directly any data structure
25
MSSOTLSensors::~MSSOTLSensors
() {}
26
27
28
/****************************************************************************/
MSSOTLSensors::myPhases
const MSTrafficLightLogic::Phases * myPhases
Definition:
MSSOTLSensors.h:35
MSSOTLSensors::~MSSOTLSensors
virtual ~MSSOTLSensors()
Definition:
MSSOTLSensors.cpp:25
MSTrafficLightLogic::Phases
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
Definition:
MSTrafficLightLogic.h:62
MSSOTLSensors::MSSOTLSensors
MSSOTLSensors(std::string tlLogicID, const MSTrafficLightLogic::Phases *phases)
Definition:
MSSOTLSensors.cpp:19
MSSOTLSensors::tlLogicID
std::string tlLogicID
Definition:
MSSOTLSensors.h:36
MSSOTLSensors.h
src
microsim
traffic_lights
MSSOTLSensors.cpp
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.13