1#ifndef ConcurrentControlNetReader_h
2#define ConcurrentControlNetReader_h
19#include "ProgressBar.h"
50 void read(QString filename);
62 void updateProgressValue();
63 void mappedFinished();
74 QPointer<ProgressBar> m_progressBar;
75 QPointer<QTimer> m_progressUpdateTimer;
84 class FileNameToControlFunctor :
public std::function<
85 Control *(const QPair<FileName, Progress *> &)> {
87 FileNameToControlFunctor(
QThread *);
88 FileNameToControlFunctor(
const FileNameToControlFunctor &);
89 ~FileNameToControlFunctor();
91 FileNameToControlFunctor & operator=(
const FileNameToControlFunctor &);
QFutureWatcher< Control * > * m_watcher
provides SIGNALS / SLOTS for FileNameToControlFunctor
void read(QString filename)
void nullify()
Initializes members to NULL.
ConcurrentControlNetReader()
Allocates memory at construction instead of as needed.
~ConcurrentControlNetReader()
This destructor will cancel all running threads and block.
This represents an ISIS control net in a project-based GUI interface.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.