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
27
MSSOTLSensors::~MSSOTLSensors
() {}
28
29
30
/****************************************************************************/
MSSOTLSensors::myPhases
const MSTrafficLightLogic::Phases * myPhases
Definition:
MSSOTLSensors.h:41
MSSOTLSensors::~MSSOTLSensors
virtual ~MSSOTLSensors()
Definition:
MSSOTLSensors.cpp:27
MSTrafficLightLogic::Phases
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
Definition:
MSTrafficLightLogic.h:68
MSSOTLSensors::MSSOTLSensors
MSSOTLSensors(std::string tlLogicID, const MSTrafficLightLogic::Phases *phases)
Definition:
MSSOTLSensors.cpp:21
MSSOTLSensors::tlLogicID
std::string tlLogicID
Definition:
MSSOTLSensors.h:42
MSSOTLSensors.h
src
microsim
traffic_lights
MSSOTLSensors.cpp
Generated on Fri Jun 29 2018 13:14:36 for SUMO - Simulation of Urban MObility by
1.8.13