dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
cf::runloop Class Reference

a run loop on a thread of its own: sources are added with += and removed with -=, and the object's construction waits until that loop is up, so a source may be attached right away. Every dxd entity that takes IOKit or CF notifications owns one More...

#include <cf_runloop.h>

Inheritance diagram for cf::runloop:
Collaboration diagram for cf::runloop:

Classes

class  pause
 a scope that holds the run loop's thread still: it is made to perform nothing until the scope ends, so another thread may touch what the loop's callbacks reach More...
class  source

Public Member Functions

runloop & operator+= (const::CFRunLoopSourceRef source)
runloop & operator-= (const::CFRunLoopSourceRef source)
 operator::CFRunLoopRef () const
void run ()
 runloop ()
void stop () noexcept
bool waiting () noexcept

Protected Member Functions

virtual void conclude () noexcept
virtual void launch ()
virtual ~runloop ()

Detailed Description

a run loop on a thread of its own: sources are added with += and removed with -=, and the object's construction waits until that loop is up, so a source may be attached right away. Every dxd entity that takes IOKit or CF notifications owns one

Constructor & Destructor Documentation

◆ ~runloop()

virtual cf::runloop::~runloop ( )
inlineprotectedvirtual
Here is the call graph for this function:

◆ runloop()

cf::runloop::runloop ( )
inline
Here is the caller graph for this function:

Member Function Documentation

◆ conclude()

virtual void cf::runloop::conclude ( )
inlineprotectedvirtualnoexcept

◆ launch()

virtual void cf::runloop::launch ( )
inlineprotectedvirtual

◆ operator+=()

runloop & cf::runloop::operator+= ( const::CFRunLoopSourceRef source)
inline
Here is the call graph for this function:

◆ operator-=()

runloop & cf::runloop::operator-= ( const::CFRunLoopSourceRef source)
inline
Here is the call graph for this function:

◆ operator::CFRunLoopRef()

cf::runloop::operator::CFRunLoopRef ( ) const
inline
Here is the caller graph for this function:

◆ run()

void cf::runloop::run ( )
inline
Here is the caller graph for this function:

◆ stop()

void cf::runloop::stop ( )
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ waiting()

bool cf::runloop::waiting ( )
inlinenoexcept

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

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.