53 #include <QSharedPointer>
74 typedef QSharedPointer<IAlgorithm>
SPtr;
87 virtual QSharedPointer<IPlugin>
clone()
const = 0;
93 virtual void init() = 0;
108 virtual bool start() = 0;
117 virtual bool stop() = 0;
135 virtual QString
getName()
const = 0;
161 virtual void run() = 0;
178 #endif // IALGORITHM_H
QSharedPointer< IAlgorithm > SPtr
Contains declaration of IPlugin interface class.
virtual QString getName() const =0
The IPlugin class is the base interface class of all plugins.
QSharedPointer< const IAlgorithm > ConstSPtr
virtual QSharedPointer< IPlugin > clone() const =0
The IAlgorithm class provides an interface for a real-time algorithm plugin.
virtual QWidget * setupWidget()=0
virtual bool multiInstanceAllowed() const
virtual PluginType getType() const =0