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
/****************************************************************************/
14
// The base abstract class for SOTL sensors
15
/****************************************************************************/
16
#include "
MSSOTLSensors.h
"
17
18
MSSOTLSensors::MSSOTLSensors
(std::string tlLogicID,
const
MSTrafficLightLogic::Phases
* phases) {
19
this->tlLogicID =
tlLogicID
;
20
this->
myPhases
= phases;
21
}
22
23
//MSSOTLSensors does not handle directly any data structure
24
MSSOTLSensors::~MSSOTLSensors
() {}
25
26
27
/****************************************************************************/
MSSOTLSensors::myPhases
const MSTrafficLightLogic::Phases * myPhases
Definition:
MSSOTLSensors.h:34
MSTrafficLightLogic::Phases
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
Definition:
MSTrafficLightLogic.h:61
MSSOTLSensors.h
MSSOTLSensors::tlLogicID
std::string tlLogicID
Definition:
MSSOTLSensors.h:35
MSSOTLSensors::~MSSOTLSensors
virtual ~MSSOTLSensors()
Definition:
MSSOTLSensors.cpp:24
MSSOTLSensors::MSSOTLSensors
MSSOTLSensors(std::string tlLogicID, const MSTrafficLightLogic::Phases *phases)
Definition:
MSSOTLSensors.cpp:18
src
microsim
traffic_lights
MSSOTLSensors.cpp
Generated on Sun Jun 21 2020 23:18:41 for Eclipse SUMO - Simulation of Urban MObility by
1.8.17