Eclipse 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-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
16 // Interface for building instances of jtrrouter-edges
17 /****************************************************************************/
18 #ifndef ROJTREdgeBuilder_h
19 #define ROJTREdgeBuilder_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
28 
29 
30 // ===========================================================================
31 // class declarations
32 // ===========================================================================
33 class ROEdge;
34 
35 
36 // ===========================================================================
37 // class definitions
38 // ===========================================================================
49 public:
52 
53 
56 
57 
60 
72  ROEdge* buildEdge(const std::string& name, RONode* from, RONode* to, const int priority);
74 
75 
76 };
77 
78 
79 #endif
80 
81 /****************************************************************************/
82 
ROAbstractEdgeBuilder.h
ROJTREdgeBuilder
Interface for building instances of jtrrouter-edges.
Definition: ROJTREdgeBuilder.h:48
ROJTREdgeBuilder::ROJTREdgeBuilder
ROJTREdgeBuilder()
Constructor.
Definition: ROJTREdgeBuilder.cpp:32
ROEdge
A basic edge for routing applications.
Definition: ROEdge.h:72
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:39
config.h
ROJTREdgeBuilder::~ROJTREdgeBuilder
~ROJTREdgeBuilder()
Destructor.
Definition: ROJTREdgeBuilder.cpp:35
RONode
Base class for nodes used by the router.
Definition: RONode.h:45
ROAbstractEdgeBuilder
Interface for building instances of router-edges.
Definition: ROAbstractEdgeBuilder.h:53