Eclipse SUMO - Simulation of Urban MObility
RODFEdge.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2006-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
// An edge within the DFROUTER
18
/****************************************************************************/
19
#ifndef RODFEdge_h
20
#define RODFEdge_h
21
22
23
// ===========================================================================
24
// included modules
25
// ===========================================================================
26
#include <
config.h
>
27
28
#include <string>
29
#include <map>
30
#include <vector>
31
#include <
router/ROEdge.h
>
32
#include <
utils/geom/Position.h
>
33
#include "
RODFDetectorFlow.h
"
34
35
36
// ===========================================================================
37
// class declarations
38
// ===========================================================================
39
class
ROLane
;
40
41
42
// ===========================================================================
43
// class definitions
44
// ===========================================================================
48
class
RODFEdge
:
public
ROEdge
{
49
public
:
57
RODFEdge
(
const
std::string&
id
,
RONode
* from,
RONode
* to,
int
index,
const
int
priority);
58
59
61
~RODFEdge
();
62
63
void
setFlows
(
const
std::vector<FlowDef>& flows);
64
65
const
std::vector<FlowDef>&
getFlows
()
const
;
66
67
68
private
:
69
std::vector<FlowDef>
myFlows
;
70
71
private
:
73
RODFEdge
(
const
RODFEdge
& src);
74
76
RODFEdge
&
operator=
(
const
RODFEdge
& src);
77
78
};
79
80
81
#endif
82
83
/****************************************************************************/
84
RODFEdge::~RODFEdge
~RODFEdge()
Destructor.
Definition:
RODFEdge.cpp:39
RODFEdge
Definition:
RODFEdge.h:48
RODFEdge::getFlows
const std::vector< FlowDef > & getFlows() const
Definition:
RODFEdge.cpp:49
ROLane
A single lane the router may use.
Definition:
ROLane.h:51
RODFEdge::setFlows
void setFlows(const std::vector< FlowDef > &flows)
Definition:
RODFEdge.cpp:43
RODFEdge::myFlows
std::vector< FlowDef > myFlows
Definition:
RODFEdge.h:69
RODFEdge::RODFEdge
RODFEdge(const std::string &id, RONode *from, RONode *to, int index, const int priority)
Constructor.
Definition:
RODFEdge.cpp:35
RODFEdge::operator=
RODFEdge & operator=(const RODFEdge &src)
Invalidated assignment operator.
Position.h
RODFDetectorFlow.h
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:73
config.h
RONode
Base class for nodes used by the router.
Definition:
RONode.h:46
ROEdge.h
src
dfrouter
RODFEdge.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16