|
|
#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/CoinViewer.h>
Inheritance diagram for CoinViewer:Public Types | |
| using | RecursiveMutex = std::recursive_mutex |
| using | RecursiveMutexLock = std::unique_lock< RecursiveMutex > |
| using | RecursiveMutexLockPtr = std::shared_ptr< RecursiveMutexLock > |
| using | RecursiveMutexPtr = std::shared_ptr< RecursiveMutex > |
Public Member Functions | |
| CoinViewer (QWidget *parent, const char *name=NULL, SbBool embed=TRUE, SoQtFullViewer::BuildFlag flag=BUILD_ALL, SoQtViewer::Type type=BROWSER) | |
| RecursiveMutexLockPtr | getScopedLock () |
| void | setMutex (RecursiveMutexPtr const &m) |
| ~CoinViewer () override | |
Protected Member Functions | |
| void | actualRedraw (void) override |
| actualRedraw Reimplement the redraw method in order to lock engine mutex More... | |
Protected Attributes | |
| RecursiveMutexPtr | mutex |
Basically this is a SoQtExaminerViewer, with the extension that you can specify a mutex that protects the drawing.
Definition at line 38 of file CoinViewer.h.
| using RecursiveMutex = std::recursive_mutex |
Definition at line 50 of file CoinViewer.h.
| using RecursiveMutexLock = std::unique_lock<RecursiveMutex> |
Definition at line 52 of file CoinViewer.h.
| using RecursiveMutexLockPtr = std::shared_ptr<RecursiveMutexLock> |
Definition at line 53 of file CoinViewer.h.
| using RecursiveMutexPtr = std::shared_ptr<RecursiveMutex> |
Definition at line 51 of file CoinViewer.h.
| CoinViewer | ( | QWidget * | parent, |
| const char * | name = NULL, |
||
| SbBool | embed = TRUE, |
||
| SoQtFullViewer::BuildFlag | flag = BUILD_ALL, |
||
| SoQtViewer::Type | type = BROWSER |
||
| ) |
Definition at line 32 of file CoinViewer.cpp.
|
overridedefault |
|
overrideprotected |
actualRedraw Reimplement the redraw method in order to lock engine mutex
Definition at line 64 of file CoinViewer.cpp.
Here is the call graph for this function:| auto getScopedLock | ( | ) |
Definition at line 51 of file CoinViewer.cpp.
Here is the caller graph for this function:| void setMutex | ( | RecursiveMutexPtr const & | m | ) |
If set, the drawing is protected by this mutex. This overwrites the default mutex.
Definition at line 45 of file CoinViewer.cpp.
Here is the caller graph for this function:
|
protected |
Definition at line 72 of file CoinViewer.h.