WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::util::EventVector Struct Reference

#include <wpi/util/EventVector.hpp>

Public Member Functions

void Add (WPI_EventHandle handle)
 Adds an event to the event vector.
void Remove (WPI_EventHandle handle)
 Removes an event from the event vector.
void Wakeup ()
 Wakes up all events in the event vector.

Public Attributes

wpi::util::mutex mutex
wpi::util::SmallVector< WPI_EventHandle, 4 > events

Member Function Documentation

◆ Add()

void wpi::util::EventVector::Add ( WPI_EventHandle handle)
inline

Adds an event to the event vector.

Parameters
handlethe event to add

◆ Remove()

void wpi::util::EventVector::Remove ( WPI_EventHandle handle)
inline

Removes an event from the event vector.

Parameters
handleThe event to remove

◆ Wakeup()

void wpi::util::EventVector::Wakeup ( )
inline

Wakes up all events in the event vector.

Member Data Documentation

◆ events

wpi::util::SmallVector<WPI_EventHandle, 4> wpi::util::EventVector::events

◆ mutex

wpi::util::mutex wpi::util::EventVector::mutex

The documentation for this struct was generated from the following file: