CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::serviceregistry::BlockingWrapper< Func > Class Template Reference

#include <connect_but_block_self.h>

Public Member Functions

 BlockingWrapper (Func iFunc)
 
template<typename... Args>
void operator() (Args &&...args)
 

Private Member Functions

bool startBlocking ()
 
void unblock ()
 

Private Attributes

Func func_
 
int numBlocks_
 

Detailed Description

template<typename Func>
class edm::serviceregistry::BlockingWrapper< Func >

Definition at line 32 of file connect_but_block_self.h.

Constructor & Destructor Documentation

template<typename Func >
edm::serviceregistry::BlockingWrapper< Func >::BlockingWrapper ( Func  iFunc)
inline

Member Function Documentation

template<typename Func >
template<typename... Args>
void edm::serviceregistry::BlockingWrapper< Func >::operator() ( Args &&...  args)
inline
template<typename Func >
bool edm::serviceregistry::BlockingWrapper< Func >::startBlocking ( )
inlineprivate
template<typename Func >
void edm::serviceregistry::BlockingWrapper< Func >::unblock ( )
inlineprivate

Member Data Documentation

template<typename Func >
Func edm::serviceregistry::BlockingWrapper< Func >::func_
private
template<typename Func >
int edm::serviceregistry::BlockingWrapper< Func >::numBlocks_
private