Name

PluginLoader — Provides information about registered plugins.

Synopsis

class PluginLoader (SimpleWrappedObjectSernaApi::SimpleWrappedObject) :
  # construct/copy/destruct
  __init__(SernaApiBase * = 0)
  __init__(const PluginLoader &)
  PluginLoader& operator=(const PluginLoader &)
  __del__()

  # public member functions

  PropertyNode getPluginProps() const
  bool isEnabled(const PropertyNode &) const
  bool isLoaded(const PropertyNode &, const SernaDoc &) const

  # public static functions

  PluginLoader instance() 

  static const SString PLUGIN_NAME;
  static const SString PLUGIN_DESC;
  static const SString LOAD_FOR;
  static const SString PLUGIN_DLL;
  static const SString RESOLVED_DLL;
  static const SString PLUGIN_VENDOR;
  static const SString PLUGIN_DATA;
  static const SString IS_DISABLED;
  static const SString PRELOAD_DLL;
  static const SString RESOLVED_PATH;
  static const SString SPD_FILE_NAME;

Description

PluginLoader construct/copy/destruct

  1. __init__(SernaApiBase * = 0)


  2. __init__(const PluginLoader & )


  3. PluginLoader& operator=(const PluginLoader & )


  4. __del__()


PluginLoader public member functions

  1. PropertyNode getPluginProps() const

    Accessors to plugin descriptors. Children of returned property are "serna-plugin" property subtrees.


  2. bool isEnabled(const PropertyNode & pluginProps) const

    Returns true if requested plugin is enabled in Serna.


  3. bool isLoaded(const PropertyNode & pluginProps, const SernaDoc & doc) const

    Returns true if requested plugin is loaded for given document.


PluginLoader public static functions

  1. PluginLoader instance()

    Returns reference to PluginLoader instance.