Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SensorInfo Class Reference

extends FileInfo to provide sensor parsing More...

#include <FileSystemSensorSource.h>

Inheritance diagram for SensorInfo:

Detailed Description

extends FileInfo to provide sensor parsing

Definition at line 46 of file FileSystemSensorSource.h.

List of all members.

Public Member Functions

 SensorInfo (const std::string &name, double time)
 constructor
virtual void prepare ()
 uses FileInfo's prepare to load file into memory, and then replaces with a decompressed version
virtual void release ()
bool isValid () const
const OutputCmdgetOutput (unsigned int i) const
const std::map< unsigned int,
float > & 
getButtons () const
const std::map< unsigned int,
float > & 
getSensors () const
const std::map< unsigned int,
float > & 
getPIDDuties () const

Protected Attributes

PostureEngine pose
PostureEngine::SensorInfo sensors
bool valid

Constructor & Destructor Documentation

SensorInfo ( const std::string &  name,
double  time 
)

constructor

Definition at line 49 of file FileSystemSensorSource.h.


Member Function Documentation

const std::map<unsigned int,float>& getButtons (  )  const

Definition at line 68 of file FileSystemSensorSource.h.

Referenced by FileSystemSensorSource::sendData().

const OutputCmd& getOutput ( unsigned int  i  )  const

Definition at line 67 of file FileSystemSensorSource.h.

Referenced by FileSystemSensorSource::sendData().

const std::map<unsigned int,float>& getPIDDuties (  )  const

Definition at line 70 of file FileSystemSensorSource.h.

Referenced by FileSystemSensorSource::sendData().

const std::map<unsigned int,float>& getSensors (  )  const

Definition at line 69 of file FileSystemSensorSource.h.

Referenced by FileSystemSensorSource::sendData().

bool isValid (  )  const

Definition at line 66 of file FileSystemSensorSource.h.

Referenced by FileSystemSensorSource::sendData().

virtual void prepare (  )  [virtual]

uses FileInfo's prepare to load file into memory, and then replaces with a decompressed version

Definition at line 52 of file FileSystemSensorSource.h.

virtual void release (  )  [virtual]

Definition at line 61 of file FileSystemSensorSource.h.


Member Data Documentation

bool valid [protected]

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