View Javadoc

1   /*
2    * Created on Mar 29, 2004
3    * 
4    * Copyright (c) 2003, 2004 Delft University of Technology Jaffalaan 5, 2628 BX
5    * Delft, the Netherlands All rights reserved.
6    * 
7    * This software is proprietary information of Delft University of Technology
8    * The code is published under the General Public License
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  }