SUMO - Simulation of Urban MObility
ROJTREdgeBuilder.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
/****************************************************************************/
19
// Interface for building instances of jtrrouter-edges
20
/****************************************************************************/
21
#ifndef ROJTREdgeBuilder_h
22
#define ROJTREdgeBuilder_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
42
43
// ===========================================================================
44
// class definitions
45
// ===========================================================================
55
class
ROJTREdgeBuilder
:
public
ROAbstractEdgeBuilder
{
56
public
:
58
ROJTREdgeBuilder
();
59
60
62
~ROJTREdgeBuilder
();
63
64
67
79
ROEdge
*
buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority);
81
82
83
};
84
85
86
#endif
87
88
/****************************************************************************/
89
windows_config.h
ROAbstractEdgeBuilder.h
config.h
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:60
ROJTREdgeBuilder::ROJTREdgeBuilder
ROJTREdgeBuilder()
Constructor.
Definition:
ROJTREdgeBuilder.cpp:39
ROEdge
A basic edge for routing applications.
Definition:
ROEdge.h:77
ROJTREdgeBuilder::buildEdge
ROEdge * buildEdge(const std::string &name, RONode *from, RONode *to, const int priority)
Builds an edge with the given name.
Definition:
ROJTREdgeBuilder.cpp:46
ROJTREdgeBuilder::~ROJTREdgeBuilder
~ROJTREdgeBuilder()
Destructor.
Definition:
ROJTREdgeBuilder.cpp:42
RONode
Base class for nodes used by the router.
Definition:
RONode.h:52
ROJTREdgeBuilder
Interface for building instances of jtrrouter-edges.
Definition:
ROJTREdgeBuilder.h:55
src
jtrrouter
ROJTREdgeBuilder.h
Generated on Fri May 25 2018 08:54:34 for SUMO - Simulation of Urban MObility by
1.8.13