Aimsun Next Scripting
22
|
Public Member Functions | |
GKControlPlanSignalStartDuration () | |
GKControlPlanSignalStartDuration (GKControlPlanSignal *cpsignal, float start, float duration) | |
float | getStart () const |
float | getDuration () const |
void | setStart (float start) |
void | setDuration (float duration) |
GKControlPlanSignal * | getControlPlanSignal () const |
Given a GKControlPlanSignal this class lets us define the start and the duration of the signal.
GKControlPlanSignalStartDuration::GKControlPlanSignalStartDuration | ( | ) |
GKControlPlanSignalStartDuration::GKControlPlanSignalStartDuration | ( | GKControlPlanSignal * | cpsignal, |
float | start, | ||
float | duration | ||
) |
GKControlPlanSignal * GKControlPlanSignalStartDuration::getControlPlanSignal | ( | ) | const |
Gets the assigned control plan signal
float GKControlPlanSignalStartDuration::getDuration | ( | ) | const |
Gets the duration of the signal
float GKControlPlanSignalStartDuration::getStart | ( | ) | const |
Gets the start time of the signal
void GKControlPlanSignalStartDuration::setDuration | ( | float | duration | ) |
Sets the duration of the signal
void GKControlPlanSignalStartDuration::setStart | ( | float | start | ) |
Sets the start time of the signal