Public Member Functions | Protected Attributes
OVR::Platform::PlatformCore Class Reference

#include <Platform.h>

Inheritance diagram for OVR::Platform::PlatformCore:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void DestroyWindow ()=0
virtual void Exit (int exitcode)=0
ApplicationGetApp ()
double GetAppTime () const
virtual String GetContentDirectory () const
virtual Render::DisplayId GetDisplay (int screen)
virtual int GetDisplayCount ()
GamepadManagerGetGamepadManager () const
RenderDevice * GetRenderer () const
virtual void GetWindowSize (int *w, int *h) const =0
 PlatformCore (Application *app)
virtual void PlayMusicFile (const char *fileName)
virtual bool SetFullscreen (const Render::RendererParams &rp, int fullscreen)
virtual void SetMouseMode (MouseMode mm)
virtual RenderDevice * SetupGraphics (const SetupGraphicsDeviceSet &setupGraphicsDesc, const char *gtype, const Render::RendererParams &rp)=0
virtual bool SetupWindow (int w, int h)=0
virtual void SetWindowTitle (const char *title)=0
virtual void ShowWindow (bool visible)=0
virtual ~PlatformCore ()

Protected Attributes

ApplicationpApp
Ptr< GamepadManagerpGamepadManager
Ptr< RenderDevice > pRender
UInt64 StartupTicks

Detailed Description

Definition at line 108 of file Platform.h.


Constructor & Destructor Documentation

Reimplemented in OVR::Platform::Linux::PlatformCore.

Definition at line 51 of file Platform.cpp.

virtual OVR::Platform::PlatformCore::~PlatformCore ( ) [inline, virtual]

Member Function Documentation

virtual void OVR::Platform::PlatformCore::DestroyWindow ( ) [pure virtual]
virtual void OVR::Platform::PlatformCore::Exit ( int  exitcode) [pure virtual]

Definition at line 119 of file Platform.h.

Definition at line 58 of file Platform.cpp.

virtual String OVR::Platform::PlatformCore::GetContentDirectory ( ) const [inline, virtual]

Reimplemented in OVR::Platform::OSX::PlatformCore.

Definition at line 149 of file Platform.h.

Reimplemented in OVR::Platform::Win32::PlatformCore, and OVR::Platform::OSX::PlatformCore.

Definition at line 70 of file Platform.cpp.

virtual int OVR::Platform::PlatformCore::GetDisplayCount ( ) [inline, virtual]

Reimplemented in OVR::Platform::Win32::PlatformCore, and OVR::Platform::OSX::PlatformCore.

Definition at line 143 of file Platform.h.

Definition at line 121 of file Platform.h.

RenderDevice* OVR::Platform::PlatformCore::GetRenderer ( ) const [inline]

Definition at line 120 of file Platform.h.

virtual void OVR::Platform::PlatformCore::GetWindowSize ( int *  w,
int *  h 
) const [pure virtual]
virtual void OVR::Platform::PlatformCore::PlayMusicFile ( const char *  fileName) [inline, virtual]

Reimplemented in OVR::Platform::Win32::PlatformCore.

Definition at line 142 of file Platform.h.

bool OVR::Platform::PlatformCore::SetFullscreen ( const Render::RendererParams rp,
int  fullscreen 
) [virtual]

Reimplemented in OVR::Platform::Linux::PlatformCore, and OVR::Platform::OSX::PlatformCore.

Definition at line 63 of file Platform.cpp.

virtual void OVR::Platform::PlatformCore::SetMouseMode ( MouseMode  mm) [inline, virtual]
virtual RenderDevice* OVR::Platform::PlatformCore::SetupGraphics ( const SetupGraphicsDeviceSet setupGraphicsDesc,
const char *  gtype,
const Render::RendererParams rp 
) [pure virtual]
virtual bool OVR::Platform::PlatformCore::SetupWindow ( int  w,
int  h 
) [pure virtual]
virtual void OVR::Platform::PlatformCore::SetWindowTitle ( const char *  title) [pure virtual]
virtual void OVR::Platform::PlatformCore::ShowWindow ( bool  visible) [pure virtual]

Member Data Documentation

Definition at line 111 of file Platform.h.

Definition at line 113 of file Platform.h.

Ptr<RenderDevice> OVR::Platform::PlatformCore::pRender [protected]

Definition at line 112 of file Platform.h.

Definition at line 114 of file Platform.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:49