Interface SimTimeFormatter

All Known Implementing Classes:
DefaultSimTimeFormatter

public interface SimTimeFormatter
SimTimeFormatter formats the message to include the simulation time.

Copyright (c) 2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.

Author:
Alexander Verbraeck
  • Method Summary

    Modifier and Type
    Method
    Description
    format(String message)
    Format the message to include the simulation time.
    void
    Set the simulator used (can be null).
  • Method Details

    • format

      String format(String message)
      Format the message to include the simulation time.
      Parameters:
      message - String; the message to format
      Returns:
      the formatted message.
    • setSimulator

      void setSimulator(SimulatorInterface<?> simulator)
      Set the simulator used (can be null).
      Parameters:
      simulator - SimulatorInterface<?,?,?>; set the simulator