WPILibC++ 2024.3.2
wpi::detail::PromiseFactoryBase Class Reference

#include <wpi/future.h>

Inheritance diagram for wpi::detail::PromiseFactoryBase:
wpi::PromiseFactory< R > wpi::PromiseFactory< T > wpi::PromiseFactory< void >

Public Member Functions

 ~PromiseFactoryBase ()
 
bool IsActive () const
 
wpi::mutexGetResultMutex ()
 
void Notify ()
 
void Wait (std::unique_lock< wpi::mutex > &lock)
 
template<class Clock , class Duration >
bool WaitUntil (std::unique_lock< wpi::mutex > &lock, const std::chrono::time_point< Clock, Duration > &timeout_time)
 
void IgnoreResult (uint64_t request)
 
uint64_t CreateRequest ()
 
bool EraseRequest (uint64_t request)
 
uint64_t CreateErasedRequest ()
 

Constructor & Destructor Documentation

◆ ~PromiseFactoryBase()

wpi::detail::PromiseFactoryBase::~PromiseFactoryBase ( )

Member Function Documentation

◆ CreateErasedRequest()

uint64_t wpi::detail::PromiseFactoryBase::CreateErasedRequest ( )
inline

◆ CreateRequest()

uint64_t wpi::detail::PromiseFactoryBase::CreateRequest ( )

◆ EraseRequest()

bool wpi::detail::PromiseFactoryBase::EraseRequest ( uint64_t  request)

◆ GetResultMutex()

wpi::mutex & wpi::detail::PromiseFactoryBase::GetResultMutex ( )
inline

◆ IgnoreResult()

void wpi::detail::PromiseFactoryBase::IgnoreResult ( uint64_t  request)

◆ IsActive()

bool wpi::detail::PromiseFactoryBase::IsActive ( ) const
inline

◆ Notify()

void wpi::detail::PromiseFactoryBase::Notify ( )
inline

◆ Wait()

void wpi::detail::PromiseFactoryBase::Wait ( std::unique_lock< wpi::mutex > &  lock)
inline

◆ WaitUntil()

template<class Clock , class Duration >
bool wpi::detail::PromiseFactoryBase::WaitUntil ( std::unique_lock< wpi::mutex > &  lock,
const std::chrono::time_point< Clock, Duration > &  timeout_time 
)
inline

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