SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RODFEdge.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // An edge within the DFROUTER
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
12 // Copyright (C) 2006-2014 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 RODFEdge_h
23 #define RODFEdge_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 <string>
36 #include <map>
37 #include <vector>
38 #include <router/ROEdge.h>
39 #include <utils/geom/Position.h>
40 #include "RODFDetectorFlow.h"
41 
42 
43 // ===========================================================================
44 // class declarations
45 // ===========================================================================
46 class ROLane;
47 
48 
49 // ===========================================================================
50 // class definitions
51 // ===========================================================================
55 class RODFEdge : public ROEdge {
56 public:
64  RODFEdge(const std::string& id, RONode* from, RONode* to, unsigned int index, const int priority);
65 
66 
68  ~RODFEdge();
69 
70  void setFlows(const std::vector<FlowDef>& flows);
71 
72  const std::vector<FlowDef>& getFlows() const;
73 
74 
75 private:
76  std::vector<FlowDef> myFlows;
77 
78 private:
80  RODFEdge(const RODFEdge& src);
81 
83  RODFEdge& operator=(const RODFEdge& src);
84 
85 };
86 
87 
88 #endif
89 
90 /****************************************************************************/
91