CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
FWCollectionSummaryWidgetConnectionHolder Struct Reference

Public Member Functions

void push_back (const sigc::connection &iC)
 
void reserve (size_t iSize)
 
 ~FWCollectionSummaryWidgetConnectionHolder ()
 

Public Attributes

std::vector< sigc::connection > m_connections
 

Detailed Description

Definition at line 40 of file FWCollectionSummaryWidget.cc.

Constructor & Destructor Documentation

◆ ~FWCollectionSummaryWidgetConnectionHolder()

FWCollectionSummaryWidgetConnectionHolder::~FWCollectionSummaryWidgetConnectionHolder ( )
inline

Definition at line 43 of file FWCollectionSummaryWidget.cc.

References m_connections.

43  {
44  for_each(
45  m_connections.begin(), m_connections.end(), std::bind(&sigc::connection::disconnect, std::placeholders::_1));
46  }

Member Function Documentation

◆ push_back()

void FWCollectionSummaryWidgetConnectionHolder::push_back ( const sigc::connection &  iC)
inline

Definition at line 47 of file FWCollectionSummaryWidget.cc.

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

47 { m_connections.push_back(iC); }

◆ reserve()

void FWCollectionSummaryWidgetConnectionHolder::reserve ( size_t  iSize)
inline

Definition at line 48 of file FWCollectionSummaryWidget.cc.

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

48 { m_connections.reserve(iSize); }

Member Data Documentation

◆ m_connections

std::vector<sigc::connection> FWCollectionSummaryWidgetConnectionHolder::m_connections