WPILibC++ 2023.4.3-108-ge5452e3
wpi::EventVector Struct Reference

#include <wpi/EventVector.h>

Public Member Functions

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

Public Attributes

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

Member Function Documentation

◆ Add()

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

Adds an event to the event vector.

Parameters
handlethe event to add

◆ Remove()

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

Removes an event from the event vector.

Parameters
handleThe event to remove

◆ Wakeup()

void wpi::EventVector::Wakeup ( )
inline

Wakes up all events in the event vector.

Member Data Documentation

◆ events

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

◆ mutex

wpi::mutex wpi::EventVector::mutex

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