Eclipse SUMO - Simulation of Urban MObility
RODUAEdgeBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2004-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
// Interface for building instances of duarouter-edges
19
/****************************************************************************/
20
#ifndef RODUAEdgeBuilder_h
21
#define RODUAEdgeBuilder_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#include <
config.h
>
28
29
#include <
router/ROAbstractEdgeBuilder.h
>
30
31
32
// ===========================================================================
33
// class declarations
34
// ===========================================================================
35
class
ROEdge
;
36
class
RONode
;
37
38
39
// ===========================================================================
40
// class definitions
41
// ===========================================================================
51
class
RODUAEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
52
public
:
55
RODUAEdgeBuilder
();
56
57
59
~RODUAEdgeBuilder
();
60
61
64
76
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
78
79
80
};
81
82
83
#endif
84
85
/****************************************************************************/
86
RODUAEdgeBuilder::~RODUAEdgeBuilder
~RODUAEdgeBuilder()
Destructor.
Definition:
RODUAEdgeBuilder.cpp:38
ROAbstractEdgeBuilder.h
config.h
RODUAEdgeBuilder::buildEdge
ROEdge * buildEdge(const std::string &name, RONode *from, RONode *to, const int priority)
Builds an edge with the given name.
Definition:
RODUAEdgeBuilder.cpp:42
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:54
RODUAEdgeBuilder
Interface for building instances of duarouter-edges.
Definition:
RODUAEdgeBuilder.h:51
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:73
RONode
Base class for nodes used by the router.
Definition:
RONode.h:46
RODUAEdgeBuilder::RODUAEdgeBuilder
RODUAEdgeBuilder()
Constructor.
Definition:
RODUAEdgeBuilder.cpp:34
src
duarouter
RODUAEdgeBuilder.h
Generated on Wed Oct 2 2019 20:56:52 for Eclipse SUMO - Simulation of Urban MObility by
1.8.13