4 #include "protodefinitions/Landscape.pb.h"
6 #include "FamilyInfo.h"
15 enum class DeviceType : int
28 DeviceType DeviceOfType();
30 Hermes::Protocol::HandType HandOfType();
31 std::string Description();
32 int TransmissionStrength();
37 int m_batteryPercentage;
38 DeviceType m_deviceType;
40 Hermes::Protocol::HandType m_handType;
41 std::string m_description;
42 int m_transmissionStrength;
Definition: Landscape.proto:19
std::string FamilyToString()
returns the current family as a string
Definition: LeafInfo.cpp:77
DeviceFamily
clone of the original devicefamily fromthe protobuf in landscape.proto
Definition: FamilyInfo.h:16
int BatteryPercentage()
generic get functions for the data, so that the user is not tempted to set values (set batterypercent...
Definition: LeafInfo.cpp:54
Definition: LeafInfo.h:12
FamilyInfo::DeviceFamily Family()
returns the family. this is based on the internal Hermes enum.
Definition: LeafInfo.cpp:68