Seg3D
2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
|
A simple class for managing connections. More...
#include <ConnectionHandler.h>
Public Member Functions | |
void | add_connection (const boost::signals2::connection &connection) |
void | add_connection (const ConnectionHandlerConnectionHandle &connection) |
void | disconnect_all () |
A simple class for managing connections.
NOTE: To use this class the derived class needs to call disconnect_all() in the distructor before any of the structures are deleted.
void ConnectionHandler::add_connection | ( | const boost::signals2::connection & | connection | ) |
Add a connection into the list so it can be deleted when disconnect is called
void ConnectionHandler::add_connection | ( | const ConnectionHandlerConnectionHandle & | connection | ) |
Add a connection into the list so it can be deleted when disconnect is called
void ConnectionHandler::disconnect_all | ( | ) |
Disconnect alal the connections that are stored in this class. NOTE: this function needs to be called in the most derived class