|
| CPlugin (const string &name, const string &cat=gNoneString, RoadRunner *aRR=NULL) |
| Create a plugin written in C.
|
|
virtual | ~CPlugin () |
| De allocate the plugin.
|
|
string | getImplementationLanguage () |
|
virtual bool | execute (bool useThread=false) |
|
| Plugin (const string &name=gEmptyString, const string &cat=gNoneString, RoadRunner *aRR=NULL, const string &language=gNoneString, const PluginManager *pm=NULL) |
|
virtual | ~Plugin () |
|
string | getName () |
|
string | getLibraryName () |
|
string | getAuthor () |
|
string | getCategory () |
|
string | getVersion () |
|
string | getCopyright () |
|
RoadRunner * | getRoadRunnerInstance () |
|
virtual string | getInfo () |
|
virtual string | getExtendedInfo () |
|
virtual unsigned char * | getManualAsPDF () const |
|
virtual unsigned int | getPDFManualByteSize () |
|
Parameters * | getParameters () |
|
StringList | getParameterNames () |
|
string | getPluginPropertiesAsXML () |
|
PluginParameter * | getParameter (const string ¶m, const string &capability="") |
|
PluginParameter * | getParameter (const string ¶m, Capability &capability) |
|
bool | setParameter (const string &nameOf, const char *value) |
|
bool | setParameter (const string &nameOf, const char *value, Capability &capability) |
|
void | terminate () |
|
bool | isBeingTerminated () |
|
bool | wasTerminated () |
| check if the plugin was terminated
|
|
virtual bool | isWorking () |
| check if the plugin is working
|
|
bool | assignRoadRunnerInstance (RoadRunner *rr) |
| Assign a roadrunner instance for the plugin to use.
|
|
virtual bool | assignOnStartedEvent (PluginEvent pluginStarted, void *userData1=NULL, void *userData2=NULL) |
|
virtual bool | assignOnProgressEvent (PluginEvent pluginsProgress, void *userData1=NULL, void *userData2=NULL) |
|
virtual bool | assignOnFinishedEvent (PluginEvent pluginsFinished, void *userData1=NULL, void *userData2=NULL) |
|
virtual string | getResult () |
|
virtual bool | resetPlugin () |
|
virtual bool | assignInput (void *data) |
|
virtual string | getStatus () |
|
The CPlugin class is containing the framework to load plugins that are written in pure C. The shared library need to export an execute and destroy function.