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
/****************************************************************************/
16
// An edge within the DFROUTER
17
/****************************************************************************/
18
#ifndef RODFEdge_h
19
#define RODFEdge_h
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#include <
config.h
>
26
27
#include <string>
28
#include <map>
29
#include <vector>
30
#include <
router/ROEdge.h
>
31
#include <
utils/geom/Position.h
>
32
#include "
RODFDetectorFlow.h
"
33
34
35
// ===========================================================================
36
// class declarations
37
// ===========================================================================
38
class
ROLane
;
39
40
41
// ===========================================================================
42
// class definitions
43
// ===========================================================================
47
class
RODFEdge
:
public
ROEdge
{
48
public
:
56
RODFEdge
(
const
std::string&
id
,
RONode
* from,
RONode
* to,
int
index,
const
int
priority);
57
58
60
~RODFEdge
();
61
62
void
setFlows
(
const
std::vector<FlowDef>& flows);
63
64
const
std::vector<FlowDef>&
getFlows
()
const
;
65
66
67
private
:
68
std::vector<FlowDef>
myFlows
;
69
70
private
:
72
RODFEdge
(
const
RODFEdge
& src);
73
75
RODFEdge
&
operator=
(
const
RODFEdge
& src);
76
77
};
78
79
80
#endif
81
82
/****************************************************************************/
83
RODFEdge::~RODFEdge
~RODFEdge()
Destructor.
Definition:
RODFEdge.cpp:38
RODFEdge
Definition:
RODFEdge.h:47
RODFEdge::getFlows
const std::vector< FlowDef > & getFlows() const
Definition:
RODFEdge.cpp:48
ROLane
A single lane the router may use.
Definition:
ROLane.h:50
RODFEdge::setFlows
void setFlows(const std::vector< FlowDef > &flows)
Definition:
RODFEdge.cpp:42
RODFEdge::myFlows
std::vector< FlowDef > myFlows
Definition:
RODFEdge.h:68
RODFEdge::RODFEdge
RODFEdge(const std::string &id, RONode *from, RONode *to, int index, const int priority)
Constructor.
Definition:
RODFEdge.cpp:34
RODFEdge::operator=
RODFEdge & operator=(const RODFEdge &src)
Invalidated assignment operator.
Position.h
RODFDetectorFlow.h
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:72
config.h
RONode
Base class for nodes used by the router.
Definition:
RONode.h:45
ROEdge.h
src
dfrouter
RODFEdge.h
Generated on Thu Jan 16 2020 21:12:23 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16