Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends
OVR::Profile Class Reference

#include <OVR_Profile.h>

Inheritance diagram for OVR::Profile:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { MaxNameLen = 32 }
enum  GenderType { Gender_Unspecified = 0, Gender_Male = 1, Gender_Female = 2 }

Public Member Functions

float GetEyeHeight ()
GenderType GetGender ()
float GetIPD ()
float GetPlayerHeight ()
void SetGender (GenderType gender)
void SetIPD (float ipd)
void SetPlayerHeight (float height)

Public Attributes

char Name [MaxNameLen]
ProfileType Type

Protected Member Functions

virtual ProfileClone () const =0
virtual bool ParseProperty (const char *prop, const char *sval)
 Profile (ProfileType type, const char *name)

Protected Attributes

GenderType Gender
float IPD
float PlayerHeight

Friends

class ProfileManager

Detailed Description

Definition at line 107 of file OVR_Profile.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
MaxNameLen 

Definition at line 110 of file OVR_Profile.h.

Enumerator:
Gender_Unspecified 
Gender_Male 
Gender_Female 

Definition at line 112 of file OVR_Profile.h.


Constructor & Destructor Documentation

OVR::Profile::Profile ( ProfileType  type,
const char *  name 
) [protected]

Definition at line 546 of file OVR_Profile.cpp.


Member Function Documentation

virtual Profile* OVR::Profile::Clone ( ) const [protected, pure virtual]

Implemented in OVR::RiftDK1Profile.

Definition at line 590 of file OVR_Profile.cpp.

Definition at line 129 of file OVR_Profile.h.

float OVR::Profile::GetIPD ( ) [inline]

Definition at line 131 of file OVR_Profile.h.

float OVR::Profile::GetPlayerHeight ( ) [inline]

Definition at line 130 of file OVR_Profile.h.

bool OVR::Profile::ParseProperty ( const char *  prop,
const char *  sval 
) [protected, virtual]

Reimplemented in OVR::RiftDK1Profile.

Definition at line 556 of file OVR_Profile.cpp.

void OVR::Profile::SetGender ( GenderType  gender) [inline]

Definition at line 134 of file OVR_Profile.h.

void OVR::Profile::SetIPD ( float  ipd) [inline]

Definition at line 136 of file OVR_Profile.h.

void OVR::Profile::SetPlayerHeight ( float  height) [inline]

Definition at line 135 of file OVR_Profile.h.


Friends And Related Function Documentation

friend class ProfileManager [friend]

Reimplemented in OVR::RiftDK1Profile.

Definition at line 145 of file OVR_Profile.h.


Member Data Documentation

Definition at line 123 of file OVR_Profile.h.

float OVR::Profile::IPD [protected]

Definition at line 125 of file OVR_Profile.h.

Definition at line 120 of file OVR_Profile.h.

float OVR::Profile::PlayerHeight [protected]

Definition at line 124 of file OVR_Profile.h.

Definition at line 119 of file OVR_Profile.h.


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


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12