4#include "devicecommand.h"
32 friend class TestLoggerFetchCommand;
The AbstractPokitService class provides a common base for Pokit services classes.
The DataLoggerService class accesses the Data Logger service of Pokit devices.
The AbstractCommand class extends AbstractCommand to add a PokitDevice instance.
The LoggerFetchCommand class implements the logger CLI command.
qint32 samplesToGo
Number of samples we're still expecting to receive.
DataLoggerService::Metadata metadata
Most recent data logging metadata.
DataLoggerService * service
Bluetooth service this command interracts with.
bool showCsvHeader
Whether or not to show a header as the first line of CSV output.
void outputSamples(const DataLoggerService::Samples &samples)
Outputs logger samples in the selected ouput format.
AbstractPokitService * getService() override
Returns a Pokit service object for the derived command class.
LoggerFetchCommand(QObject *const parent=nullptr)
Construct a new LoggerFetchCommand object with parent.
void serviceDetailsDiscovered() override
Handles service detail discovery events.
quint64 timestamp
Current sample's epoch milliseconds timestamp.
void metadataRead(const DataLoggerService::Metadata &data)
Invoked when metadata has been received from the data logger.
Declares the DataLoggerService class.
QObject * parent() const const