|
cgv
|
information provided for trackable devices More...
#include <vr_info.h>
Public Member Functions | |
| vr_trackable_info () | |
| construct with default values | |
Public Member Functions inherited from vr::vr_device_info | |
| vr_device_info () | |
| construct empty info | |
Public Attributes | |
| std::string | device_type |
| type name of device | |
| int32_t | device_class |
| index of device class | |
| bool | is_wireless |
| whether device is wireless | |
| bool | provides_battery_charge_level |
| whether one can query battery charge level | |
| float | battery_charge_level |
| battery charge level in percentage (0 .. empty, 1 .. full) | |
| bool | has_proximity_sensor |
| whether device has proximity sensor | |
Public Attributes inherited from vr::vr_device_info | |
| std::string | serial_number |
| unique identifier of device | |
| std::string | model_number |
| number describing the device type | |
| std::map< std::string, std::string > | variable_parameters |
| a map from parameter name to parameter value used for all device parameters that are not explicitly defined | |
| vr::vr_trackable_info::vr_trackable_info | ( | ) |
construct with default values
Definition at line 18 of file vr_info.cxx.
References battery_charge_level, device_class, has_proximity_sensor, is_wireless, and provides_battery_charge_level.
| float vr::vr_trackable_info::battery_charge_level |
battery charge level in percentage (0 .. empty, 1 .. full)
Definition at line 42 of file vr_info.h.
Referenced by vr::operator<<(), and vr_trackable_info().
| int32_t vr::vr_trackable_info::device_class |
index of device class
Definition at line 36 of file vr_info.h.
Referenced by vr::operator<<(), and vr_trackable_info().
| std::string vr::vr_trackable_info::device_type |
| bool vr::vr_trackable_info::has_proximity_sensor |
whether device has proximity sensor
Definition at line 44 of file vr_info.h.
Referenced by vr::operator<<(), and vr_trackable_info().
| bool vr::vr_trackable_info::is_wireless |
whether device is wireless
Definition at line 38 of file vr_info.h.
Referenced by vr::operator<<(), and vr_trackable_info().
| bool vr::vr_trackable_info::provides_battery_charge_level |
whether one can query battery charge level
Definition at line 40 of file vr_info.h.
Referenced by vr::operator<<(), and vr_trackable_info().