casa
5.7.0-16
|
CallOnce: func has one arg. More...
#include <Mutex.h>
Public Member Functions | |
CallOnce () | |
template<typename T > | |
void | operator() (void(*fn)(T), T t) |
Private Member Functions | |
CallOnce (const CallOnce &) | |
Forbid copy constructor. More... | |
CallOnce & | operator= (const CallOnce &) |
Forbid assignment. More... | |
Private Attributes | |
Bool | itsFlag |
CallOnce: func has one arg.
One arg can also be used as an output or to refer to an object (more args).
|
inline |
Definition at line 254 of file Mutex.h.
References itsFlag, and casacore::True.
|
private |
Forbid copy constructor.
|
inline |
Definition at line 262 of file Mutex.h.
References casacore::False, and itsFlag.
|
private |
Definition at line 282 of file Mutex.h.
Referenced by CallOnce(), and operator()().