View Javadoc
1   package org.opentrafficsim.imb.modelproperties;
2   
3   /**
4    * This interface defines that should be implemented in order to transmit a model property to an IMB Model Controller.
5    * <p>
6    * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
8    * <p>
9    * @version $Revision$, $LastChangedDate$, by $Author$, initial version Oct 26, 2016 <br>
10   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
11   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
12   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
13   */
14  public interface IMBModelPropertyTransmitter
15  {
16      /**
17       * Construct an Object array containing the objects that must be transmitted. Each of these objects must be a Boolean,
18       * Integer, Double, or String,or implement prepare and qWrite.
19       * @return Object[]; Object array containing the objects that must be transmitted
20       */
21      public Object[] buildMessage();
22  
23  }