Hermes SDK Documentation
FamilyInfo.h
1 #ifndef FAMILYINFO_HPP_
2 #define FAMILYINFO_HPP_
3 
4 #include "protodefinitions/Landscape.pb.h"
5 #include <string>
6 
7 class FamilyInfo
8 {
9 public:
10 
11 
15  enum class DeviceFamily : int
16  {
17  Undetermined = 0,
18  SensorOnlyDongle = 73,
19  SensorOnlyGlove = 74,
20  SensorDongle = 137,
21  SensorGlove = 138,
22  HapticDongle = 145,
23  HapticGlove = 146,
24  SensorLeftGlove = 140,
25  SensorRightGlove = 141,
26  SensorOnlyLeftGlove = 76,
27  SensorOnlyRightGlove = 77,
28  HapticLeftGlove = 148,
29  HapticRightGlove = 149,
30  LegacyDongle = 1,
31  LegacyLeftGlove = 4,
32  LegacyRightGlove = 5
33  };
34 
35  static std::string FamilyToString(Hermes::Protocol::Embedded::DeviceFamily df);
36  static std::string FamilyToString(DeviceFamily df);
37 
38 
39  static std::map<DeviceFamily, std::string> m_deviceFamilyMap;
40 };
41 
42 #endif
FamilyInfo
Definition: FamilyInfo.h:8
FamilyInfo::DeviceFamily
DeviceFamily
clone of the original devicefamily fromthe protobuf in landscape.proto
Definition: FamilyInfo.h:16