casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | Friends | List of all members
casa::dbus::Dispatcher Class Reference

#include <Dispatcher.h>

Inheritance diagram for casa::dbus::Dispatcher:

Public Member Functions

 Dispatcher ()
 
 ~Dispatcher ()
 
void enter ()
 pure virtual functions from Dispatcher More...
 
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 More...
 
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 97 of file Dispatcher.h.

Constructor & Destructor Documentation

casa::dbus::Dispatcher::Dispatcher ( )
casa::dbus::Dispatcher::~Dispatcher ( )

Member Function Documentation

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 )

Friends And Related Function Documentation

friend class Timeout
friend

Definition at line 129 of file Dispatcher.h.

friend class Watch
friend

Definition at line 130 of file Dispatcher.h.

Member Data Documentation

int casa::dbus::Dispatcher::_leave_pipe[2]
private

Definition at line 128 of file Dispatcher.h.

DBus::DefaultMutex casa::dbus::Dispatcher::_mutex_t
private

Definition at line 121 of file Dispatcher.h.

DBus::DefaultMutex casa::dbus::Dispatcher::_mutex_w
private

Definition at line 124 of file Dispatcher.h.

bool casa::dbus::Dispatcher::_running
private

Definition at line 127 of file Dispatcher.h.

std::list<Timeout*> casa::dbus::Dispatcher::_timeouts
private

Definition at line 122 of file Dispatcher.h.

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

Definition at line 125 of file Dispatcher.h.


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