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();
38 int m_batteryPercentage;
39 DeviceType m_deviceType;
41 Hermes::Protocol::HandType m_handType;
42 std::string m_description;
43 int m_transmissionStrength;
Definition: Landscape.proto:18
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