22 #ifndef CTKCMDLINEMODULEBACKEND_H
23 #define CTKCMDLINEMODULEBACKEND_H
25 #include "ctkCommandLineModulesCoreExport.h"
30 template<
typename T>
class QList;
56 virtual QString
name()
const = 0;
75 virtual qint64
timeStamp(
const QUrl& location)
const = 0;
Abstract base class for all front-end command line module implementations.
QFuture sub-class for enhanced communication with running modules.
Main manager class to handle loading and unloading of modules.
Abstract base class for all back-end command line module implementations.
virtual ctkCmdLineModuleFuture run(ctkCmdLineModuleFrontend *frontend)=0
The main method to actually execute the back-end process.
virtual QByteArray rawXmlDescription(const QUrl &location, int timeout)=0
Get the XML parameter description from the given location.
QByteArray rawXmlDescription(const QUrl &location)
Get the XML parameter description from the given location.
virtual qint64 timeStamp(const QUrl &location) const =0
Returns a timestap of the backend, which for example in the case of the LocalProcess may be the last ...
virtual ~ctkCmdLineModuleBackend()
virtual int timeOutForXmlRetrieval() const
returns the number of milliseconds to wait when retrieving xml.
virtual QList< QString > schemes() const =0
Returns a list of URL schemes this back-end can handle.
virtual QString name() const =0
Returns the name of the type of the backend, not the name of the thing or application that is run.
virtual QString description() const =0
Returns a brief description of the type of the backend.