25 MRVIEWER_API
void popByName(
const std::string& name );
26 MRVIEWER_API
bool empty()
const;
35 mutable std::recursive_mutex mutex_;
36 std::queue<NamedEvent> queue_;
37 bool lastSkipable_{
false};
queue to ignore multiple mouse moves in one frame
Definition MRViewerEventQueue.h:17
ViewerEventCallback cb
Definition MRViewerEventQueue.h:32
void execute()
execute all events in queue
void emplace(std::string name, ViewerEventCallback cb, bool skipable=false)
std::string name
Definition MRViewerEventQueue.h:31
void popByName(const std::string &name)
pop all events while they have this name
std::function< void()> ViewerEventCallback
Definition MRViewerFwd.h:79
only for bindings generation
Definition MRCameraOrientationPlugin.h:8