conexus logo

Conexus::Gtk::DataProgressWatcher Class Reference

#include <dataprogresswatcher.h>

Inheritance diagram for Conexus::Gtk::DataProgressWatcher:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 DataProgressWatcher ()
virtual ~DataProgressWatcher ()
void add_endpoint (Conexus::Endpoint::pointer endpoint, bool watch_read=true, bool watch_write=true)
void remove_endpoint (Conexus::Endpoint::pointer endpoint)

Protected Types

typedef std::set
< Conexus::Endpoint::pointer
Endpoints
typedef std::map
< Conexus::Endpoint::pointer,
sigc::connection > 
ConnectionMap

Protected Member Functions

virtual void on_read_data (size_t n)=0
virtual void on_write_data (size_t n)=0

Protected Attributes

unsigned m_data_count
Endpoints m_endpoints
ConnectionMap m_read_connections
ConnectionMap m_write_connections

Private Member Functions

virtual void on_read_data_proxy (size_t n)
virtual void on_write_data_proxy (size_t n)


Detailed Description

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>

Member Typedef Documentation

typedef std::map<Conexus::Endpoint::pointer, sigc::connection> Conexus::Gtk::DataProgressWatcher::ConnectionMap [protected]


Constructor & Destructor Documentation

Conexus::Gtk::DataProgressWatcher::DataProgressWatcher (  ) 

Conexus::Gtk::DataProgressWatcher::~DataProgressWatcher (  )  [virtual]


Member Function Documentation

void Conexus::Gtk::DataProgressWatcher::add_endpoint ( Conexus::Endpoint::pointer  endpoint,
bool  watch_read = true,
bool  watch_write = true 
)

virtual void Conexus::Gtk::DataProgressWatcher::on_read_data ( size_t  n  )  [protected, pure virtual]

void Conexus::Gtk::DataProgressWatcher::on_read_data_proxy ( size_t  n  )  [private, virtual]

References on_read_data().

Referenced by add_endpoint().

virtual void Conexus::Gtk::DataProgressWatcher::on_write_data ( size_t  n  )  [protected, pure virtual]

void Conexus::Gtk::DataProgressWatcher::on_write_data_proxy ( size_t  n  )  [private, virtual]

References on_write_data().

Referenced by add_endpoint().

void Conexus::Gtk::DataProgressWatcher::remove_endpoint ( Conexus::Endpoint::pointer  endpoint  ) 


Member Data Documentation

Referenced by add_endpoint(), and remove_endpoint().

Referenced by add_endpoint(), and remove_endpoint().

Referenced by add_endpoint(), and remove_endpoint().


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

Generated on Wed Jul 8 15:51:27 2009 for conexus by doxygen 1.5.8