Omnidome
Fulldome Mapping Software Toolkit
|
Mixin with a function to lock the widget temporarily. More...
#include <Locked.h>
Public Member Functions | |
template<typename F > | |
void | locked (F f) |
Lock widget and execute given functor. More... | |
bool | isLocked () const |
Return true if widget is locked. More... | |
Private Attributes | |
bool | locked_ = false |
Flag which sets if widgets are currently locked. More... | |
Mixin with a function to lock the widget temporarily.
|
inline |
Return true if widget is locked.
|
inline |
Lock widget and execute given functor.
|
private |
Flag which sets if widgets are currently locked.