CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 39 of file FWCollectionSummaryWidget.cc.

Constructor & Destructor Documentation

FWCollectionSummaryWidgetConnectionHolder::~FWCollectionSummaryWidgetConnectionHolder ( )
inline

Definition at line 42 of file FWCollectionSummaryWidget.cc.

References m_connections.

42  {
43  for_each(m_connections.begin(),m_connections.end(), boost::bind(&sigc::connection::disconnect,_1));
44  }

Member Function Documentation

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

Definition at line 45 of file FWCollectionSummaryWidget.cc.

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

45  {
46  m_connections.push_back(iC);
47  }
void FWCollectionSummaryWidgetConnectionHolder::reserve ( size_t  iSize)
inline

Definition at line 48 of file FWCollectionSummaryWidget.cc.

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

48  {
49  m_connections.reserve(iSize);
50  }

Member Data Documentation

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