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 /****************************************************************************/
8 // An edge within the DFROUTER
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
12 /****************************************************************************/
13 //
14 // This file is part of SUMO.
15 // SUMO is free software: you can redistribute it and/or modify
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 /****************************************************************************/
21 #ifndef RODFEdge_h
22 #define RODFEdge_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 <string>
35 #include <map>
36 #include <vector>
37 #include <router/ROEdge.h>
38 #include <utils/geom/Position.h>
39 #include "RODFDetectorFlow.h"
40 
41 
42 // ===========================================================================
43 // class declarations
44 // ===========================================================================
45 class ROLane;
46 
47 
48 // ===========================================================================
49 // class definitions
50 // ===========================================================================
54 class RODFEdge : public ROEdge {
55 public:
63  RODFEdge(const std::string& id, RONode* from, RONode* to, unsigned int index);
64 
65 
67  ~RODFEdge();
68 
69  void setFlows(const std::vector<FlowDef>& flows);
70 
71  const std::vector<FlowDef>& getFlows() const;
72 
73 
74 private:
75  std::vector<FlowDef> myFlows;
76 
77 private:
79  RODFEdge(const RODFEdge& src);
80 
82  RODFEdge& operator=(const RODFEdge& src);
83 
84 };
85 
86 
87 #endif
88 
89 /****************************************************************************/
90