casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes | Friends
casa::dbus::Dispatcher Class Reference

#include <Dispatcher.h>

List of all members.

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

Detailed Description

Definition at line 92 of file Dispatcher.h.


Constructor & Destructor Documentation


Member Function Documentation

DBus::Timeout* casa::dbus::Dispatcher::add_timeout ( DBus::Timeout::Internal *  )
DBus::Watch* casa::dbus::Dispatcher::add_watch ( DBus::Watch::Internal *  )

helper function

pure virtual functions from Dispatcher

Referenced by casa::FlagPlotServerProxy::eventloop().

void casa::dbus::Dispatcher::rem_timeout ( DBus::Timeout *  )
void casa::dbus::Dispatcher::rem_watch ( DBus::Watch *  )

Friends And Related Function Documentation

friend class Timeout [friend]

Definition at line 124 of file Dispatcher.h.

friend class Watch [friend]

Definition at line 125 of file Dispatcher.h.


Member Data Documentation

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.

Definition at line 122 of file Dispatcher.h.

Definition at line 117 of file Dispatcher.h.

std::list<Watch*> casa::dbus::Dispatcher::_watches [private]

Definition at line 120 of file Dispatcher.h.


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