|
Aimsun Next Scripting
24.0
|
Public Types | |
| enum | FlashingType { eNo , eFlashingGreen , eFlashingYellow , eFlashingRed } |
Public Member Functions | |
| GKControlPhaseSignal () | |
| GKControlPhaseSignal (GKControlPlanSignal *s, FlashingType f) | |
| void | setSignal (GKControlPlanSignal *signal) |
| GKControlPlanSignal * | getSignal () const |
| void | setFlashingType (GKControlPhaseSignal::FlashingType flashing) |
| GKControlPhaseSignal::FlashingType | getFlashingType () const |
This object keeps the GKControlPlanSignal object plus the info whether it is flashing. This class is used to assign signals to a control phase.
| GKControlPhaseSignal::GKControlPhaseSignal | ( | ) |
| GKControlPhaseSignal::GKControlPhaseSignal | ( | GKControlPlanSignal * | s, |
| FlashingType | f | ||
| ) |
| GKControlPhaseSignal::FlashingType GKControlPhaseSignal::getFlashingType | ( | ) | const |
It returns whether the signal set is flashing or not and the type of flashing if it is flashing.
| GKControlPlanSignal * GKControlPhaseSignal::getSignal | ( | ) | const |
It gets the GKControlPlanSignal assigned to this class
| void GKControlPhaseSignal::setFlashingType | ( | GKControlPhaseSignal::FlashingType | flashing | ) |
It sets the information about if the signal set is flashing or not and the type of flashing if so.
| void GKControlPhaseSignal::setSignal | ( | GKControlPlanSignal * | signal | ) |
It sets the GKControlPlanSignal assigned to this class
1.9.4