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
/****************************************************************************/
17
// Container for junctions; performs operations on all stored junctions
18
/****************************************************************************/
19
#ifndef MSJunctionControl_h
20
#define MSJunctionControl_h
21
22
23
// ===========================================================================
24
// included modules
25
// ===========================================================================
26
#include <
config.h
>
27
28
#include <vector>
29
#include <map>
30
#include <string>
31
32
#include <
utils/common/NamedObjectCont.h
>
33
#include <
utils/common/UtilExceptions.h
>
34
#include "
MSJunction.h
"
35
36
37
// ===========================================================================
38
// class definitions
39
// ===========================================================================
44
class
MSJunctionControl
:
public
NamedObjectCont
<MSJunction*> {
45
public
:
47
MSJunctionControl
();
48
49
51
~MSJunctionControl
();
52
53
60
void
postloadInitContainer
();
61
62
63
private
:
65
MSJunctionControl
(
const
MSJunctionControl
&);
66
68
MSJunctionControl
&
operator=
(
const
MSJunctionControl
&);
69
70
};
71
72
73
#endif
74
75
/****************************************************************************/
76
MSJunctionControl::~MSJunctionControl
~MSJunctionControl()
Destructor.
Definition:
MSJunctionControl.cpp:37
MSJunctionControl::postloadInitContainer
void postloadInitContainer()
Closes building of junctions.
Definition:
MSJunctionControl.cpp:42
MSJunctionControl
Container for junctions; performs operations on all stored junctions.
Definition:
MSJunctionControl.h:44
MSJunctionControl::MSJunctionControl
MSJunctionControl()
Constructor.
Definition:
MSJunctionControl.cpp:33
NamedObjectCont
A map of named object pointers.
Definition:
NamedObjectCont.h:43
MSJunction.h
UtilExceptions.h
MSJunctionControl::operator=
MSJunctionControl & operator=(const MSJunctionControl &)
Invalidated assignment operator.
NamedObjectCont.h
config.h
MSJunctionControl::MSJunctionControl
MSJunctionControl(const MSJunctionControl &)
Invalidated copy constructor.
src
microsim
MSJunctionControl.h
Generated on Sun Dec 13 2020 08:44:58 for Eclipse SUMO - Simulation of Urban MObility by
1.8.20