A class that stores a 2D geometrical boundary.
A window containing a gl-object's parameter.
MSTLLogicControl & myTLLogicControl
Reference to the according tls.
int getCurrentMinDurSeconds() const
MSTrafficLightLogic & myTLLogic
The wrapped tl-logic.
MSTrafficLightLogic & getTLLogic() const
GUIMainWindow * myApp
The main application.
void begin2TrackPhases(GUIMainWindow *app=nullptr)
Builds a GUITLLogicPhasesTrackerWindow which will receive new phases.
int getCurrentEarliestEndSeconds() const
int getDefaultCycleTimeSeconds() const
const std::string getOptionalName() const override
Returns the value for generic parameter 'name' or ''.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own parameter window.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
~GUITrafficLightLogicWrapper()
Destructor.
int getCurrentTimeInCycleSeconds() const
int getRunningDurationSeconds() const
int getCurrentDurationSeconds() const
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
int getCurrentPhase() const
MSTrafficLightLogic * getActiveTLLogic() const
void switchTLSLogic(int to)
Builds a GUITLLogicPhasesTrackerWindow which displays the phase diagram.
std::string getCurrentPhaseName() const
int getLinkIndex(const MSLink *const link) const
Returns the index of the given link within the according tls.
int getCurrentMaxDurSeconds() const
void showPhases()
Builds a GUITLLogicPhasesTrackerWindow which displays the phase diagram.
int getCurrentLatestEndSeconds() const
Stores the information about how to visualize structures.
A class that stores and controls tls and switching of their programs.
The parent class for traffic light logics.