MeshLib
 
Loading...
Searching...
No Matches
MR::ViewerEventQueue Class Reference

queue to ignore multiple mouse moves in one frame More...

#include <MRViewerEventQueue.h>

Public Member Functions

MRVIEWER_API void emplace (std::string name, ViewerEventCallback cb, bool skipable=false)
 
MRVIEWER_API void execute ()
 
MRVIEWER_API void popByName (const std::string &name)
 
MRVIEWER_API bool empty () const
 

Detailed Description

queue to ignore multiple mouse moves in one frame

Member Function Documentation

◆ emplace()

MRVIEWER_API void MR::ViewerEventQueue::emplace ( std::string name,
ViewerEventCallback cb,
bool skipable = false )

◆ empty()

MRVIEWER_API bool MR::ViewerEventQueue::empty ( ) const

◆ execute()

MRVIEWER_API void MR::ViewerEventQueue::execute ( )

◆ popByName()

MRVIEWER_API void MR::ViewerEventQueue::popByName ( const std::string & name)

The documentation for this class was generated from the following file: