Hermes SDK Documentation
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
FamilyInfo Class Reference

Public Types

enum  DeviceFamily : int {
  Undetermined = 0, SensorOnlyDongle = 73, SensorOnlyGlove = 74, SensorDongle = 137,
  SensorGlove = 138, HapticDongle = 145, HapticGlove = 146, SensorLeftGlove = 140,
  SensorRightGlove = 141, SensorOnlyLeftGlove = 76, SensorOnlyRightGlove = 77, HapticLeftGlove = 148,
  HapticRightGlove = 149, LegacyDongle = 1, LegacyLeftGlove = 4, LegacyRightGlove = 5
}
 clone of the original devicefamily fromthe protobuf in landscape.proto More...
 

Static Public Member Functions

static std::string FamilyToString (Hermes::Protocol::Embedded::DeviceFamily df)
 
static std::string FamilyToString (DeviceFamily df)
 converst a DeviceFamily to a string. More...
 

Static Public Attributes

static std::map< DeviceFamily, std::string > m_deviceFamilyMap
 

Member Enumeration Documentation

◆ DeviceFamily

enum FamilyInfo::DeviceFamily : int
strong

clone of the original devicefamily fromthe protobuf in landscape.proto

Member Function Documentation

◆ FamilyToString()

std::string FamilyInfo::FamilyToString ( FamilyInfo::DeviceFamily  df)
static

converst a DeviceFamily to a string.

Parameters
df
Returns

Member Data Documentation

◆ m_deviceFamilyMap

std::map< FamilyInfo::DeviceFamily, std::string > FamilyInfo::m_deviceFamilyMap
static
Initial value:
= std::map<FamilyInfo::DeviceFamily, std::string>
{
{FamilyInfo::DeviceFamily::Undetermined ,"Undetermined" },
{FamilyInfo::DeviceFamily::SensorOnlyDongle, "SensorOnlyDongle"},
{FamilyInfo::DeviceFamily::SensorOnlyGlove, "SensorOnlyGlove"},
{FamilyInfo::DeviceFamily::SensorDongle, "SensorDongle"},
{FamilyInfo::DeviceFamily::SensorGlove, "SensorGlove"},
{FamilyInfo::DeviceFamily::HapticDongle, "HapticDongle"},
{FamilyInfo::DeviceFamily::HapticGlove, "HapticGlove"},
{FamilyInfo::DeviceFamily::SensorLeftGlove, "SensorLeftGlove"},
{FamilyInfo::DeviceFamily::SensorRightGlove, "SensorRightGlove"},
{FamilyInfo::DeviceFamily::SensorOnlyLeftGlove, "SensorOnlyLeftGlove"},
{FamilyInfo::DeviceFamily::SensorOnlyRightGlove, "SensorOnlyRightGlove"},
{FamilyInfo::DeviceFamily::HapticLeftGlove, "HapticLeftGlove"},
{FamilyInfo::DeviceFamily::HapticRightGlove, "HapticRightGlove"},
{FamilyInfo::DeviceFamily::LegacyDongle, "LegacyDongle"},
{FamilyInfo::DeviceFamily::LegacyLeftGlove, "LegacyLeftGlove"},
{FamilyInfo::DeviceFamily::LegacyRightGlove, "LegacyRightGlove"}
}

The documentation for this class was generated from the following files: