1
2
3
4
5
6
7
8
9
10
11 package nl.tudelft.simulation.traffic.controlpoint.real;
12
13 import nl.tudelft.simulation.event.EventType;
14
15 /***
16 * This interface is used by controlPoints that can change their status like a
17 * trafficlight <br>
18 *
19 * @author H.W.G. Phaff & J.H. Kwakkel
20 */
21 public interface Changeable
22 {
23 /***
24 * This event signals that the status a real controlPoint has changed
25 */
26 public static final EventType CHANGE_STATUS_EVENT = new EventType(
27 "CHANGE_STATUS_EVENT");
28
29 /***
30 * @return status
31 */
32 public String getStatus();
33 }