#include <trafficlight.h>
Public Member Functions | |
TrafficLight () | |
virtual TrafficLightStatus * | getStatus () |
virtual TrafficLightStatus const * | getStatus () const |
bool | operator== (const TrafficLight &other) |
Public Member Functions inherited from adore::env::TrafficControlDevice | |
TCDClass | getTCDClass () |
generalization of tcd types More... | |
double | getNumericValue1 () |
Some tcd's have one or more numeric value affixed to them, e.g. speed limits have one. More... | |
TrafficControlDevice () | |
TrafficControlDevice (const TrafficControlDevice &other) | |
void | translate (double dx, double dy, double dz) |
void | rotate (double angle, double x0=0, double y0=0) |
int | getID () const |
void | setID (int id) |
void | setType (TCDType type) |
TCDType | getType () const |
void | setOrientation (double orientation) |
double | getOrientation () const |
void | setCoordinate (BorderBased::Coordinate coordinate) |
BorderBased::Coordinate | getCoordinate () const |
Public Attributes | |
int | movement_id_ |
int | intersection_id_ |
Private Attributes | |
TrafficLightStatus | status_ |
Additional Inherited Members | |
Public Types inherited from adore::env::TrafficControlDevice | |
enum | TCDType { TRAFFIC_LIGHT = 0 , TRAFFIC_LIGHT_PEDESTRIAN = 1 , RIGHT_OF_WAY = 2 , STOP_SIGN = 3 , SPEED_LIMIT_10 = 4 , SPEED_LIMIT_20 = 5 , SPEED_LIMIT_30 = 6 , SPEED_LIMIT_40 = 7 , SPEED_LIMIT_50 = 8 , SPEED_LIMIT_60 = 9 , SPEED_LIMIT_70 = 10 , SPEED_LIMIT_80 = 11 , SPEED_LIMIT_90 = 12 , SPEED_LIMIT_100 = 13 , SPEED_LIMIT_120 = 14 , SPEED_LIMIT_130 = 15 , SPEED_LIMIT_NON = 16 , CITY_LIMIT_SIGN = 17 , MOTOR_WAY_SIGN = 18 , UNKNOWN = 99 } |
enum | TCDClass { C_TRAFFIC_LIGHT = 0 , C_PRECEDENCE = 1 , C_SPEED_LIMIT = 2 , C_UNKNOWN = 99 } |
A traffic light is basically a traffic control device with a color status.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
int adore::env::TrafficLight::intersection_id_ |
int adore::env::TrafficLight::movement_id_ |
|
private |