The Vish Visualization Shell 0.3
Vish
Classes | Static Public Member Functions | Static Public Attributes | List of all members
Wizt::VModules Struct Reference

Namespace-like class for handling plugins. More...

#include <ocean/plankton/VModules.hpp>

Classes

struct  Iterator
 

Static Public Member Functions

static bool enableCache (const std::string &ModuleName)
 
static bool load (const std::string &what, HandleModuleLoadError ErrorHandler)
 Load a VISH Plugin, returns false if the file could not be found.
 
static bool unload (const char *what, VManagedObject::VRemoveItem &RI)
 Remove a module from memory and all objects which have been created from this module.
 

Static Public Attributes

static bool IgnoreAllModuleLoadingFailures = false
 Global flag determining whether an interactive message box should pop up when a runtime plugin could not be loaded, or whether those errors should be silently ignored.
 

Detailed Description

Namespace-like class for handling plugins.

Member Function Documentation

◆ enableCache()

bool VModules::enableCache ( const std::string &  ModuleName)
static

Is there already a VModule loaded??

Member Data Documentation

◆ IgnoreAllModuleLoadingFailures

bool Wizt::VModules::IgnoreAllModuleLoadingFailures = false
static

Global flag determining whether an interactive message box should pop up when a runtime plugin could not be loaded, or whether those errors should be silently ignored.

By default this flag is set to false (do pop up a message), where the popup message allows to set this flag to true. For non-interactive batch processing it may be preferable to set this flat to false right away.

To be considered is using some function callback instead such to allow more user control for a specific GUI environment.