SensorValueBattery.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
6
7namespace armarx
8{
9
10 enum class BatteryState : std::uint8_t
11 {
16 full = 4
17 };
18
19 class SensorValueBattery : virtual public SensorValueBase
20 {
21 public:
23
24 std::uint8_t state;
27 float energy_Wh;
32 float voltage_V;
33 float current_A;
34 float power_W;
37
59 };
60
61} // namespace armarx
#define DETAIL_SensorValueBase_DEFAULT_METHOD_IMPLEMENTATION
The SensorValueBase class.
introspection::ClassMemberInfo< SensorValueBase, DerivedClass > SensorValueInfo
static SensorValueInfo< SensorValueBattery > GetClassMemberInfo()
DETAIL_SensorValueBase_DEFAULT_METHOD_IMPLEMENTATION std::uint8_t state
This file offers overloads of toIce() and fromIce() functions for STL container types.
EntryConfigurator< ClassType > addMemberVariable(MemberType ClassType::*ptr, const std::string &name)
add a member variable of the current class