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

manage new and outdated stop lines based on newly visible and no longer visible borders and the last state of the object More...

#include <map_stopline_management.h>

Collaboration diagram for adore::env::MapStopLineManagement:
Collaboration graph

Public Member Functions

 MapStopLineManagement ()
 Construct a new Map Stop Line Management object. More...
 
void init (adore::env::BorderBased::LanePositionedObjectSet &globalSet)
 initialization routine More...
 
void reset ()
 clear local sets and pending updates More...
 
void run (std::vector< adore::env::BorderBased::Border * > newBorders, std::vector< adore::env::BorderBased::BorderID > outdatedBorders, std::vector< adore::env::BorderBased::StopLine > &newLines, std::vector< adore::env::BorderBased::StopLine > &outdatedLines, int MAX_SEND_NUMBER=5)
 receive newly visible or newly outdated stop lines based on new and outdated borders More...
 

Private Attributes

adore::env::BorderBased::LanePositionedObjectSet m_globalSet
 
adore::env::BorderBased::LanePositionedObjectSet m_localSet
 
std::deque< adore::env::BorderBased::BorderIDm_borderQueue
 

Detailed Description

manage new and outdated stop lines based on newly visible and no longer visible borders and the last state of the object

Constructor & Destructor Documentation

◆ MapStopLineManagement()

adore::env::MapStopLineManagement::MapStopLineManagement ( )
inline

Construct a new Map Stop Line Management object.

Here is the call graph for this function:

Member Function Documentation

◆ init()

void adore::env::MapStopLineManagement::init ( adore::env::BorderBased::LanePositionedObjectSet globalSet)
inline

initialization routine

Parameters
globalSet
Here is the call graph for this function:

◆ reset()

void adore::env::MapStopLineManagement::reset ( )
inline

clear local sets and pending updates

Here is the call graph for this function:

◆ run()

void adore::env::MapStopLineManagement::run ( std::vector< adore::env::BorderBased::Border * >  newBorders,
std::vector< adore::env::BorderBased::BorderID outdatedBorders,
std::vector< adore::env::BorderBased::StopLine > &  newLines,
std::vector< adore::env::BorderBased::StopLine > &  outdatedLines,
int  MAX_SEND_NUMBER = 5 
)
inline

receive newly visible or newly outdated stop lines based on new and outdated borders

Parameters
newBorders
outdatedBorders
newLines
outdatedLines
MAX_SEND_NUMBER
Here is the call graph for this function:

Member Data Documentation

◆ m_borderQueue

std::deque<adore::env::BorderBased::BorderID> adore::env::MapStopLineManagement::m_borderQueue
private

◆ m_globalSet

adore::env::BorderBased::LanePositionedObjectSet adore::env::MapStopLineManagement::m_globalSet
private

◆ m_localSet

adore::env::BorderBased::LanePositionedObjectSet adore::env::MapStopLineManagement::m_localSet
private

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