maliput
|
Abstract interface for providing the mapping from TrafficLight::Id to TrafficLight.
#include <include/maliput/api/rules/traffic_light_book.h>
Public Member Functions | |
MALIPUT_NO_COPY_NO_MOVE_NO_ASSIGN (TrafficLightBook) | |
virtual | ~TrafficLightBook ()=default |
std::vector< const TrafficLight * > | TrafficLights () const |
Returns all TrafficLights in this book. More... | |
const TrafficLight * | GetTrafficLight (const TrafficLight::Id &id) const |
Gets the specified TrafficLight. Returns nullptr if id is unrecognized. More... | |
Protected Member Functions | |
TrafficLightBook ()=default | |
|
virtualdefault |
Reimplemented in TrafficLightBook.
|
protecteddefault |
const TrafficLight* GetTrafficLight | ( | const TrafficLight::Id & | id | ) | const |
Gets the specified TrafficLight. Returns nullptr if id
is unrecognized.
MALIPUT_NO_COPY_NO_MOVE_NO_ASSIGN | ( | TrafficLightBook | ) |
std::vector<const TrafficLight*> TrafficLights | ( | ) | const |
Returns all TrafficLights in this book.