Eclipse SUMO - Simulation of Urban MObility
ROMAEdgeBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-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
// Interface for building instances of duarouter-edges
17
/****************************************************************************/
18
#ifndef ROMAEdgeBuilder_h
19
#define ROMAEdgeBuilder_h
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#include <
config.h
>
26
27
#include <
router/ROAbstractEdgeBuilder.h
>
28
29
30
// ===========================================================================
31
// class declarations
32
// ===========================================================================
33
class
ROEdge
;
34
class
RONode
;
35
36
37
// ===========================================================================
38
// class definitions
39
// ===========================================================================
49
class
ROMAEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
50
public
:
53
ROMAEdgeBuilder
();
54
55
57
~ROMAEdgeBuilder
();
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
ROMAEdgeBuilder::~ROMAEdgeBuilder
~ROMAEdgeBuilder()
Destructor.
Definition:
ROMAEdgeBuilder.cpp:36
ROMAEdgeBuilder::buildEdge
ROEdge * buildEdge(const std::string &name, RONode *from, RONode *to, const int priority)
Builds an edge with the given name.
Definition:
ROMAEdgeBuilder.cpp:40
ROMAEdgeBuilder
Interface for building instances of duarouter-edges.
Definition:
ROMAEdgeBuilder.h:49
ROAbstractEdgeBuilder.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
ROMAEdgeBuilder::ROMAEdgeBuilder
ROMAEdgeBuilder()
Constructor.
Definition:
ROMAEdgeBuilder.cpp:32
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:53
src
marouter
ROMAEdgeBuilder.h
Generated on Sun Jun 21 2020 23:18:41 for Eclipse SUMO - Simulation of Urban MObility by
1.8.17