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-2017 German Aerospace Center (DLR) and others.
4
/****************************************************************************/
5
//
6
// This program and the accompanying materials
7
// are made available under the terms of the Eclipse Public License v2.0
8
// which accompanies this distribution, and is available at
9
// http://www.eclipse.org/legal/epl-v20.html
10
//
11
/****************************************************************************/
20
// Interface for building instances of duarouter-edges
21
/****************************************************************************/
22
#ifndef RODUAEdgeBuilder_h
23
#define RODUAEdgeBuilder_h
24
25
26
// ===========================================================================
27
// included modules
28
// ===========================================================================
29
#ifdef _MSC_VER
30
#include <
windows_config.h
>
31
#else
32
#include <
config.h
>
33
#endif
34
35
#include <
router/ROAbstractEdgeBuilder.h
>
36
37
38
// ===========================================================================
39
// class declarations
40
// ===========================================================================
41
class
ROEdge
;
42
class
RONode
;
43
44
45
// ===========================================================================
46
// class definitions
47
// ===========================================================================
57
class
RODUAEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
58
public
:
61
RODUAEdgeBuilder
();
62
63
65
~RODUAEdgeBuilder
();
66
67
70
82
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
84
85
86
};
87
88
89
#endif
90
91
/****************************************************************************/
92
RODUAEdgeBuilder::~RODUAEdgeBuilder
~RODUAEdgeBuilder()
Destructor.
Definition:
RODUAEdgeBuilder.cpp:44
windows_config.h
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:48
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:60
RODUAEdgeBuilder
Interface for building instances of duarouter-edges.
Definition:
RODUAEdgeBuilder.h:57
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:77
RONode
Base class for nodes used by the router.
Definition:
RONode.h:52
RODUAEdgeBuilder::RODUAEdgeBuilder
RODUAEdgeBuilder()
Constructor.
Definition:
RODUAEdgeBuilder.cpp:40
src
duarouter
RODUAEdgeBuilder.h
Generated on Fri May 25 2018 08:54:34 for SUMO - Simulation of Urban MObility by
1.8.13