MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRViewer/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 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 void setupSettingsManager (Viewer *viewer, const std::string &appName, bool reset=false) const
virtual void setupConfiguration (Viewer *viewer) const
virtual void setupExtendedLibraries () const
virtual 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: