Public Member Functions | Public Attributes
tactiles::GenericTactileData Class Reference

#include <tactile_sensors.hpp>

Inheritance diagram for tactiles::GenericTactileData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double convertToInt (std::string const &s)
 GenericTactileData ()
 GenericTactileData (bool tactile_data_valid, int sample_frequency, std::string manufacturer, std::string serial_number, int software_version_current, int software_version_server, bool software_version_modified, std::string pcb_version)
virtual std::string get_software_version ()
void set_software_version (std::string version)
 ~GenericTactileData ()

Public Attributes

std::string manufacturer
std::string pcb_version
int sample_frequency
std::string serial_number
int software_version_current
bool software_version_modified
int software_version_server
bool tactile_data_valid
int which_sensor

Detailed Description

Definition at line 42 of file tactile_sensors.hpp.


Constructor & Destructor Documentation

Definition at line 45 of file tactile_sensors.hpp.

tactiles::GenericTactileData::GenericTactileData ( bool  tactile_data_valid,
int  sample_frequency,
std::string  manufacturer,
std::string  serial_number,
int  software_version_current,
int  software_version_server,
bool  software_version_modified,
std::string  pcb_version 
) [inline]

Definition at line 47 of file tactile_sensors.hpp.

Definition at line 59 of file tactile_sensors.hpp.


Member Function Documentation

double tactiles::GenericTactileData::convertToInt ( std::string const &  s) [inline]

Definition at line 129 of file tactile_sensors.hpp.

virtual std::string tactiles::GenericTactileData::get_software_version ( ) [inline, virtual]

Formats the software version for the diagnostics.

Returns:
the formatted string

Reimplemented in tactiles::PST3Data.

Definition at line 111 of file tactile_sensors.hpp.

void tactiles::GenericTactileData::set_software_version ( std::string  version) [inline]

Parses the version string received from the tactiles and fill in the variables.

Version:
The raw version string.

Definition at line 79 of file tactile_sensors.hpp.


Member Data Documentation

Definition at line 65 of file tactile_sensors.hpp.

Definition at line 125 of file tactile_sensors.hpp.

Definition at line 64 of file tactile_sensors.hpp.

Definition at line 66 of file tactile_sensors.hpp.

Definition at line 68 of file tactile_sensors.hpp.

Definition at line 70 of file tactile_sensors.hpp.

Definition at line 69 of file tactile_sensors.hpp.

Definition at line 59 of file tactile_sensors.hpp.

Definition at line 63 of file tactile_sensors.hpp.


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


sr_hardware_interface
Author(s): Ugo Cupcic / ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:46:07