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.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Public Member Functions | List of all members
Core::ConnectionHandler Class Reference

A simple class for managing connections. More...

#include <ConnectionHandler.h>

Inheritance diagram for Core::ConnectionHandler:
Core::BooleanStateGroupPrivate Core::LargeVolumeCachePrivate Core::StateHandler Core::VolumeSlice QtUtils::QtConnectorBase QtUtils::QtRenderWidget QtUtils::QtTransferFunctionScene QtUtils::QtTransferFunctionWidget Seg3D::ApplicationInterface Seg3D::AutoSave Seg3D::ControllerInterface Seg3D::ITKFilterPrivate Seg3D::LayerAvailabilityNotifier Seg3D::LayerFilterPrivate Seg3D::LayerGroupPrivate Seg3D::LayerManagerWidget Seg3D::LayerPrivate Seg3D::LayerWidgetPrivate Seg3D::Menu Seg3D::MessageWindow Seg3D::PreferencesInterface Seg3D::ProjectDockWidget Seg3D::ProvenanceDockWidgetPrivate Seg3D::PythonConsoleWidget Seg3D::Renderer Seg3D::RenderingDockWidget Seg3D::ShortcutsInterface Seg3D::StatusBarWidget Seg3D::ToolInterface Seg3D::ToolsDockWidget Seg3D::TransferFunctionFeatureWidget Seg3D::UndoBuffer Seg3D::ViewerWidget

Public Member Functions

void add_connection (const boost::signals2::connection &connection)
 
void add_connection (const ConnectionHandlerConnectionHandle &connection)
 
void disconnect_all ()
 

Detailed Description

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.

Member Function Documentation

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


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