Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LoggedDataDriver Class Reference

description of LoggedDataDriver More...

#include <LoggedDataDriver.h>

Inheritance diagram for LoggedDataDriver:

Detailed Description

description of LoggedDataDriver

Definition at line 10 of file LoggedDataDriver.h.

List of all members.

Public Member Functions

 LoggedDataDriver (const std::string &name)
virtual std::string getClassName () const
 Returns the name of the class (aka its type).
virtual void getSensorSources (std::map< std::string, DataSource * > &sources)
virtual void getImageSources (std::map< std::string, DataSource * > &sources)
virtual void plistValueTouched (const plist::PrimitiveBase &pl)
virtual void plistValueChanged (const plist::PrimitiveBase &pl)

Public Attributes

plist::Primitive< std::string > path

Protected Attributes

FileSystemSensorSource fsSensorSrc
FileSystemImageSource fsImageSrc

Static Private Attributes

static const std::string autoRegisterLoggedDataDriver = DeviceDriver::getRegistry().registerType<LoggedDataDriver>("LoggedData")
 holds the class name, set via registration with the DeviceDriver registry

Constructor & Destructor Documentation

LoggedDataDriver ( const std::string &  name  ) 

Definition at line 12 of file LoggedDataDriver.h.


Member Function Documentation

virtual std::string getClassName (  )  const [virtual]

Returns the name of the class (aka its type).

Suggested implementation is to declare a static string member, set it to the result of calling the registry's registerType, and then return that member here

Implements DeviceDriver.

Definition at line 23 of file LoggedDataDriver.h.

virtual void getImageSources ( std::map< std::string, DataSource * > &  sources  )  [virtual]

Reimplemented from DeviceDriver.

Definition at line 29 of file LoggedDataDriver.h.

virtual void getSensorSources ( std::map< std::string, DataSource * > &  sources  )  [virtual]

Reimplemented from DeviceDriver.

Definition at line 25 of file LoggedDataDriver.h.

virtual void plistValueChanged ( const plist::PrimitiveBase pl  )  [virtual]

Implements PrimitiveListener.

Definition at line 37 of file LoggedDataDriver.h.

Referenced by FileSystemDataSource::plistValueChanged(), and plistValueTouched().

virtual void plistValueTouched ( const plist::PrimitiveBase pl  )  [virtual]

Reimplemented from PrimitiveListener.

Definition at line 34 of file LoggedDataDriver.h.


Member Data Documentation

const std::string autoRegisterLoggedDataDriver = DeviceDriver::getRegistry().registerType<LoggedDataDriver>("LoggedData") [static, private]

holds the class name, set via registration with the DeviceDriver registry

Definition at line 74 of file LoggedDataDriver.h.

Referenced by getClassName().


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

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