|
| | embObjCanBatterysensor_Mock (std::shared_ptr< yarp::dev::embObjDevPrivData > device) |
| |
| | embObjCanBatterysensor_Mock () |
| |
| | MOCK_METHOD (double, calculateBoardTime,(eOabstime_t),(override)) |
| |
| | 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) |
| |
| 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) |
| |
| virtual bool | getEntityControlModeName (uint32_t jomoId, eOenum08_t control_mode, std::string &controlModeName, eObool_t compact_string=eobool_true) |
| |
|
| 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) |
| |
| 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 constexpr eOabstime_t | updateTimeout_ {11000} |
| |
| static constexpr bool | checkUpdateTimeoutFlag_ {false} |
| |
| static constexpr bool | useBoardTimeFlag_ {true} |
| |
◆ embObjCanBatterysensor_Mock() [1/2]
◆ embObjCanBatterysensor_Mock() [2/2]
| embObjCanBatterysensor_Mock::embObjCanBatterysensor_Mock |
( |
| ) |
|
|
inline |
◆ MOCK_METHOD()
| embObjCanBatterysensor_Mock::MOCK_METHOD |
( |
double |
, |
|
|
calculateBoardTime |
, |
|
|
(eOabstime_t) |
, |
|
|
(override) |
|
|
) |
| |
The documentation for this class was generated from the following file: