|
OpenHantek
|
#include <exporterregistry.h>
Signals | |
| void | exporterStatusChanged (const QString &exporterName, const QString &status) |
| void | exporterProgressChanged () |
Public Member Functions | |
| ExporterRegistry (const Dso::ControlSpecification *deviceSpecification, DsoSettings *settings, QObject *parent=nullptr) | |
| void | addRawSamples (PPresult *data) |
| void | input (std::shared_ptr< PPresult > data) |
| void | registerExporter (ExporterInterface *exporter) |
| void | setExporterEnabled (ExporterInterface *exporter, bool enabled) |
| void | checkForWaitingExporters () |
| std::vector< ExporterInterface * >::const_iterator | begin () |
| std::vector< ExporterInterface * >::const_iterator | end () |
Data Fields | |
| const Dso::ControlSpecification * | deviceSpecification |
| Device specifications. | |
| const DsoSettings * | settings |
Private Member Functions | |
| bool | processData (std::shared_ptr< PPresult > &data, ExporterInterface *const &exporter) |
Private Attributes | |
| std::vector< ExporterInterface * > | exporters |
| List of all available exporters. | |
| std::list< ExporterInterface * > | enabledExporters |
| List of exporters that collect samples at the moment. | |
| std::set< ExporterInterface * > | waitToSaveExporters |
| List of exporters that wait to be called back by the user to save their work. | |
|
explicit |
| void ExporterRegistry::addRawSamples | ( | PPresult * | data | ) |
| std::vector< ExporterInterface * >::const_iterator ExporterRegistry::begin | ( | ) |
| void ExporterRegistry::checkForWaitingExporters | ( | ) |
| std::vector< ExporterInterface * >::const_iterator ExporterRegistry::end | ( | ) |
|
signal |
|
signal |
| void ExporterRegistry::input | ( | std::shared_ptr< PPresult > | data | ) |
|
private |
Process data from addRawSamples() or input() in the given exporter. Add the exporter to waitToSaveExporters if it finishes.
| void ExporterRegistry::registerExporter | ( | ExporterInterface * | exporter | ) |
| void ExporterRegistry::setExporterEnabled | ( | ExporterInterface * | exporter, |
| bool | enabled ) |
| const Dso::ControlSpecification* ExporterRegistry::deviceSpecification |
Device specifications.
|
private |
List of exporters that collect samples at the moment.
|
private |
List of all available exporters.
| const DsoSettings* ExporterRegistry::settings |
|
private |
List of exporters that wait to be called back by the user to save their work.