DSPatch  v.3.00
C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library
Public Member Functions | List of all members
DspPluginLoader Class Reference

Plugin loader for DspPlugin host applications. More...

#include <DspPluginLoader.h>

Inheritance diagram for DspPluginLoader:

Public Member Functions

 DspPluginLoader (std::string const &pluginPath)
 DspPluginLoader (DspPluginLoader const &other)
DspPluginLoaderoperator= (const DspPluginLoader &other)
bool IsLoaded () const
std::map< std::string, DspParameterGetCreateParams () const
DspComponentCreate (std::map< std::string, DspParameter > &params) const

Detailed Description

Plugin loader for DspPlugin host applications.

A DspComponent packaged into a shared library (.so / .dylib / .dll) and exported via the DspPlugin class can be dynamically loaded from a DSPatch application at runtime using a DspPluginLoader. A DspPluginLoader represents exactly one DspPlugin in a host application.

A DspPluginLoader should be constructed with the absolute path of the plugin (shared library) to be loaded. Once instantiated you should check that the plugin was successfully loaded by calling IsLoaded(). Thereafter, the contained DspComponent can be instantiated via the GetCreateParams() and Create() methods accordingly (For more detail on the structure of a plugin, see DspPlugin).

Definition at line 46 of file DspPluginLoader.h.

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