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
/****************************************************************************/
17
// Interface for building instances of duarouter-edges
18
/****************************************************************************/
19
#ifndef RODUAEdgeBuilder_h
20
#define RODUAEdgeBuilder_h
21
22
23
// ===========================================================================
24
// included modules
25
// ===========================================================================
26
#include <
config.h
>
27
28
#include <
router/ROAbstractEdgeBuilder.h
>
29
30
31
// ===========================================================================
32
// class declarations
33
// ===========================================================================
34
class
ROEdge
;
35
class
RONode
;
36
37
38
// ===========================================================================
39
// class definitions
40
// ===========================================================================
50
class
RODUAEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
51
public
:
54
RODUAEdgeBuilder
();
55
56
58
~RODUAEdgeBuilder
();
59
60
63
75
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
77
78
79
};
80
81
82
#endif
83
84
/****************************************************************************/
85
RODUAEdgeBuilder::RODUAEdgeBuilder
RODUAEdgeBuilder()
Constructor.
Definition:
RODUAEdgeBuilder.cpp:33
RODUAEdgeBuilder::~RODUAEdgeBuilder
~RODUAEdgeBuilder()
Destructor.
Definition:
RODUAEdgeBuilder.cpp:37
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:41
ROAbstractEdgeBuilder.h
RODUAEdgeBuilder
Interface for building instances of duarouter-edges.
Definition:
RODUAEdgeBuilder.h:50
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
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:53
src
duarouter
RODUAEdgeBuilder.h
Generated on Thu Jan 16 2020 21:12:23 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16