iCub-main
Public Member Functions | List of all members
embObjMultipleFTsensor_Mock Class Reference
+ Inheritance diagram for embObjMultipleFTsensor_Mock:

Public Member Functions

 embObjMultipleFTsensor_Mock (std::shared_ptr< yarp::dev::embObjDevPrivData > device)
 
 embObjMultipleFTsensor_Mock ()
 
- Public Member Functions inherited from yarp::dev::embObjMultipleFTsensors
 embObjMultipleFTsensors ()
 
 embObjMultipleFTsensors (std::shared_ptr< yarp::dev::embObjDevPrivData > device)
 
 ~embObjMultipleFTsensors ()
 
bool open (yarp::os::Searchable &config)
 
bool close ()
 
virtual bool initialised ()
 
virtual eth::iethresType_t type ()
 
virtual bool update (eOprotID32_t id32, double timestamp, void *rxdata)
 
virtual size_t getNrOfTemperatureSensors () const override
 
virtual yarp::dev::MAS_status getTemperatureSensorStatus (size_t sensorindex) const override
 
virtual bool getTemperatureSensorName (size_t sensorindex, std::string &name) const override
 
virtual bool getTemperatureSensorFrameName (size_t sensorindex, std::string &frameName) const override
 
virtual bool getTemperatureSensorMeasure (size_t sensorindex, double &out, double &timestamp) const override
 
virtual bool getTemperatureSensorMeasure (size_t sensorindex, yarp::sig::Vector &out, double &timestamp) const override
 
virtual size_t getNrOfSixAxisForceTorqueSensors () const override
 
virtual yarp::dev::MAS_status getSixAxisForceTorqueSensorStatus (size_t sensorindex) const override
 
virtual bool getSixAxisForceTorqueSensorName (size_t sensorindex, std::string &name) const override
 
virtual bool getSixAxisForceTorqueSensorFrameName (size_t sensorindex, std::string &frameName) const override
 
virtual bool getSixAxisForceTorqueSensorMeasure (size_t sensorindex, yarp::sig::Vector &out, double &timestamp) const override
 
- Public Member Functions inherited from eth::IethResource
virtual ~IethResource ()
 
const char * stringOfType ()
 
virtual bool getEntityName (uint32_t entityId, std::string &entityName)
 

Additional Inherited Members

- Protected Member Functions inherited from yarp::dev::embObjMultipleFTsensors
bool sendConfig2boards (ServiceParserMultipleFt &parser, eth::AbstractEthResource *deviceRes)
 
bool sendStart2boards (ServiceParserMultipleFt &parser, eth::AbstractEthResource *deviceRes)
 
bool initRegulars (ServiceParserMultipleFt &parser, eth::AbstractEthResource *deviceRes)
 
void cleanup (void)
 
double calculateBoardTime (eOabstime_t current)
 
bool checkUpdateTimeout (eOprotID32_t id32, eOabstime_t current)
 
- Protected Attributes inherited from yarp::dev::embObjMultipleFTsensors
std::shared_ptr< yarp::dev::embObjDevPrivDatadevice_
 
std::shared_mutex mutex_
 
std::map< eOprotID32_t, FtDataftSensorsData_
 
std::map< eOprotID32_t, TemperatureDatatemperaturesensordata_
 
std::map< eOprotID32_t, eOabstime_t > timeoutUpdate_
 
std::vector< yarp::dev::MAS_status > masStatus_ {MAS_WAITING_FOR_FIRST_READ, MAS_WAITING_FOR_FIRST_READ, MAS_WAITING_FOR_FIRST_READ, MAS_WAITING_FOR_FIRST_READ}
 
double firstYarpTimestamp_ {0}
 
eOabstime_t firstCanTimestamp_ {0}
 
- Static Protected Attributes inherited from yarp::dev::embObjMultipleFTsensors
static constexpr eOabstime_t updateTimeout_ {11000}
 
static constexpr bool checkUpdateTimeoutFlag_ {false}
 
static constexpr bool useBoardTimeFlag_ {true}
 

Detailed Description

Definition at line 33 of file testDeviceMultipleFTSensors.cpp.

Constructor & Destructor Documentation

◆ embObjMultipleFTsensor_Mock() [1/2]

embObjMultipleFTsensor_Mock::embObjMultipleFTsensor_Mock ( std::shared_ptr< yarp::dev::embObjDevPrivData device)
inline

Definition at line 45 of file testDeviceMultipleFTSensors.cpp.

◆ embObjMultipleFTsensor_Mock() [2/2]

embObjMultipleFTsensor_Mock::embObjMultipleFTsensor_Mock ( )
inline

Definition at line 46 of file testDeviceMultipleFTSensors.cpp.


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