001// Copyright (c) FIRST and other WPILib contributors.
002// Open Source Software; you can modify and/or share it under the terms of
003// the WPILib BSD license file in the root directory of this project.
004
005package edu.wpi.first.hal.simulation;
006
007import edu.wpi.first.hal.JNIWrapper;
008
009public class SimulatorJNI extends JNIWrapper {
010  public static native void setRuntimeType(int type);
011
012  public static native void waitForProgramStart();
013
014  public static native void setProgramStarted();
015
016  public static native boolean getProgramStarted();
017
018  public static native void restartTiming();
019
020  public static native void pauseTiming();
021
022  public static native void resumeTiming();
023
024  public static native boolean isTimingPaused();
025
026  public static native void stepTiming(long delta);
027
028  public static native void stepTimingAsync(long delta);
029
030  public static native void resetHandles();
031}