sigx::connection_handler::connection_handler::connections_container_wrapper Struct Reference

#include <connection_handler.h>


Public Types

typedef std::map< const
sigc_connection_ptr *const
, std::tr1::shared_ptr
< sigc_connection_ptr > > 
container_type
 a map of connections living in the context of the owner thread.

Public Member Functions

 ~connections_container_wrapper ()

Data Fields

container_type m_connections


Detailed Description

A wrapper for a container of sigc::connectionS. This wrapper is necessary because the destructor ensures disconnecting the connections when the owner thread finishes. Disconnecting the connections explicitly is only necessary if the signals don't live in the server thread's local storage but in the thread managed dispatchable which is a wrapper object surviving the thread itself.

Member Typedef Documentation

typedef std::map<const sigc_connection_ptr* const , std::tr1::shared_ptr<sigc_connection_ptr> > sigx::connection_handler::connection_handler::connections_container_wrapper::container_type

a map of connections living in the context of the owner thread.

Note:
We must use a shared_ptr because auto_ptr doesn't meet the copy-constructible requirement


Constructor & Destructor Documentation

sigx::connection_handler::connection_handler::connections_container_wrapper::~connections_container_wrapper (  ) 


Field Documentation

container_type sigx::connection_handler::connection_handler::connections_container_wrapper::m_connections


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

Generated on Wed Jan 28 21:38:00 2009 for sigx++ by  doxygen 1.5.8