Package edu.wpi.first.hal.sim
Class DriverStationSim
- java.lang.Object
-
- edu.wpi.first.hal.sim.DriverStationSim
-
public class DriverStationSim extends Object
-
-
Constructor Summary
Constructors Constructor Description DriverStationSim()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAutonomous()
boolean
getDsAttached()
boolean
getEnabled()
boolean
getEStop()
boolean
getFmsAttached()
boolean
getTest()
CallbackStore
registerAutonomousCallback(NotifyCallback callback, boolean initialNotify)
CallbackStore
registerDsAttachedCallback(NotifyCallback callback, boolean initialNotify)
CallbackStore
registerEnabledCallback(NotifyCallback callback, boolean initialNotify)
CallbackStore
registerEStopCallback(NotifyCallback callback, boolean initialNotify)
CallbackStore
registerFmsAttachedCallback(NotifyCallback callback, boolean initialNotify)
CallbackStore
registerTestCallback(NotifyCallback callback, boolean initialNotify)
void
resetData()
void
setAutonomous(boolean autonomous)
void
setDsAttached(boolean dsAttached)
void
setEnabled(boolean enabled)
void
setEStop(boolean eStop)
void
setFmsAttached(boolean fmsAttached)
void
setTest(boolean test)
-
-
-
Method Detail
-
registerEnabledCallback
public CallbackStore registerEnabledCallback(NotifyCallback callback, boolean initialNotify)
-
getEnabled
public boolean getEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
registerAutonomousCallback
public CallbackStore registerAutonomousCallback(NotifyCallback callback, boolean initialNotify)
-
getAutonomous
public boolean getAutonomous()
-
setAutonomous
public void setAutonomous(boolean autonomous)
-
registerTestCallback
public CallbackStore registerTestCallback(NotifyCallback callback, boolean initialNotify)
-
getTest
public boolean getTest()
-
setTest
public void setTest(boolean test)
-
registerEStopCallback
public CallbackStore registerEStopCallback(NotifyCallback callback, boolean initialNotify)
-
getEStop
public boolean getEStop()
-
setEStop
public void setEStop(boolean eStop)
-
registerFmsAttachedCallback
public CallbackStore registerFmsAttachedCallback(NotifyCallback callback, boolean initialNotify)
-
getFmsAttached
public boolean getFmsAttached()
-
setFmsAttached
public void setFmsAttached(boolean fmsAttached)
-
registerDsAttachedCallback
public CallbackStore registerDsAttachedCallback(NotifyCallback callback, boolean initialNotify)
-
getDsAttached
public boolean getDsAttached()
-
setDsAttached
public void setDsAttached(boolean dsAttached)
-
resetData
public void resetData()
-
-