Package edu.wpi.first.wpilibj.simulation
Class CallbackStore
java.lang.Object
edu.wpi.first.wpilibj.simulation.CallbackStore
- All Implemented Interfaces:
AutoCloseable
public class CallbackStore extends Object implements AutoCloseable
Manages simulation callbacks; each object is associated with a callback.
-
Constructor Summary
Constructors Constructor Description CallbackStore(int index, int channel, int uid, edu.wpi.first.wpilibj.simulation.CallbackStore.CancelCallbackChannelFunc ccf)
Note: This constructor is for simulation classes only.CallbackStore(int index, int uid, edu.wpi.first.wpilibj.simulation.CallbackStore.CancelCallbackFunc ccf)
Note: This constructor is for simulation classes only.CallbackStore(int uid, edu.wpi.first.wpilibj.simulation.CallbackStore.CancelCallbackNoIndexFunc ccf)
Note: This constructor is for simulation classes only. -
Method Summary
Modifier and Type Method Description void
close()
Cancel the callback associated with this object.
-
Constructor Details
-
CallbackStore
public CallbackStore(int index, int uid, edu.wpi.first.wpilibj.simulation.CallbackStore.CancelCallbackFunc ccf)Note: This constructor is for simulation classes only. It should not be called by teams!- Parameters:
index
- TODOuid
- TODOccf
- TODO
-
CallbackStore
public CallbackStore(int index, int channel, int uid, edu.wpi.first.wpilibj.simulation.CallbackStore.CancelCallbackChannelFunc ccf)Note: This constructor is for simulation classes only. It should not be called by teams!- Parameters:
index
- TODOchannel
- TODOuid
- TODOccf
- TODO
-
CallbackStore
public CallbackStore(int uid, edu.wpi.first.wpilibj.simulation.CallbackStore.CancelCallbackNoIndexFunc ccf)Note: This constructor is for simulation classes only. It should not be called by teams!- Parameters:
uid
- TODOccf
- TODO
-
-
Method Details
-
close
Cancel the callback associated with this object.- Specified by:
close
in interfaceAutoCloseable
-