![]()  | 
  
    Isis 3 Programmer Reference
    
   | 
 
This reads a control net in the background. More...
#include <ConcurrentControlNetReader.h>


Classes | |
| class | FileNameToControlFunctor | 
Signals | |
| void | networksReady (QList< Control * >) | 
Public Member Functions | |
| ConcurrentControlNetReader () | |
| Allocates memory at construction instead of as needed.  More... | |
| ~ConcurrentControlNetReader () | |
| This destructor will cancel all running threads and block.  More... | |
| void | read (QString filename) | 
| void | read (QStringList filenames) | 
| ProgressBar * | progressBar () | 
Private Slots | |
| void | updateProgressValue () | 
| void | mappedFinished () | 
Private Member Functions | |
| void | nullify () | 
| Initializes members to NULL.  More... | |
| void | start () | 
| void | initProgress () | 
Private Attributes | |
| QFutureWatcher< Control * > * | m_watcher | 
| provides SIGNALS / SLOTS for FileNameToControlFunctor  More... | |
| QStringList | m_backlog | 
| bool | m_mappedRunning | 
| QList< Progress * > | m_progress | 
| QPointer< ProgressBar > | m_progressBar | 
| QPointer< QTimer > | m_progressUpdateTimer | 
This reads a control net in the background.
This class provides progress for reading a ControlNet. Reading is done in separate threads using QtConcurrent. When reading large Pvl networks the progress will hang at zero percent for a while.
Definition at line 43 of file ConcurrentControlNetReader.h.
| Isis::ConcurrentControlNetReader::ConcurrentControlNetReader | ( | ) | 
Allocates memory at construction instead of as needed.
Definition at line 39 of file ConcurrentControlNetReader.cpp.
| Isis::ConcurrentControlNetReader::~ConcurrentControlNetReader | ( | ) | 
This destructor will cancel all running threads and block.
Definition at line 56 of file ConcurrentControlNetReader.cpp.
References m_watcher.
      
  | 
  private | 
Initializes members to NULL.
Definition at line 109 of file ConcurrentControlNetReader.cpp.
References m_watcher.
Referenced by ConcurrentControlNetReader().
| void Isis::ConcurrentControlNetReader::read | ( | QString | filename | ) | 
| filename | The filename of the network to read | 
Definition at line 79 of file ConcurrentControlNetReader.cpp.
| void Isis::ConcurrentControlNetReader::read | ( | QStringList | filenames | ) | 
| filenames | The filenames of the networks to read | 
Definition at line 94 of file ConcurrentControlNetReader.cpp.
      
  | 
  private | 
provides SIGNALS / SLOTS for FileNameToControlFunctor
Definition at line 69 of file ConcurrentControlNetReader.h.
Referenced by ConcurrentControlNetReader(), nullify(), and ~ConcurrentControlNetReader().