Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

FileSystemSensorSource Class Reference

Extends FileSystemDataSource to parse sensor data. More...

#include <FileSystemSensorSource.h>

Inheritance diagram for FileSystemSensorSource:

Detailed Description

Extends FileSystemDataSource to parse sensor data.

Definition at line 9 of file FileSystemSensorSource.h.

List of all members.

Classes

class  SensorInfo
 extends FileInfo to provide sensor parsing More...

Public Member Functions

 FileSystemSensorSource (LoggedDataDriver &p, const std::string &filter)
 constructor
virtual void registerSource ()
 User hook, called when the data source should claim which outputs it provides feedback (providingOuput()).
virtual void deregisterSource ()
 User hook, called when the data source should release its claim on outputs with feedback (ignoringOuput()).

Protected Member Functions

virtual bool sendData ()
 Gives the data referenced by curfile to the simulator.
virtual void enqueueFile (const std::string &name, double lifetime)
 creates a new entry on files, virtual to allow subclasses to use a FileInfo subclass with more meta data (e.g. see FileSystemImageSource::ImageInfo)

Constructor & Destructor Documentation

FileSystemSensorSource ( LoggedDataDriver p,
const std::string &  filter 
)

constructor

Definition at line 12 of file FileSystemSensorSource.h.


Member Function Documentation

virtual void deregisterSource (  )  [virtual]

User hook, called when the data source should release its claim on outputs with feedback (ignoringOuput()).

It would be wise to call this from your destructor as well.

Reimplemented from FileSystemDataSource.

Definition at line 20 of file FileSystemSensorSource.h.

virtual void enqueueFile ( const std::string &  name,
double  lifetime 
) [protected, virtual]

creates a new entry on files, virtual to allow subclasses to use a FileInfo subclass with more meta data (e.g. see FileSystemImageSource::ImageInfo)

Reimplemented from FileSystemDataSource.

Definition at line 78 of file FileSystemSensorSource.h.

virtual void registerSource (  )  [virtual]

User hook, called when the data source should claim which outputs it provides feedback (providingOuput()).

Does not indicate the data source should start sending updates yet — wait for enteringRealtime() or advance() to be called

Reimplemented from FileSystemDataSource.

Definition at line 14 of file FileSystemSensorSource.h.

virtual bool sendData (  )  [protected, virtual]

Gives the data referenced by curfile to the simulator.

Implements FileSystemDataSource.

Definition at line 27 of file FileSystemSensorSource.h.


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:41 2016 by Doxygen 1.6.3