SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
ROMAEdgeBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// Interface for building instances of duarouter-edges
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
12
// Copyright (C) 2001-2016 DLR (http://www.dlr.de/) and contributors
13
/****************************************************************************/
14
//
15
// This file is part of SUMO.
16
// SUMO is free software: you can redistribute it and/or modify
17
// it under the terms of the GNU General Public License as published by
18
// the Free Software Foundation, either version 3 of the License, or
19
// (at your option) any later version.
20
//
21
/****************************************************************************/
22
#ifndef ROMAEdgeBuilder_h
23
#define ROMAEdgeBuilder_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
ROMAEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
58
public
:
61
ROMAEdgeBuilder
();
62
63
65
~ROMAEdgeBuilder
();
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
windows_config.h
ROMAEdgeBuilder
Interface for building instances of duarouter-edges.
Definition:
ROMAEdgeBuilder.h:57
ROAbstractEdgeBuilder.h
config.h
ROMAEdgeBuilder::~ROMAEdgeBuilder
~ROMAEdgeBuilder()
Destructor.
Definition:
ROMAEdgeBuilder.cpp:48
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:61
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:52
ROMAEdgeBuilder::ROMAEdgeBuilder
ROMAEdgeBuilder()
Constructor.
Definition:
ROMAEdgeBuilder.cpp:44
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:77
RONode
Base class for nodes used by the router.
Definition:
RONode.h:53
src
marouter
ROMAEdgeBuilder.h
Generated on Sun Mar 19 2017 15:07:43 for SUMO - Simulation of Urban MObility by
1.8.8