Eclipse SUMO - Simulation of Urban MObility
MSJunctionControl.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-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
/****************************************************************************/
18
// Container for junctions; performs operations on all stored junctions
19
/****************************************************************************/
20
#ifndef MSJunctionControl_h
21
#define MSJunctionControl_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#include <
config.h
>
28
29
#include <vector>
30
#include <map>
31
#include <string>
32
33
#include <
utils/common/NamedObjectCont.h
>
34
#include <
utils/common/UtilExceptions.h
>
35
#include "
MSJunction.h
"
36
37
38
// ===========================================================================
39
// class definitions
40
// ===========================================================================
45
class
MSJunctionControl
:
public
NamedObjectCont
<MSJunction*> {
46
public
:
48
MSJunctionControl
();
49
50
52
~MSJunctionControl
();
53
54
61
void
postloadInitContainer
();
62
63
64
private
:
66
MSJunctionControl
(
const
MSJunctionControl
&);
67
69
MSJunctionControl
&
operator=
(
const
MSJunctionControl
&);
70
71
};
72
73
74
#endif
75
76
/****************************************************************************/
77
MSJunctionControl::~MSJunctionControl
~MSJunctionControl()
Destructor.
Definition:
MSJunctionControl.cpp:38
UtilExceptions.h
MSJunction.h
NamedObjectCont.h
config.h
NamedObjectCont
A map of named object pointers.
Definition:
NamedObjectCont.h:44
MSJunctionControl::MSJunctionControl
MSJunctionControl()
Constructor.
Definition:
MSJunctionControl.cpp:34
MSJunctionControl
Container for junctions; performs operations on all stored junctions.
Definition:
MSJunctionControl.h:45
MSJunctionControl::operator=
MSJunctionControl & operator=(const MSJunctionControl &)
Invalidated assignment operator.
MSJunctionControl::postloadInitContainer
void postloadInitContainer()
Closes building of junctions.
Definition:
MSJunctionControl.cpp:43
src
microsim
MSJunctionControl.h
Generated on Sat Nov 23 2019 19:02:54 for Eclipse SUMO - Simulation of Urban MObility by
1.8.13