ESP  0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
Stream Class Reference

#include <stream.h>

Inheritance diagram for Stream:
InputStream OStream AudioFileStream AudioStream BaseSerialInputStream FirmataStream IOStream IOStreamVector OscInputStream SerialStream TcpInputStream IOStream MacOSKeyboardOStream MacOSMouseOStream OStreamVector

Public Member Functions

 Stream ()
 
virtual bool start ()
 
virtual void stop ()
 
void toggle ()
 
bool hasStarted ()
 

Protected Attributes

std::atomic_bool has_started_
 

Constructor & Destructor Documentation

Stream::Stream ( )
inline

Member Function Documentation

bool Stream::hasStarted ( )
inline
virtual bool Stream::start ( )
inlinevirtual
virtual void Stream::stop ( )
inlinevirtual
void Stream::toggle ( )
inline

Member Data Documentation

std::atomic_bool Stream::has_started_
protected

The documentation for this class was generated from the following file: