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

#include <egolanetraffic.h>

Collaboration diagram for adore::env::traffic::EgoLaneTraffic:
Collaboration graph

Public Member Functions

 EgoLaneTraffic (TrafficMap *trafficMap)
 Construct a new EgoLaneTraffic object. More...
 
const adore::view::TrafficQueuegetQueue () const
 Get the traffic queue. More...
 
const TrafficMapgetTrafficMap () const
 Get the traffic map. More...
 
void mapVehiclesOnBorders (adore::view::ALane *lfv, const adore::env::BorderBased::BorderSubSet &borders)
 Map vehicles on borders. More...
 

Private Attributes

adore::view::TrafficQueue queue_
 
TrafficMaptrafficMap_
 

Detailed Description

EgoLaneTraffic - computes a traffic queue for an ego lane / lane following view

Constructor & Destructor Documentation

◆ EgoLaneTraffic()

adore::env::traffic::EgoLaneTraffic::EgoLaneTraffic ( TrafficMap trafficMap)
inline

Construct a new EgoLaneTraffic object.

Parameters
trafficMap

Member Function Documentation

◆ getQueue()

const adore::view::TrafficQueue& adore::env::traffic::EgoLaneTraffic::getQueue ( ) const
inline

Get the traffic queue.

Returns
const adore::view::TrafficQueue& traffic queue of the ego lane
Here is the caller graph for this function:

◆ getTrafficMap()

const TrafficMap* adore::env::traffic::EgoLaneTraffic::getTrafficMap ( ) const
inline

Get the traffic map.

Returns
const CSA::VIEW::TrafficQueue& traffic queue of the ego lane
Here is the caller graph for this function:

◆ mapVehiclesOnBorders()

void adore::env::traffic::EgoLaneTraffic::mapVehiclesOnBorders ( adore::view::ALane lfv,
const adore::env::BorderBased::BorderSubSet borders 
)
inline

Map vehicles on borders.

Parameters
lfvlane following view
bordersset of borders
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ queue_

adore::view::TrafficQueue adore::env::traffic::EgoLaneTraffic::queue_
private

◆ trafficMap_

TrafficMap* adore::env::traffic::EgoLaneTraffic::trafficMap_
private

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