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-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
/****************************************************************************/
19
// Interface for building instances of duarouter-edges
20
/****************************************************************************/
21
#ifndef ROMAEdgeBuilder_h
22
#define ROMAEdgeBuilder_h
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include <
router/ROAbstractEdgeBuilder.h
>
35
36
37
// ===========================================================================
38
// class declarations
39
// ===========================================================================
40
class
ROEdge
;
41
class
RONode
;
42
43
44
// ===========================================================================
45
// class definitions
46
// ===========================================================================
56
class
ROMAEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
57
public
:
60
ROMAEdgeBuilder
();
61
62
64
~ROMAEdgeBuilder
();
65
66
69
81
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
83
84
85
};
86
87
88
#endif
89
90
/****************************************************************************/
91
windows_config.h
ROMAEdgeBuilder
Interface for building instances of duarouter-edges.
Definition:
ROMAEdgeBuilder.h:56
ROAbstractEdgeBuilder.h
config.h
ROMAEdgeBuilder::~ROMAEdgeBuilder
~ROMAEdgeBuilder()
Destructor.
Definition:
ROMAEdgeBuilder.cpp:43
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:60
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:47
ROMAEdgeBuilder::ROMAEdgeBuilder
ROMAEdgeBuilder()
Constructor.
Definition:
ROMAEdgeBuilder.cpp:39
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:77
RONode
Base class for nodes used by the router.
Definition:
RONode.h:52
src
marouter
ROMAEdgeBuilder.h
Generated on Fri Jun 29 2018 13:14:36 for SUMO - Simulation of Urban MObility by
1.8.13