Package edu.wpi.first.util
Class EventVector
java.lang.Object
edu.wpi.first.util.EventVector
A thread-safe container for handling events.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
EventVector
public EventVector()Default constructor.
-
-
Method Details
-
add
Adds an event to the event vector.- Parameters:
handle
- The event to add
-
remove
Removes an event from the event vector.- Parameters:
handle
- The event to remove
-
wakeup
Wakes up all events in the event vector.
-