neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::waitable_event Class Reference

#include <waitable_event.hpp>

Public Member Functions

 waitable_event ()
 
void signal_one () const
 
void signal_all () const
 
void wait () const
 
bool wait (uint32_t aTimeout_ms) const
 
bool msg_wait (const i_message_queue &aMessageQueue) const
 
bool msg_wait (const i_message_queue &aMessageQueue, uint32_t aTimeout_ms) const
 
void reset () const
 

Static Public Attributes

static const uint32_t ShortTimeout_ms = 20
 

Detailed Description

Definition at line 50 of file waitable_event.hpp.

Constructor & Destructor Documentation

◆ waitable_event()

neolib::waitable_event::waitable_event ( )

Member Function Documentation

◆ msg_wait() [1/2]

bool neolib::waitable_event::msg_wait ( const i_message_queue aMessageQueue) const

◆ msg_wait() [2/2]

bool neolib::waitable_event::msg_wait ( const i_message_queue aMessageQueue,
uint32_t  aTimeout_ms 
) const

◆ reset()

void neolib::waitable_event::reset ( ) const

◆ signal_all()

void neolib::waitable_event::signal_all ( ) const

◆ signal_one()

void neolib::waitable_event::signal_one ( ) const

◆ wait() [1/2]

void neolib::waitable_event::wait ( ) const

◆ wait() [2/2]

bool neolib::waitable_event::wait ( uint32_t  aTimeout_ms) const

Member Data Documentation

◆ ShortTimeout_ms

const uint32_t neolib::waitable_event::ShortTimeout_ms = 20
static

Definition at line 54 of file waitable_event.hpp.


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