#include <Platform.h>
Public Member Functions | |
PlatformCore * | GetPlatformCore () const |
virtual void | OnIdle () |
virtual void | OnKey (KeyCode key, int chr, bool down, int modifiers) |
virtual void | OnMouseMove (int x, int y, int modifiers) |
virtual void | OnQuitRequest () |
virtual void | OnResize (int width, int height) |
virtual int | OnStartup (int argc, const char **argv)=0 |
void | SetPlatformCore (PlatformCore *p) |
virtual | ~Application () |
Static Public Member Functions | |
static Application * | CreateApplication () |
static void | DestroyApplication (Application *app) |
Protected Attributes | |
class PlatformCore * | pPlatform |
Definition at line 156 of file Platform.h.
virtual OVR::Platform::Application::~Application | ( | ) | [inline, virtual] |
Definition at line 162 of file Platform.h.
static Application* OVR::Platform::Application::CreateApplication | ( | ) | [static] |
static void OVR::Platform::Application::DestroyApplication | ( | Application * | app | ) | [static] |
PlatformCore* OVR::Platform::Application::GetPlatformCore | ( | ) | const [inline] |
Definition at line 178 of file Platform.h.
virtual void OVR::Platform::Application::OnIdle | ( | ) | [inline, virtual] |
Reimplemented in OculusWorldDemoApp, and InputTestApp.
Definition at line 167 of file Platform.h.
virtual void OVR::Platform::Application::OnKey | ( | KeyCode | key, |
int | chr, | ||
bool | down, | ||
int | modifiers | ||
) | [inline, virtual] |
Reimplemented in OculusWorldDemoApp, and InputTestApp.
Definition at line 169 of file Platform.h.
virtual void OVR::Platform::Application::OnMouseMove | ( | int | x, |
int | y, | ||
int | modifiers | ||
) | [inline, virtual] |
Reimplemented in OculusWorldDemoApp, and InputTestApp.
Definition at line 171 of file Platform.h.
virtual void OVR::Platform::Application::OnQuitRequest | ( | ) | [inline, virtual] |
Definition at line 165 of file Platform.h.
virtual void OVR::Platform::Application::OnResize | ( | int | width, |
int | height | ||
) | [inline, virtual] |
Reimplemented in OculusWorldDemoApp.
Definition at line 174 of file Platform.h.
virtual int OVR::Platform::Application::OnStartup | ( | int | argc, |
const char ** | argv | ||
) | [pure virtual] |
Implemented in OculusWorldDemoApp, and InputTestApp.
void OVR::Platform::Application::SetPlatformCore | ( | PlatformCore * | p | ) | [inline] |
Definition at line 177 of file Platform.h.
class PlatformCore* OVR::Platform::Application::pPlatform [protected] |
Definition at line 159 of file Platform.h.