ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::ConnectionStateEvent Struct Reference

#include <controlledconnection.h>

Collaboration diagram for adore::env::ConnectionStateEvent:
Collaboration graph

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_
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ConnectionStateEvent()

adore::env::ConnectionStateEvent::ConnectionStateEvent ( ConnectionState::EConnectionState  state,
double  minEndTime,
bool  maxEndTime_present,
bool  likelyTime_present,
double  maxEndTime,
double  likelyTime 
)
inline

Member Function Documentation

◆ getLikelyTime()

double adore::env::ConnectionStateEvent::getLikelyTime ( ) const
inline

◆ getMaxEndTime()

double adore::env::ConnectionStateEvent::getMaxEndTime ( ) const
inline

◆ getMaxOrMinEndTime()

double adore::env::ConnectionStateEvent::getMaxOrMinEndTime ( ) const
inline
Here is the caller graph for this function:

◆ getMinEndTime()

double adore::env::ConnectionStateEvent::getMinEndTime ( ) const
inline
Here is the caller graph for this function:

◆ getState()

ConnectionState::EConnectionState adore::env::ConnectionStateEvent::getState ( ) const
inline
Here is the caller graph for this function:

◆ hasLikelyTime()

bool adore::env::ConnectionStateEvent::hasLikelyTime ( ) const
inline

◆ hasMaxEndTime()

bool adore::env::ConnectionStateEvent::hasMaxEndTime ( ) const
inline

Member Data Documentation

◆ likelyTime_

double adore::env::ConnectionStateEvent::likelyTime_
private

likeliest time at which this state invalidates, optional

◆ likelyTime_present_

bool adore::env::ConnectionStateEvent::likelyTime_present_
private

if true, a reasonable value is contained in likelyTime

◆ maxEndTime_

double adore::env::ConnectionStateEvent::maxEndTime_
private

latest time at which this state invalidates, optional

◆ maxEndTime_present_

bool adore::env::ConnectionStateEvent::maxEndTime_present_
private

if true, a reasonable value is contained in maxEndTime

◆ minEndTime_

double adore::env::ConnectionStateEvent::minEndTime_
private

earliest time at which this state invalidates

◆ state_

ConnectionState::EConnectionState adore::env::ConnectionStateEvent::state_
private

the traffic light or equivalent controller state for the connection


The documentation for this struct was generated from the following file: