|
Isis 3.0 Developer's Reference (API) |
Home |
This reads a control network in the background. More...
#include <ConcurrentControlNetReader.h>
Inherits QObject.
Classes | |
| class | NetworkBuilder |
| This functor builds the points in a network. | |
| class | ReadNetworkFunctor |
| This functor reads the network file to the binary container. | |
Signals | |
| void | progressRangeChanged (int, int) |
| void | progressValueChanged (int) |
| void | networkReadFinished (ControlNet *) |
Public Member Functions | |
| ConcurrentControlNetReader () | |
| Allocates memory at construction instead of as needed. | |
| ~ConcurrentControlNetReader () | |
| This destructor will cancel all running threads and block. | |
| void | read (QString filename) |
This reads a control network 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.
| Isis::ConcurrentControlNetReader::ConcurrentControlNetReader | ( | ) |
Allocates memory at construction instead of as needed.
References progressRangeChanged(), and progressValueChanged().
| Isis::ConcurrentControlNetReader::~ConcurrentControlNetReader | ( | ) |
This destructor will cancel all running threads and block.
| void Isis::ConcurrentControlNetReader::networkReadFinished | ( | ControlNet * | ) | [signal] |
| void Isis::ConcurrentControlNetReader::progressRangeChanged | ( | int | , | |
| int | ||||
| ) | [signal] |
Referenced by ConcurrentControlNetReader().
| void Isis::ConcurrentControlNetReader::progressValueChanged | ( | int | ) | [signal] |
Referenced by ConcurrentControlNetReader().
| void Isis::ConcurrentControlNetReader::read | ( | QString | filename | ) |
| filename | The filename of the network to read |