BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
Bse::TickStamp::Wakeup Class Reference
Inheritance diagram for Bse::TickStamp::Wakeup:
Inheritance graph
[legend]

Public Member Functions

void awake_after (uint64 stamp)
 
void awake_before (uint64 stamp)
 
- Public Member Functions inherited from std::enable_shared_from_this< Wakeup >
enable_shared_from_this (T...args)
 
operator= (T...args)
 
shared_from_this (T...args)
 
~enable_shared_from_this (T...args)
 

Protected Member Functions

 Wakeup (const std::function< void()> &wakeup)
 

Static Protected Member Functions

static void _emit_wakeups (uint64 wakeup_stamp)
 

Member Function Documentation

void Bse::TickStamp::Wakeup::awake_after ( uint64  stamp)
Parameters
stampstamp to trigger wakeup

Wake the current thread up at a future tick increment which exceeds stamp.

void Bse::TickStamp::Wakeup::awake_before ( uint64  stamp)
Parameters
stamptick stamp update to trigger wakeup

Wakeup the currently running thread upon the last global tick stamp update (see Bse::TickStamp::current()) that happens prior to updating the global tick stamp to tick_stamp. (If the moment of wakeup has already passed by, the thread is woken up at the next global tick stamp update.)


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