sigx::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

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::connections_container_wrapper::~connections_container_wrapper (  ) 

References m_connections.


Field Documentation


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

Generated on Mon Aug 3 17:35:09 2009 for sigx++ by  doxygen 1.5.9