Evoplex  0.2.1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
evoplex::AbstractPlugin Class Reference

Base class for plugins. More...

#include <abstractplugin.h>

Inheritance diagram for evoplex::AbstractPlugin:
evoplex::AbstractGraphInterface evoplex::AbstractModelInterface evoplex::AbstractGraph evoplex::AbstractModel

Public Member Functions

virtual bool init ()
 Initializes the plugin. More...
 
PRGprg () const
 pseudo-random generator pointer. More...
 
PRGrand () const
 prg() alias More...
 
const Attributesattrs () const
 Gets the plugin's attributes.
 
const QString & attrName (int attrId) const
 Gets the attribute's name for attrId. More...
 
const Valueattr (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
 

Detailed Description

Base class for plugins.

See also
AbstractGraph and AbstractModel

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