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.

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

References m_connections.

Member Function Documentation

◆ push_back()

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

Definition at line 47 of file FWCollectionSummaryWidget.cc.

47 { m_connections.push_back(iC); }

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

◆ reserve()

void FWCollectionSummaryWidgetConnectionHolder::reserve ( size_t  iSize)
inline

Definition at line 48 of file FWCollectionSummaryWidget.cc.

48 { m_connections.reserve(iSize); }

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

Member Data Documentation

◆ m_connections

std::vector<sigc::connection> FWCollectionSummaryWidgetConnectionHolder::m_connections
FWCollectionSummaryWidgetConnectionHolder::m_connections
std::vector< sigc::connection > m_connections
Definition: FWCollectionSummaryWidget.cc:41