Class EventVector

java.lang.Object
edu.wpi.first.util.EventVector

public class EventVector extends Object
A thread-safe container for handling events.
  • Constructor Details

    • EventVector

      public EventVector()
      Default constructor.
  • Method Details

    • add

      public void add(int handle)
      Adds an event to the event vector.
      Parameters:
      handle - The event to add
    • remove

      public void remove(int handle)
      Removes an event from the event vector.
      Parameters:
      handle - The event to remove
    • wakeup

      public void wakeup()
      Wakes up all events in the event vector.