CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::InputSource::SourceSentry Class Reference

#include <InputSource.h>

Public Types

typedef signalslot::Signal< void()> Sig
 

Public Member Functions

SourceSentryoperator= (SourceSentry const &)=delete
 
 SourceSentry (Sig &pre, Sig &post)
 
 SourceSentry (SourceSentry const &)=delete
 
 ~SourceSentry ()
 

Private Attributes

Sigpost_
 

Detailed Description

Definition at line 276 of file InputSource.h.

Member Typedef Documentation

Definition at line 278 of file InputSource.h.

Constructor & Destructor Documentation

edm::InputSource::SourceSentry::SourceSentry ( Sig pre,
Sig post 
)

Definition at line 597 of file InputSource.cc.

597  : post_(post) {
598  pre();
599  }
edm::InputSource::SourceSentry::~SourceSentry ( )

Definition at line 601 of file InputSource.cc.

References post_.

601  {
602  post_();
603  }
edm::InputSource::SourceSentry::SourceSentry ( SourceSentry const &  )
delete

Member Function Documentation

SourceSentry& edm::InputSource::SourceSentry::operator= ( SourceSentry const &  )
delete

Member Data Documentation

Sig& edm::InputSource::SourceSentry::post_
private

Definition at line 286 of file InputSource.h.

Referenced by ~SourceSentry().