ESP
0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
|
Base class for output streams that forward ESP pipeline output to other systems. More...
#include <ostream.h>
Public Member Functions | |
virtual void | onReceive (vector< double >)=0 |
Public Member Functions inherited from OStream | |
virtual void | onReceive (uint32_t label)=0 |
Public Member Functions inherited from Stream | |
Stream () | |
virtual bool | start () |
virtual void | stop () |
void | toggle () |
bool | hasStarted () |
Additional Inherited Members | |
Protected Attributes inherited from Stream | |
std::atomic_bool | has_started_ |
Base class for output streams that forward ESP pipeline output to other systems.
To use an OStreamVector instance in your application, pass it to useOutputStream() in your setup() function.
Note: this is for output streams that can handle both classifier output (a single label) and signal processing output (multi-dimensional floating point vectors). For output streams that only accept classifier output, implement OStream.
|
pure virtual |
Implemented in TcpOStream, BinaryIntArraySerialStream, and ASCIISerialStream.