SensorStream Class Reference

#include <SensorStream.h>

Inheritance diagram for SensorStream:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual const AbstractReadingcurrent () const =0
virtual bool end () const =0
virtual bool isSeekable () const
virtual const AbstractReadingnext () const =0
virtual bool seek (const unsigned int _position=0, SensorStreamOffset _offset=BEGIN)=0
virtual unsigned int tell () const =0

Detailed Description

Representation of an abstract stream of sensor readings. The class represents an abstract sensor stream, providing the interface for obtaining sensor readings, as well as seeking within the stream and checking if the stream is over.

Author:
Gian Diego Tipaldi

Definition at line 47 of file SensorStream.h.


Member Function Documentation

virtual const AbstractReading* SensorStream::current (  )  const [pure virtual]

Get the current reading without advancing the stream (const reading)

Implemented in LogSensorStream.

virtual bool SensorStream::end (  )  const [pure virtual]

Check if the stream is finished

Implemented in LogSensorStream.

virtual bool SensorStream::isSeekable (  )  const [inline, virtual]

Check if the stream is seekable

Reimplemented in LogSensorStream.

Definition at line 62 of file SensorStream.h.

virtual const AbstractReading* SensorStream::next (  )  const [pure virtual]

Get the next reading and advance the stream (const reading).

Implemented in LogSensorStream.

virtual bool SensorStream::seek ( const unsigned int  _position = 0,
SensorStreamOffset  _offset = BEGIN 
) [pure virtual]

Seek the stream to a given sensor position. Return false if is not possible

Implemented in LogSensorStream.

virtual unsigned int SensorStream::tell (  )  const [pure virtual]

Get the current sensor position of the stream. Return 0 if it is not seekable

Implemented in LogSensorStream.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


flirtlib
Author(s): Bhaskara Marthi, Gian Diego Tipaldi
autogenerated on Fri Jan 11 11:15:48 2013