plugins.h File Reference

Namespaces

 DD
 Private support functions for OpHints.
 
 DD::Image
 

Typedefs

using DD::Image::PluginUnloadedFunc = void(*)(const char *)
 

Functions

int DD::Image::plugin_count ()
 
const char * DD::Image::plugin_name ()
 
const char * DD::Image::plugin_name (int n)
 
const char * DD::Image::plugin_find (const char *name, const char *const *extensions=nullptr)
 
const char * DD::Image::plugin_load (const char *name, const char *altname=nullptr)
 load a plugin with the basename 'name' (or 'altname' if specified and nothing by name can be found) More...
 
void * DD::Image::plugin_load (const char *name, void *(*test)(const char *), const char *arg, const char *symbol=nullptr)
 
const char * DD::Image::plugin_load_all (const char *name)
 
const char * DD::Image::plugin_load_one (const char *name)
 
const char * DD::Image::plugin_path (int n)
 
void DD::Image::plugin_addpath (const char *)
 
void DD::Image::plugin_appendpath (const char *)
 
const char * DD::Image::plugin_error ()
 
void DD::Image::plugin_error (const char *)
 
void * DD::Image::plugin_binary (const char *name, const char *symbol=nullptr)
 
const char *const * DD::Image::plugin_default_extensions ()
 
const std::vector< const char * > & DD::Image::plugin_path_list (int n)
 
void DD::Image::setPluginHashCheck (bool lEnabled)
 
const std::vector< const char * > & DD::Image::getPluginPath ()
 Returns the entire plugin path as a vector. More...
 
void DD::Image::setPluginInstallPaths (const std::vector< std::string > &paths)
 
const std::vector< std::string > & DD::Image::getPluginInstallPaths ()
 
const char * DD::Image::getApplicationPluginPath ()
 
void DD::Image::setPluginUnloadedCallback (PluginUnloadedFunc f)
 

Variables

bool DD::Image::plugin_verbose
 
bool DD::Image::plugin_safe_mode
 
bool(* DD::Image::plugin_interpret_tcl )(const char *name)
 
bool(* DD::Image::plugin_interpret_py )(const char *name)
 
const char * DD::Image::plugin_ext
 ! The standard extension used for plugins on this platform (e.g. ".so" or ".dll")
 

Detailed Description

Code to load and manage plugins.



©2022 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk