YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::OneShotEvent::TimedWaiter Struct Reference

Public only because Waiter is public. More...

#include <one_shot_event.hpp>

Inheritance diagram for yaclib::OneShotEvent::TimedWaiter:
[legend]
Collaboration diagram for yaclib::OneShotEvent::TimedWaiter:
[legend]

Public Member Functions

void Call () noexcept final
 
- Public Member Functions inherited from yaclib::Job
virtual void Drop () noexcept
 
- Public Member Functions inherited from yaclib::IRef
virtual void IncRef () noexcept
 Increments reference counter.
 
virtual void DecRef () noexcept
 Decrements reference counter.
 
virtual ~IRef () noexcept=default
 
- Public Member Functions inherited from yaclib::detail::MutexEvent
Token Make () noexcept
 
void Wait (Token &token) noexcept
 
template<typename Rep , typename Period >
bool Wait (Token &token, const std::chrono::duration< Rep, Period > &timeout_duration) noexcept
 
template<typename Clock , typename Duration >
bool Wait (Token &token, const std::chrono::time_point< Clock, Duration > &timeout_time) noexcept
 
void Set () noexcept
 
void Reset () noexcept
 

Additional Inherited Members

- Public Types inherited from yaclib::detail::MutexEvent
using Token = std::unique_lock< yaclib_std::mutex >
 
- Public Attributes inherited from yaclib::detail::Node
Nodenext = nullptr
 

Detailed Description

Public only because Waiter is public.

Definition at line 225 of file one_shot_event.hpp.

Member Function Documentation

◆ Call()

void yaclib::OneShotEvent::TimedWaiter::Call ( )
inlinefinalvirtualnoexcept

Reimplemented from yaclib::IFunc.

Definition at line 226 of file one_shot_event.hpp.

References yaclib::IRef::DecRef(), and yaclib::detail::MutexEvent::Set().


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