![]() |
Abstract class representing a family of components i.e. a factory of factories of components. More...
#include <arcsabstractfamily.h>
Public Member Functions | |
virtual QStringList | factoryList ()=0 |
Returns a list of available factories. | |
virtual bool | addFactory (QString type, ARCSAbstractComponent *cmp)=0 |
Adds a component factory to the family. | |
virtual void | removeFactory (QString type)=0 |
Removes a component factory to the family. | |
virtual ARCSAbstractComponent * | instanciate (QString type)=0 |
Returns a component. | |
virtual void | destroy (ARCSAbstractComponent *component)=0 |
Destroys a component. | |
virtual QString | name () const =0 |
name of the family | |
virtual bool | isInternal () const |
Describes wether the family is internal to ARCS or not. | |
Abstract class representing a family of components i.e. a factory of factories of components.
This class must be used when introducing a new family of components inside ARCS. To implement a new family following this guideline, you should have a header like this :
Definition at line 68 of file arcsabstractfamily.h.