#include <YGraphPlugin.h>
Public Member Functions | |
virtual YGraph * | createGraph (YWidget *parent, const std::string &filename, const std::string &layoutAlgorithm)=0 |
![]() | |
YUIPlugin (const char *pluginLibBaseName) | |
virtual | ~YUIPlugin () |
void | unload () |
void * | locateSymbol (const char *symbol) |
bool | error () const |
bool | success () const |
std::string | errorMsg () const |
Protected Member Functions | |
YGraphPlugin (const char *pluginLibBaseName) | |
virtual | ~YGraphPlugin () |
![]() | |
void * | pluginLibHandle () |
std::string | pluginLibBaseName () const |
std::string | pluginLibFullPath () const |
Abstract base class for simplified access to UI plugins for graph widget.
|
inlineprotected |
Constructor: Load the specified plugin library from the standard UI plugin directory (/usr/lib/yui/).
|
inlineprotectedvirtual |
Destructor. Calls dlclose() which will unload the plugin library if it is no longer used, i.e. if the reference count dlopen() uses reaches 0.
|
pure virtual |
Create a graph widget. Derived classes need to implement this.
This might return 0 if the plugin lib could not be loaded or if the appropriate symbol could not be located in the plugin lib.