SUMO - Simulation of Urban MObility
ROJTREdgeBuilder.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// Interface for building instances of jtrrouter-edges
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
12
// Copyright (C) 2004-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 ROJTREdgeBuilder_h
23
#define ROJTREdgeBuilder_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
ROJTREdgeBuilder
:
public
ROAbstractEdgeBuilder
{
57
public
:
59
ROJTREdgeBuilder
();
60
61
63
~ROJTREdgeBuilder
();
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
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition:
ROAbstractEdgeBuilder.h:61
ROJTREdgeBuilder::ROJTREdgeBuilder
ROJTREdgeBuilder()
Constructor.
Definition:
ROJTREdgeBuilder.cpp:44
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:51
ROJTREdgeBuilder::~ROJTREdgeBuilder
~ROJTREdgeBuilder()
Destructor.
Definition:
ROJTREdgeBuilder.cpp:47
RONode
Base class for nodes used by the router.
Definition:
RONode.h:53
ROJTREdgeBuilder
Interface for building instances of jtrrouter-edges.
Definition:
ROJTREdgeBuilder.h:56
src
jtrrouter
ROJTREdgeBuilder.h
Generated on Thu Nov 17 2016 13:44:40 for SUMO - Simulation of Urban MObility by
1.8.12