Used to download logged data from a WirelessNode.
explicit DatalogDownloader( |
| ) |
Creates a DatalogDownloader object. Datalogging information will immediately be read from the Node.
node const WirelessNode& | The WirelessNode to download the data from. |
Error_NodeCommunication: Failed to read info from the Node.
Error_Connection: A connection error has occurred with the parent BaseStation.
Checks if all of the data has been downloaded (no more data available).
true if all the data has been downloaded, false if there is still more data to download.
Gets the next LoggedDataSweep that is logged to the Node.
A LoggedDataSweep containing the next data sweep that was logged to the Node.
Error_NodeCommunication: Failed to download data from the Node.
Error_NoData: The requested bytePosition is outside the range of the datalogged data.
Error_Connection: A connection error has occurred.
Gets whether a new datalogging session has been found (after calling getNextData). This will be true for a single LoggedDataSweep, signifying that all of the DatalogDownloader's info has been updated with new information (sample rate, session index, etc.) about this sweep.
true if a new datalogging session has been found, false otherwise.
Gets the WirelessTypes::TriggerType of the current datalogging session.
The WirelessTypes::TriggerType of the current datalogging session.
Gets the total number of sweeps that are in the current datalogging session.
The total number of sweeps that are in the current datalogging session.
Gets the index of the current datalogging session. This starts at 1 for the first session, and is incremented for each additional session.
The index of the current datalogging session.
Gets the SampleRate of the current datalogging session.
The SampleRate of the current datalogging session.
Gets the user entered string of the current datalogging session (if any).
The user entered string of the current datalogging session, or an empty string if none was provided.