SUMO - Simulation of Urban MObility
RODFEdgeBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2006-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 dfrouter-edges
21
/****************************************************************************/
22
#ifndef RODFEdgeBuilder_h
23
#define RODFEdgeBuilder_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
43
44
// ===========================================================================
45
// class definitions
46
// ===========================================================================
56
class
RODFEdgeBuilder
:
public
ROAbstractEdgeBuilder
{
57
public
:
59
RODFEdgeBuilder
();
60
61
63
~RODFEdgeBuilder
();
64
65
68
80
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
82
83
84
};
85
86
87
#endif
88
89
/****************************************************************************/
90
windows_config.h
ROAbstractEdgeBuilder.h
config.h
RODFEdgeBuilder::~RODFEdgeBuilder
~RODFEdgeBuilder()
Destructor.
Definition:
RODFEdgeBuilder.cpp:42
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:60
RODFEdgeBuilder::buildEdge
ROEdge * buildEdge(const std::string &name, RONode *from, RONode *to, const int priority)
Builds an edge with the given name.
Definition:
RODFEdgeBuilder.cpp:46
RODFEdgeBuilder::RODFEdgeBuilder
RODFEdgeBuilder()
Constructor.
Definition:
RODFEdgeBuilder.cpp:39
RODFEdgeBuilder
Interface for building instances of dfrouter-edges.
Definition:
RODFEdgeBuilder.h:56
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
dfrouter
RODFEdgeBuilder.h
Generated on Fri May 25 2018 08:54:34 for SUMO - Simulation of Urban MObility by
1.8.13