 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
21 #ifndef CTKCMDLINEMODULEBACKENDXMLCHECKER_H
22 #define CTKCMDLINEMODULEBACKENDXMLCHECKER_H
26 #include "ctkCommandLineModulesBackendXMLCheckerExport.h"
28 #include <QScopedPointer>
30 struct ctkCmdLineModuleBackendXMLCheckerPrivate;
49 virtual QString
name()
const;
63 virtual qint64
timeStamp(
const QUrl &location)
const;
87 QScopedPointer<ctkCmdLineModuleBackendXMLCheckerPrivate> d;
91 #endif // CTKCMDLINEMODULEBACKENDLOCALPROCESS_H
Abstract base class for all back-end command line module implementations.
QFuture sub-class for enhanced communication with running modules.
virtual ctkCmdLineModuleFuture run(ctkCmdLineModuleFrontend *frontend)
Run a front-end for this module in a local process.
ctkCmdLineModuleBackendXMLChecker()
virtual QByteArray rawXmlDescription(const QUrl &location, int timeout)
Get the raw XML description from the module at location.
virtual QString name() const
Returns the name of the type of the backend, not the name of the thing or application that is run.
Provides a ctkCmdLineModuleBackend implementation to pretend to run a command line process,...
Abstract base class for all front-end command line module implementations.
~ctkCmdLineModuleBackendXMLChecker()
void setXML(const QString &xml)
virtual QString description() const
Returns a brief description of the type of the backend.
ctkCmdLineModuleBackendXMLChecker(const QString &xmlToValidate)
virtual QList< QString > schemes() const
This back-end can handle the "xml checker" URL scheme.
virtual qint64 timeStamp(const QUrl &location) const
Returns the last modified time of the module at location.