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

#include <controlledconnection.h>

Collaboration diagram for adore::env::ControlledConnection:
Collaboration graph

Public Types

typedef adore::env::VectorIdentifier TID
 

Public Member Functions

 ControlledConnection ()
 
 ControlledConnection (double x0, double y0, double z0, double x1, double y1, double z1)
 
void setID (double x0, double y0, double z0, double x1, double y1, double z1)
 
const TIDgetID () const
 
void insertStateEvent (const ConnectionStateEvent &e)
 
void clear ()
 
ConnectionState::EConnectionState getState_byMinTime (double t) const
 
adore::view::LimitLine::EState convert (ConnectionState::EConnectionState s)
 

Public Attributes

std::vector< ConnectionStateEventdata_
 

Private Attributes

TID id_
 

Detailed Description

ControlledConnection aggregates all known states of a tcd-managed connection over time A VectorIdentifier identifies a connection path through a junction by the start location (entering the junction) and end position (leaving the junction).

Member Typedef Documentation

◆ TID

Constructor & Destructor Documentation

◆ ControlledConnection() [1/2]

adore::env::ControlledConnection::ControlledConnection ( )
inline

◆ ControlledConnection() [2/2]

adore::env::ControlledConnection::ControlledConnection ( double  x0,
double  y0,
double  z0,
double  x1,
double  y1,
double  z1 
)
inline

Member Function Documentation

◆ clear()

void adore::env::ControlledConnection::clear ( )
inline

remove all previously known events

◆ convert()

adore::view::LimitLine::EState adore::env::ControlledConnection::convert ( ConnectionState::EConnectionState  s)
inline

convert from env naming convention to view naming convention

◆ getID()

const TID& adore::env::ControlledConnection::getID ( ) const
inline
Here is the caller graph for this function:

◆ getState_byMinTime()

ConnectionState::EConnectionState adore::env::ControlledConnection::getState_byMinTime ( double  t) const
inline

get the state at a certain time, following min switching time predictions

Here is the caller graph for this function:

◆ insertStateEvent()

void adore::env::ControlledConnection::insertStateEvent ( const ConnectionStateEvent e)
inline

insert a state

Here is the caller graph for this function:

◆ setID()

void adore::env::ControlledConnection::setID ( double  x0,
double  y0,
double  z0,
double  x1,
double  y1,
double  z1 
)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ data_

std::vector<ConnectionStateEvent> adore::env::ControlledConnection::data_

list of switching events

◆ id_

TID adore::env::ControlledConnection::id_
private

from-to-coordinate tuple identifies the connection


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