1
2
3
4
5
6
7
8
9
10 package nl.tudelft.simulation.event;
11
12
13 /***
14 * The EventProducerParent is an event producer used in JUNIT tests.
15 * <p>
16 * (c) copyright 2003-2004 <a href="http://www.simulation.tudelft.nl">Delft
17 * University of Technology </a>, the Netherlands. <br>
18 * See for project information <a
19 * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
20 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
21 * License (GPL) </a>, no warranty <br>
22 *
23 * @author <a href="http://www.simulation.tudelft.nl/people/jacobs.html">Peter
24 * Jacobs </a>
25 * @version 1.5, 2004-03-18
26 * @since 1.2
27 */
28 public class EventProducerParent extends EventProducerChild
29 {
30 /*** event_c is merely a test event */
31 public static final EventType EVENT_C = new EventType("EVENT_C");
32
33 /*** event_d is merely a test event */
34 protected static EventType eventD = new EventType("EVENT_D");
35
36 /*** event_e is merely a test event */
37 public static final EventType EVENT_E = new EventType("EVENT_E");
38
39 /***
40 * constructs a new EventProducerChild
41 */
42 public EventProducerParent()
43 {
44 super();
45 }
46
47 /***
48 * @see nl.tudelft.simulation.event.EventProducer
49 * #fireEvent(nl.tudelft.simulation.event.EventInterface)
50 */
51 public EventInterface fireEvent(final EventInterface event)
52 {
53 return super.fireEvent(event);
54 }
55 }