Eclipse SUMO - Simulation of Urban MObility
RODFEdgeBuilder.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
/****************************************************************************/
18
// Interface for building instances of dfrouter-edges
19
/****************************************************************************/
20
#ifndef RODFEdgeBuilder_h
21
#define RODFEdgeBuilder_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
37
38
// ===========================================================================
39
// class definitions
40
// ===========================================================================
50
class
RODFEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
51
public
:
53
RODFEdgeBuilder
();
54
55
57
~RODFEdgeBuilder
();
58
59
62
74
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
76
77
78
};
79
80
81
#endif
82
83
/****************************************************************************/
84
ROAbstractEdgeBuilder.h
RODFEdgeBuilder
Interface for building instances of dfrouter-edges.
Definition:
RODFEdgeBuilder.h:50
RODFEdgeBuilder::buildEdge
ROEdge * buildEdge(const std::string &name, RONode *from, RONode *to, const int priority)
Builds an edge with the given name.
Definition:
RODFEdgeBuilder.cpp:40
RODFEdgeBuilder::~RODFEdgeBuilder
~RODFEdgeBuilder()
Destructor.
Definition:
RODFEdgeBuilder.cpp:36
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
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:54
RODFEdgeBuilder::RODFEdgeBuilder
RODFEdgeBuilder()
Constructor.
Definition:
RODFEdgeBuilder.cpp:33
src
dfrouter
RODFEdgeBuilder.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16