MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ViewerSetup Class Reference

#include <MRSetupViewer.h>

Public Member Functions

 ViewerSetup ()=default
 explicitly define ctors to avoid warning C5267: definition of implicit copy constructor is deprecated because it has a user-provided destructor
 
 ViewerSetup (const ViewerSetup &)=default
 
 ViewerSetup (ViewerSetup &&)=default
 
virtual ~ViewerSetup ()=default
 
virtual MRVIEWER_API void setupBasePlugins (Viewer *) const
 Setups Menu Save and Open plugins.
 
virtual void setupCommonModifiers (Viewer *) const
 Setups modifiers to Menu plugin if it is present in viewer.
 
virtual void setupCommonPlugins (Viewer *) const
 Setups custom plugins to viewer.
 
virtual MRVIEWER_API void setupSettingsManager (Viewer *viewer, const std::string &appName, bool reset=false) const
 
virtual MRVIEWER_API void setupConfiguration (Viewer *viewer) const
 
virtual MRVIEWER_API void setupExtendedLibraries () const
 
virtual MRVIEWER_API void unloadExtendedLibraries () const
 free all libraries loaded in setupExtendedLibraries()
 

Public Attributes

std::function< void()> setupCustomLogSink
 functor to setup custom log sink, i.e. sending logs to web
 
std::function< void()> shutdownCustomLogSink
 functor to shutdown custom log sink, i.e. send all remaining logs to web before exit
 

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