maliput
traffic_lights.h File Reference
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
#include "maliput/api/lane_data.h"
#include "maliput/api/type_specific_identifier.h"
#include "maliput/api/unique_id.h"
#include "maliput/common/maliput_copyable.h"
#include "maliput/common/maliput_hash.h"
#include "maliput/common/passkey.h"
#include "maliput/math/vector.h"
Include dependency graph for traffic_lights.h:
This graph shows which files directly or indirectly include this file:

Classes

class  Bulb
 Models a bulb within a bulb group. More...
 
struct  Bulb::BoundingBox
 Defines the bounding box of the bulb. More...
 
class  BulbGroup
 Models a group of bulbs within a traffic light. More...
 
class  TrafficLight
 Models a traffic light. More...
 
class  UniqueBulbId
 Uniquely identifies a bulb in the Inertial space. More...
 
class  UniqueBulbGroupId
 Uniquely identifies a bulb group in the Inertial space. More...
 
struct  hash< maliput::api::rules::UniqueBulbId >
 Specialization of std::hash for maliput::api::rules::UniqueBulbId. More...
 
struct  less< maliput::api::rules::UniqueBulbId >
 Specialization of std::less for maliput::api::rules::UniqueBulbId providing a strict ordering over maliput::api::rules::UniqueBulbId suitable for use with ordered containers. More...
 
struct  hash< maliput::api::rules::UniqueBulbGroupId >
 Specialization of std::hash for maliput::api::rules::UniqueBulbGroupId. More...
 
struct  less< maliput::api::rules::UniqueBulbGroupId >
 Specialization of std::less for maliput::api::rules::UniqueBulbGroupId providing a strict ordering over maliput::api::rules::UniqueBulbGroupId suitable for use with ordered containers. More...
 

Namespaces

 maliput
 Code in this file is inspired by: https://github.com/RobotLocomotion/drake/blob/master/common/text_logging.h.
 
 maliput::api
 
 maliput::api::rules
 

Enumerations

enum  BulbColor { kRed = 0, kYellow, kGreen }
 Defines the possible bulb colors. More...
 
enum  BulbType { kRound = 0, kArrow }
 Defines the possible bulb types. More...
 
enum  BulbState { kOff = 0, kOn, kBlinking }
 Defines the possible bulb states. More...
 

Functions

std::unordered_map< BulbColor, const char *, maliput::common::DefaultHashBulbColorMapper ()
 Maps BulbColor enums to string representations. More...
 
std::unordered_map< BulbType, const char *, maliput::common::DefaultHashBulbTypeMapper ()
 Maps BulbType enums to string representations. More...
 
std::unordered_map< BulbState, const char *, maliput::common::DefaultHashBulbStateMapper ()
 Maps BulbState enums to string representations. More...