Logo Search packages:      
Sourcecode: ardour version File versions

Glib::MainContext Class Reference
[The Main Event Loop]

#include <main.h>

List of all members.

Detailed Description

Main context.

Definition at line 299 of file main.h.

Public Types

typedef GMainContext BaseObjectType
typedef Glib::MainContext CppObjectType

Public Member Functions

bool acquire ()
void add_poll (PollFD &fd, int priority)
bool check (int max_priority, std::vector< PollFD > &fds)
void dispatch ()
GPollFunc get_poll_func ()
const GMainContext * gobj () const
GMainContext * gobj ()
GMainContext * gobj_copy () const
bool iteration (bool may_block)
bool pending ()
bool prepare ()
bool prepare (int &priority)
void query (int max_priority, int &timeout, std::vector< PollFD > &fds)
void reference () const
void release ()
void remove_poll (PollFD &fd)
void set_poll_func (GPollFunc poll_func)
SignalIdle signal_idle ()
SignalIO signal_io ()
SignalTimeout signal_timeout ()
void unreference () const
bool wait (Glib::Cond &cond, Glib::Mutex &mutex)
void wakeup ()

Static Public Member Functions

static Glib::RefPtr< MainContextcreate ()
static Glib::RefPtr< MainContextget_default ()

Private Member Functions

 MainContext (const MainContext &other)
void operator delete (void *, size_t)
MainContextoperator= (const MainContext &other)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< MainContextwrap (GMainContext *gobject, bool take_copy=false)

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

Generated by  Doxygen 1.6.0   Back to index