ardour
|
#include <event_loop.h>
Classes | |
struct | BaseRequestObject |
struct | InvalidationRecord |
Public Types | |
enum | RequestType { range_guarantee = ~0 } |
Public Member Functions | |
EventLoop () | |
virtual | ~EventLoop () |
virtual void | call_slot (InvalidationRecord *, const boost::function< void()> &)=0 |
virtual Glib::Threads::Mutex & | slot_invalidation_mutex ()=0 |
Static Public Member Functions | |
static void * | invalidate_request (void *data) |
static EventLoop * | get_event_loop_for_thread () |
static void | set_event_loop_for_thread (EventLoop *ui) |
Static Private Attributes | |
static Glib::Threads::Private < EventLoop > | thread_event_loop |
An EventLoop is as basic abstraction designed to be used with any "user interface" (not necessarily graphical) that needs to wait on events/requests and dispatch/process them as they arrive.
This is a very basic class that doesn't by itself provide an actual event loop or thread. See BaseUI for the "real" object to be used when something like this is needed (it inherits from EventLoop).
Definition at line 41 of file event_loop.h.
Enumerator | |
---|---|
range_guarantee |
Definition at line 47 of file event_loop.h.
|
inline |
Definition at line 44 of file event_loop.h.
|
inlinevirtual |
Definition at line 45 of file event_loop.h.
|
pure virtual |
|
static |
Definition at line 31 of file event_loop.cc.
|
static |
Definition at line 42 of file event_loop.cc.
|
static |
Definition at line 36 of file event_loop.cc.
|
pure virtual |
Implemented in AbstractUI< RequestObject >, AbstractUI< TestUIRequest >, AbstractUI< UIRequest >, and AbstractUI< MidiUIRequest >.
|
staticprivate |
Definition at line 80 of file event_loop.h.