iCub-main
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
yarp::dev::eo_ftsens_privData Class Reference

#include <eo_ftsens_privData.h>

+ Inheritance diagram for yarp::dev::eo_ftsens_privData:

Public Types

enum  {
  strain_Channels = 6 ,
  strain_FormatData = 16
}
 

Public Member Functions

 eo_ftsens_privData (std::string name)
 
 ~eo_ftsens_privData ()
 
bool fromConfig (yarp::os::Searchable &config, servConfigFTsensor_t &serviceConfig)
 
bool initRegulars (servConfigFTsensor_t &serviceConfig)
 
void printServiceConfig (servConfigFTsensor_t &serviceConfig)
 
bool fillScaleFactor (servConfigFTsensor_t &serviceConfig)
 
bool sendConfig2Strain (servConfigFTsensor_t &serviceConfig)
 
bool updateStrainValues (eOprotID32_t id32, double timestamp, void *rxdata)
 
bool fillTemperatureEthServiceInfo (eOmn_serv_parameter_t &ftSrv, eOmn_serv_parameter_t &tempSrv)
 
- Public Member Functions inherited from yarp::dev::embObjDevPrivData
 embObjDevPrivData (std::string name)
 
 ~embObjDevPrivData ()
 
eth::AbstractEthResourcegetEthRes ()
 
eth::TheEthManagergetEthManager ()
 
virtual bool isOpen () const
 
void setOpen (bool flag)
 
bool isVerbose ()
 
bool NOT_YET_IMPLEMENTED (const char *txt, const char *classname)
 
std::string getBoardInfo (void) const
 
bool prerareEthService (yarp::os::Searchable &config, eth::IethResource *interface)
 
void cleanup (eth::IethResource *interface)
 
bool serviceSetRegulars (eOmn_serv_category_t category, vector< eOprotID32_t > &id32vector, double timeout=0.500)
 

Public Attributes

std::mutex mtx
 
std::string devicename
 
std::vector< double > analogdata
 
std::vector< double > offset
 
std::vector< double > scaleFactor
 
bool scaleFactorIsFilled
 
bool useCalibValues
 
double timestampAnalogdata
 
bool useTemperature
 
float lastTemperature
 
double timestampTemperature
 
std::string frameName
 
- Public Attributes inherited from yarp::dev::embObjDevPrivData
eth::TheEthManagerethManager
 
eth::AbstractEthResourceres
 
struct yarp::dev::embObjDevPrivData::behFlags behFlags
 
std::string deviceNameType
 

Detailed Description

Definition at line 24 of file eo_ftsens_privData.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
strain_Channels 
strain_FormatData 

Definition at line 28 of file eo_ftsens_privData.h.

Constructor & Destructor Documentation

◆ eo_ftsens_privData()

eo_ftsens_privData::eo_ftsens_privData ( std::string  name)

Definition at line 17 of file eo_ftsens_privData.cpp.

◆ ~eo_ftsens_privData()

eo_ftsens_privData::~eo_ftsens_privData ( )

Definition at line 32 of file eo_ftsens_privData.cpp.

Member Function Documentation

◆ fillScaleFactor()

bool eo_ftsens_privData::fillScaleFactor ( servConfigFTsensor_t serviceConfig)

Definition at line 75 of file eo_ftsens_privData.cpp.

◆ fillTemperatureEthServiceInfo()

bool eo_ftsens_privData::fillTemperatureEthServiceInfo ( eOmn_serv_parameter_t &  ftSrv,
eOmn_serv_parameter_t &  tempSrv 
)

Definition at line 324 of file eo_ftsens_privData.cpp.

◆ fromConfig()

bool eo_ftsens_privData::fromConfig ( yarp::os::Searchable &  config,
servConfigFTsensor_t serviceConfig 
)

Definition at line 39 of file eo_ftsens_privData.cpp.

◆ initRegulars()

bool eo_ftsens_privData::initRegulars ( servConfigFTsensor_t serviceConfig)

Definition at line 218 of file eo_ftsens_privData.cpp.

◆ printServiceConfig()

void eo_ftsens_privData::printServiceConfig ( servConfigFTsensor_t serviceConfig)

Definition at line 252 of file eo_ftsens_privData.cpp.

◆ sendConfig2Strain()

bool eo_ftsens_privData::sendConfig2Strain ( servConfigFTsensor_t serviceConfig)

Definition at line 272 of file eo_ftsens_privData.cpp.

◆ updateStrainValues()

bool yarp::dev::eo_ftsens_privData::updateStrainValues ( eOprotID32_t  id32,
double  timestamp,
void *  rxdata 
)

Member Data Documentation

◆ analogdata

std::vector<double> yarp::dev::eo_ftsens_privData::analogdata

Definition at line 32 of file eo_ftsens_privData.h.

◆ devicename

std::string yarp::dev::eo_ftsens_privData::devicename

Definition at line 31 of file eo_ftsens_privData.h.

◆ frameName

std::string yarp::dev::eo_ftsens_privData::frameName

Definition at line 43 of file eo_ftsens_privData.h.

◆ lastTemperature

float yarp::dev::eo_ftsens_privData::lastTemperature

Definition at line 41 of file eo_ftsens_privData.h.

◆ mtx

std::mutex yarp::dev::eo_ftsens_privData::mtx

Definition at line 30 of file eo_ftsens_privData.h.

◆ offset

std::vector<double> yarp::dev::eo_ftsens_privData::offset

Definition at line 33 of file eo_ftsens_privData.h.

◆ scaleFactor

std::vector<double> yarp::dev::eo_ftsens_privData::scaleFactor

Definition at line 34 of file eo_ftsens_privData.h.

◆ scaleFactorIsFilled

bool yarp::dev::eo_ftsens_privData::scaleFactorIsFilled

Definition at line 36 of file eo_ftsens_privData.h.

◆ timestampAnalogdata

double yarp::dev::eo_ftsens_privData::timestampAnalogdata

Definition at line 38 of file eo_ftsens_privData.h.

◆ timestampTemperature

double yarp::dev::eo_ftsens_privData::timestampTemperature

Definition at line 42 of file eo_ftsens_privData.h.

◆ useCalibValues

bool yarp::dev::eo_ftsens_privData::useCalibValues

Definition at line 37 of file eo_ftsens_privData.h.

◆ useTemperature

bool yarp::dev::eo_ftsens_privData::useTemperature

Definition at line 40 of file eo_ftsens_privData.h.


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