#include <limitline.h>
Public Types | |
enum | EState { unavailable = 0 , dark = 1 , stop_Then_Proceed = 2 , stop_And_Remain = 3 , pre_Movement = 4 , permissive_Movement_Allowed = 5 , protected_Movement_Allowed = 6 , permissive_clearance = 7 , protected_clearance = 8 , caution_Conflicting_Traffic = 9 } |
Public Member Functions | |
LimitLine () | |
void | setCurrentState (EState value) |
void | setNextState (EState value) |
void | setTimeToNextState (double value) |
void | setProgress (double value) |
EState | getCurrentState () const |
EState | getNextState () const |
double | getTimeToNextState () const |
double | getProgress () const |
Private Attributes | |
EState | current_state_ |
EState | next_state_ |
double | t_next_ |
double | s_ |
LimitLine contains state information about regulation of a conflict zone.
Defines access to critical area guarded by a LimitLine.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
the current accessibility of the critical area
|
private |
the next accessibility of the critical area, with state change occuring at t_next_
|
private |
progress of LimitLine along the containing lane
|
private |
switching time when current_state_ becomes next_state_. set to big number if unknown