Evoplex
0.2.1
|
Base class for plugins. More...
#include <abstractplugin.h>
Public Member Functions | |
virtual bool | init () |
Initializes the plugin. More... | |
PRG * | prg () const |
pseudo-random generator pointer. More... | |
PRG * | rand () const |
prg() alias More... | |
const Attributes * | attrs () const |
Gets the plugin's attributes. | |
const QString & | attrName (int attrId) const |
Gets the attribute's name for attrId . More... | |
const Value & | attr (int attrId) const |
Gets the attribute's value for attrId . More... | |
Value | attr (const QString &name, Value defaultValue=Value()) const |
Gets the value of the attribute name . More... | |
bool | attrExists (const char *name) const |
Checks if the plugin's attribute name exists. More... | |
bool | attrExists (const QString &name) const |
Checks if the plugin's attribute name exists. More... | |
Protected Member Functions | |
AbstractPlugin ()=default | |
constructor | |
~AbstractPlugin ()=default | |
destructor | |
Protected Attributes | |
Trial * | m_trial |
Friends | |
class | Trial |
class | AbstractGraph |
Base class for plugins.