DataStreamBuffer class

A local buffer of data streams using the SQLiteDataManager. Works as a singleton accessed by DataStreamBuffer().

Constructors

DataStreamBuffer()
Get the singleton DataStreamBuffer.
factory

Properties

database → Database?
no setter
deployment → SmartphoneDeployment?
no setter
hashCode int
The hash code for this object.
no setterinherited
rows Set<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cleanup([bool delete = true]) Future<void>
Clean up the database.
close() Future<void>
Close this buffer. No more data can be added.
getDataStreamBatch(ExpectedDataStream stream) Future<DataStreamBatch?>
Get a DataStreamBatch of all data which has not been uploaded yet for the stream.
getDataStreamBatches() Future<List<DataStreamBatch>>
Get the list of DataStreamBatch which has not yet been uploaded.
initialize(SmartphoneDeployment deployment, Stream<Measurement> measurements) Future<void>
Initialize this buffer by specifying which deployment it handles and the stream of measurements to buffer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited