| 
    iCub-main
    
   | 
 
 Inheritance diagram for embObjCanBatterysensor_Mock:Public Member Functions | |
| embObjCanBatterysensor_Mock (std::shared_ptr< yarp::dev::embObjDevPrivData > device) | |
| embObjCanBatterysensor_Mock () | |
| MOCK_METHOD (double, calculateBoardTime,(eOabstime_t),(override)) | |
  Public Member Functions inherited from yarp::dev::embObjBattery | |
| embObjBattery () | |
| embObjBattery (std::shared_ptr< yarp::dev::embObjDevPrivData > device) | |
| ~embObjBattery () | |
| bool | open (yarp::os::Searchable &config) | 
| bool | close () | 
| bool | initialised () override | 
| eth::iethresType_t | type () override | 
| bool | update (eOprotID32_t id32, double timestamp, void *rxdata) override | 
| YARP_DEV_RETURN_VALUE_TYPE_CH312 | getBatteryVoltage (double &voltage) override | 
| YARP_DEV_RETURN_VALUE_TYPE_CH312 | getBatteryCurrent (double ¤t) override | 
| YARP_DEV_RETURN_VALUE_TYPE_CH312 | getBatteryCharge (double &charge) override | 
| YARP_DEV_RETURN_VALUE_TYPE_CH312 | getBatteryStatus (Battery_status &status) override | 
| YARP_DEV_RETURN_VALUE_TYPE_CH312 | getBatteryTemperature (double &temperature) override | 
| YARP_DEV_RETURN_VALUE_TYPE_CH312 | getBatteryInfo (std::string &battery_info) override | 
| virtual double | calculateBoardTime (eOabstime_t current) | 
  Public Member Functions inherited from eth::IethResource | |
| virtual | ~IethResource () | 
| const char * | stringOfType () | 
| virtual bool | getEntityName (uint32_t entityId, std::string &entityName) | 
| virtual bool | getEncoderTypeName (uint32_t jomoId, eOmc_position_t pos, std::string &encoderTypeName) | 
Additional Inherited Members | |
  Protected Member Functions inherited from yarp::dev::embObjBattery | |
| bool | sendConfig2boards (ServiceParserCanBattery &parser, eth::AbstractEthResource *deviceRes) | 
| bool | sendStart2boards (ServiceParserCanBattery &parser, eth::AbstractEthResource *deviceRes) | 
| bool | initRegulars (ServiceParserCanBattery &parser, eth::AbstractEthResource *deviceRes) | 
| void | cleanup (void) | 
| bool | checkUpdateTimeout (eOprotID32_t id32, eOabstime_t current) | 
| std::string | updateStatusStringStream (const uint16_t &currStatus, const uint16_t &prevStatus, bool isFirstLoop) | 
  Protected Attributes inherited from yarp::dev::embObjBattery | |
| std::shared_ptr< yarp::dev::embObjDevPrivData > | device_ | 
| std::shared_mutex | mutex_ | 
| CanBatteryData | canBatteryData_ | 
| std::map< eOprotID32_t, eOabstime_t > | timeoutUpdate_ | 
| std::vector< yarp::dev::MAS_status > | masStatus_ {MAS_OK, MAS_OK, MAS_OK, MAS_OK} | 
| bool | isCanDataAvailable = false | 
| bool | isPastFirstPrint = false | 
| double | firstYarpTimestamp_ {0} | 
| eOabstime_t | firstCanTimestamp_ {0} | 
  Static Protected Attributes inherited from yarp::dev::embObjBattery | |
| static constexpr eOabstime_t | updateTimeout_ {11000} | 
| static constexpr bool | checkUpdateTimeoutFlag_ {false} | 
| static constexpr bool | useBoardTimeFlag_ {true} | 
Definition at line 33 of file testDeviceCanBatterySensor.cpp.
      
  | 
  inline | 
Definition at line 43 of file testDeviceCanBatterySensor.cpp.
      
  | 
  inline | 
Definition at line 44 of file testDeviceCanBatterySensor.cpp.
| embObjCanBatterysensor_Mock::MOCK_METHOD | ( | double | , | 
| calculateBoardTime | , | ||
| (eOabstime_t) | , | ||
| (override) | |||
| ) |