21 #ifndef __ctkCmdLineModuleDirectoryWatcher_h
22 #define __ctkCmdLineModuleDirectoryWatcher_h
24 #include <ctkCommandLineModulesCoreExport.h>
27 #include <QScopedPointer>
30 class ctkCmdLineModuleDirectoryWatcherPrivate;
124 QScopedPointer<ctkCmdLineModuleDirectoryWatcherPrivate> d;
Provides directory scanning and file watching via QFileSystemWatcher to automatically load new module...
void emitErrorDectectedSignal(const QString &)
public method to emit the errorDetected signal.
QStringList directories() const
Returns the list of directories currently being watched.
QStringList commandLineModules() const
Returns the complete list of files (command line executables) currently being watched.
void errorDetected(const QString &)
Signals that an error was detected, and the caller should raise an error to the user.
void setDirectories(const QStringList &directories)
Set the directories to be watched.
ctkCmdLineModuleDirectoryWatcher(ctkCmdLineModuleManager *moduleManager)
void setAdditionalModules(const QStringList &files)
Sets an additional list of command line executables to watch.
virtual ~ctkCmdLineModuleDirectoryWatcher()
QStringList additionalModules() const
Gets the list of additional command line executable, where "additional" means "in addition to those d...
void setDebug(bool debug)
Set the watcher into debug mode, for more output.
Main manager class to handle loading and unloading of modules.