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

◆ BlockingWrapper()

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

Member Function Documentation

◆ operator()()

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

◆ startBlocking()

template<typename Func >
bool edm::serviceregistry::BlockingWrapper< Func >::startBlocking ( )
inlineprivate

◆ unblock()

template<typename Func >
void edm::serviceregistry::BlockingWrapper< Func >::unblock ( )
inlineprivate

Member Data Documentation

◆ func_

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

◆ numBlocks_

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