Public Member Functions | Private Member Functions | Private Attributes

Synchronizer Class Reference

#include <Synchronizer.h>

Inheritance diagram for Synchronizer:
Session SynchronizedQueue< T >

List of all members.

Public Member Functions

 Synchronizer (boost::function< void()> signalhandler)
virtual ~Synchronizer ()
void signal ()
void callMainloop ()

Private Member Functions

void _consume ()

Private Attributes

boost::function< void()> m_signalhandler
int fdr
int fdw
GIOChannel * io_channel
guint io_channel_watch_id

Constructor & Destructor Documentation

Synchronizer::Synchronizer ( boost::function< void()>  signalhandler  ) 
Synchronizer::~Synchronizer (  )  [virtual]

Member Function Documentation

void Synchronizer::_consume (  )  [private]

References fdr, tls_tunnel::read(), and UT_DEBUGMSG.

Referenced by callMainloop().

void Synchronizer::callMainloop (  )  [inline]

References _consume(), and m_signalhandler.

Referenced by s_glib_mainloop_callback().

Member Data Documentation

int Synchronizer::fdr [private]
int Synchronizer::fdw [private]

Referenced by signal(), Synchronizer(), and ~Synchronizer().

GIOChannel* Synchronizer::io_channel [private]

Referenced by Synchronizer(), and ~Synchronizer().

boost::function<void ()> Synchronizer::m_signalhandler [private]

Referenced by callMainloop().

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