public class DriverStationSim
extends java.lang.Object
Constructor and Description |
---|
DriverStationSim() |
Modifier and Type | Method and 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) |
public CallbackStore registerEnabledCallback(NotifyCallback callback, boolean initialNotify)
public boolean getEnabled()
public void setEnabled(boolean enabled)
public CallbackStore registerAutonomousCallback(NotifyCallback callback, boolean initialNotify)
public boolean getAutonomous()
public void setAutonomous(boolean autonomous)
public CallbackStore registerTestCallback(NotifyCallback callback, boolean initialNotify)
public boolean getTest()
public void setTest(boolean test)
public CallbackStore registerEStopCallback(NotifyCallback callback, boolean initialNotify)
public boolean getEStop()
public void setEStop(boolean eStop)
public CallbackStore registerFmsAttachedCallback(NotifyCallback callback, boolean initialNotify)
public boolean getFmsAttached()
public void setFmsAttached(boolean fmsAttached)
public CallbackStore registerDsAttachedCallback(NotifyCallback callback, boolean initialNotify)
public boolean getDsAttached()
public void setDsAttached(boolean dsAttached)
public void resetData()