GUITriggerBuilder.h
Go to the documentation of this file.00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GUITriggerBuilder_h
00020 #define GUITriggerBuilder_h
00021
00022
00023
00024
00025
00026 #ifdef _MSC_VER
00027 #include <windows_config.h>
00028 #else
00029 #include <config.h>
00030 #endif
00031
00032 #include <string>
00033 #include <netload/NLTriggerBuilder.h>
00034
00035
00036
00037
00038
00039 class MSTrigger;
00040 class MSNet;
00041 class MSLaneSpeedTrigger;
00042 class MSTriggerControl;
00043
00044
00045
00046
00047
00052 class GUITriggerBuilder : public NLTriggerBuilder {
00053 public:
00055 GUITriggerBuilder() throw();
00056
00057
00059 ~GUITriggerBuilder() throw();
00060
00061
00062 protected:
00067
00068
00080 virtual MSLaneSpeedTrigger* buildLaneSpeedTrigger(MSNet &net,
00081 const std::string &id, const std::vector<MSLane*> &destLanes,
00082 const std::string &file) throw(ProcessError);
00083
00084
00095 virtual void buildLaneEmitTrigger(MSNet &net,
00096 const std::string &id, MSLane *destLane, SUMOReal pos,
00097 const std::string &file) throw();
00098
00099
00110 virtual void buildRerouter(MSNet &net,
00111 const std::string &id, std::vector<MSEdge*> &edges,
00112 SUMOReal prob, const std::string &file, bool off) throw();
00113
00114
00126 virtual void buildBusStop(MSNet &net, const std::string &id,
00127 const std::vector<std::string> &lines, MSLane *lane,
00128 SUMOReal frompos, SUMOReal topos) throw();
00130
00131 };
00132
00133
00134 #endif
00135
00136
00137