SUMO - Simulation of Urban MObility
RODUAEdgeBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
10
// Interface for building instances of duarouter-edges
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
13
// Copyright (C) 2004-2017 DLR (http://www.dlr.de/) and contributors
14
/****************************************************************************/
15
//
16
// This file is part of SUMO.
17
// SUMO is free software: you can redistribute it and/or modify
18
// it under the terms of the GNU General Public License as published by
19
// the Free Software Foundation, either version 3 of the License, or
20
// (at your option) any later version.
21
//
22
/****************************************************************************/
23
#ifndef RODUAEdgeBuilder_h
24
#define RODUAEdgeBuilder_h
25
26
27
// ===========================================================================
28
// included modules
29
// ===========================================================================
30
#ifdef _MSC_VER
31
#include <
windows_config.h
>
32
#else
33
#include <
config.h
>
34
#endif
35
36
#include <
router/ROAbstractEdgeBuilder.h
>
37
38
39
// ===========================================================================
40
// class declarations
41
// ===========================================================================
42
class
ROEdge
;
43
class
RONode
;
44
45
46
// ===========================================================================
47
// class definitions
48
// ===========================================================================
58
class
RODUAEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
59
public
:
62
RODUAEdgeBuilder
();
63
64
66
~RODUAEdgeBuilder
();
67
68
71
83
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
85
86
87
};
88
89
90
#endif
91
92
/****************************************************************************/
93
RODUAEdgeBuilder::~RODUAEdgeBuilder
~RODUAEdgeBuilder()
Destructor.
Definition:
RODUAEdgeBuilder.cpp:45
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:49
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:61
RODUAEdgeBuilder
Interface for building instances of duarouter-edges.
Definition:
RODUAEdgeBuilder.h:58
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:77
RONode
Base class for nodes used by the router.
Definition:
RONode.h:53
RODUAEdgeBuilder::RODUAEdgeBuilder
RODUAEdgeBuilder()
Constructor.
Definition:
RODUAEdgeBuilder.cpp:41
src
duarouter
RODUAEdgeBuilder.h
Generated on Fri Nov 3 2017 20:31:28 for SUMO - Simulation of Urban MObility by
1.8.13