cgv
Loading...
Searching...
No Matches
vr::vr_trackable_info Struct Reference

information provided for trackable devices More...

#include <vr_info.h>

Inheritance diagram for vr::vr_trackable_info:
vr::vr_device_info vr::vr_controller_info vr::vr_hmd_info vr::vr_tracking_reference_info

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
 

Detailed Description

information provided for trackable devices

Definition at line 31 of file vr_info.h.

Constructor & Destructor Documentation

◆ vr_trackable_info()

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.

Member Data Documentation

◆ 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().

◆ device_class

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().

◆ device_type

std::string vr::vr_trackable_info::device_type

type name of device

Definition at line 34 of file vr_info.h.

Referenced by vr::operator<<().

◆ has_proximity_sensor

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().

◆ is_wireless

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().

◆ provides_battery_charge_level

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().


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