casa
$Rev:20696$
|
#include <Dispatcher.h>
Public Member Functions | |
Dispatcher () | |
~Dispatcher () | |
void | enter () |
pure virtual functions from Dispatcher | |
void | leave () |
DBus::Timeout * | add_timeout (DBus::Timeout::Internal *) |
void | rem_timeout (DBus::Timeout *) |
DBus::Watch * | add_watch (DBus::Watch::Internal *) |
void | rem_watch (DBus::Watch *) |
void | do_iteration () |
helper function | |
void | watch_ready (Watch &) |
void | timeout_expired (Timeout &) |
void | dispatch () |
Private Attributes | |
DBus::DefaultMutex | _mutex_t |
std::list< Timeout * > | _timeouts |
DBus::DefaultMutex | _mutex_w |
std::list< Watch * > | _watches |
bool | _running |
int | _leave_pipe [2] |
Friends | |
class | Timeout |
class | Watch |
Definition at line 92 of file Dispatcher.h.
DBus::Timeout* casa::dbus::Dispatcher::add_timeout | ( | DBus::Timeout::Internal * | ) |
DBus::Watch* casa::dbus::Dispatcher::add_watch | ( | DBus::Watch::Internal * | ) |
void casa::dbus::Dispatcher::dispatch | ( | ) |
void casa::dbus::Dispatcher::do_iteration | ( | ) |
helper function
void casa::dbus::Dispatcher::enter | ( | ) |
pure virtual functions from Dispatcher
Referenced by casa::FlagPlotServerProxy::eventloop().
void casa::dbus::Dispatcher::leave | ( | ) |
void casa::dbus::Dispatcher::rem_timeout | ( | DBus::Timeout * | ) |
void casa::dbus::Dispatcher::rem_watch | ( | DBus::Watch * | ) |
void casa::dbus::Dispatcher::timeout_expired | ( | Timeout & | ) |
void casa::dbus::Dispatcher::watch_ready | ( | Watch & | ) |
friend class Timeout [friend] |
Definition at line 124 of file Dispatcher.h.
friend class Watch [friend] |
Definition at line 125 of file Dispatcher.h.
int casa::dbus::Dispatcher::_leave_pipe[2] [private] |
Definition at line 123 of file Dispatcher.h.
DBus::DefaultMutex casa::dbus::Dispatcher::_mutex_t [private] |
Definition at line 116 of file Dispatcher.h.
DBus::DefaultMutex casa::dbus::Dispatcher::_mutex_w [private] |
Definition at line 119 of file Dispatcher.h.
bool casa::dbus::Dispatcher::_running [private] |
Definition at line 122 of file Dispatcher.h.
std::list<Timeout*> casa::dbus::Dispatcher::_timeouts [private] |
Definition at line 117 of file Dispatcher.h.
std::list<Watch*> casa::dbus::Dispatcher::_watches [private] |
Definition at line 120 of file Dispatcher.h.