22 #ifndef CTKCMDLINEMODULEBACKENDLOCALPROCESS_H
23 #define CTKCMDLINEMODULEBACKENDLOCALPROCESS_H
27 #include "ctkCommandLineModulesBackendLocalProcessExport.h"
29 #include <QScopedPointer>
31 struct ctkCmdLineModuleBackendLocalProcessPrivate;
60 virtual QString
name()
const;
74 virtual qint64
timeStamp(
const QUrl &location)
const;
107 QScopedPointer<ctkCmdLineModuleBackendLocalProcessPrivate> d;
Provides an ctkCmdLineModuleBackend implementation to run a locally installed command line applicatio...
void setTimeOutForXMLRetrieval(int timeOut)
Setter for the number of milliseconds to wait when retrieving xml.
virtual ctkCmdLineModuleFuture run(ctkCmdLineModuleFrontend *frontend)
Run a front-end for this module in a local process.
~ctkCmdLineModuleBackendLocalProcess()
virtual qint64 timeStamp(const QUrl &location) const
Returns the last modified time of the module at location.
ctkCmdLineModuleBackendLocalProcess()
virtual QByteArray rawXmlDescription(const QUrl &location, int timeout)
Get the raw XML description from the module at location.
virtual QList< QString > schemes() const
This back-end can handle the "file" URL scheme.
virtual QString name() const
Returns the name of the type of the backend, not the name of the thing or application that is run.
virtual int timeOutForXMLRetrieval() const
Returns the number of milliseconds to wait when retrieving xml.
virtual QString description() const
Returns a brief description of the type of the backend.
Abstract base class for all front-end command line module implementations.
QFuture sub-class for enhanced communication with running modules.
Abstract base class for all back-end command line module implementations.