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 40 of file FWCollectionSummaryWidget.cc.

Constructor & Destructor Documentation

FWCollectionSummaryWidgetConnectionHolder::~FWCollectionSummaryWidgetConnectionHolder ( )
inline

Definition at line 43 of file FWCollectionSummaryWidget.cc.

References m_connections.

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

Member Function Documentation

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

Definition at line 46 of file FWCollectionSummaryWidget.cc.

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

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

Definition at line 49 of file FWCollectionSummaryWidget.cc.

References m_connections.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget().

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

Member Data Documentation

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