#include <controlledconnection.h>
Public Member Functions | |
ConnectionStateEvent (ConnectionState::EConnectionState state, double minEndTime, bool maxEndTime_present, bool likelyTime_present, double maxEndTime, double likelyTime) | |
double | getMinEndTime () const |
double | getMaxEndTime () const |
double | getMaxOrMinEndTime () const |
double | getLikelyTime () const |
bool | hasMaxEndTime () const |
bool | hasLikelyTime () const |
ConnectionState::EConnectionState | getState () const |
Private Attributes | |
double | minEndTime_ |
double | maxEndTime_ |
double | likelyTime_ |
bool | maxEndTime_present_ |
bool | likelyTime_present_ |
ConnectionState::EConnectionState | state_ |
ConnectionStateEvent is similar to itsg5-SPATEM "MovementEvent": It combines a state with time information about the probable state change. In its current version only time and state are included, future versions will include a more complete representation of the SPATEM intend.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
likeliest time at which this state invalidates, optional
|
private |
if true, a reasonable value is contained in likelyTime
|
private |
latest time at which this state invalidates, optional
|
private |
if true, a reasonable value is contained in maxEndTime
|
private |
earliest time at which this state invalidates
|
private |
the traffic light or equivalent controller state for the connection