|
template<class DomainType > |
std::shared_ptr< DomainType > | newDomain () |
|
virtual void | onInit () |
|
virtual void | onCreate () |
|
virtual void | onAnimate (double dt) |
|
virtual void | onDraw (Graphics &g) |
|
virtual void | onSound (AudioIOData &io) |
|
virtual void | onMessage (osc::Message &m) |
|
virtual void | onExit () |
|
virtual bool | onKeyDown (Keyboard const &) |
|
virtual bool | onKeyUp (Keyboard const &) |
|
virtual bool | onMouseDown (Mouse const &) |
|
virtual bool | onMouseUp (Mouse const &) |
|
virtual bool | onMouseDrag (Mouse const &) |
|
virtual bool | onMouseMove (Mouse const &) |
|
virtual bool | onMouseScroll (Mouse const &) |
|
virtual void | onResize (int, int) |
|
void | quit () |
| Requests domain to quit.
|
|
bool | shouldQuit () |
|
virtual Window & | defaultWindow () |
|
virtual Graphics & | graphics () |
|
virtual Viewpoint & | view () |
|
virtual Pose & | pose () |
|
virtual Lens & | lens () |
|
virtual Nav & | nav () |
|
virtual NavInputControl & | navControl () |
|
void | fps (double f) |
|
Keyboard & | keyboard () |
| Get current keyboard state.
|
|
Mouse & | mouse () |
| Get current mouse state.
|
|
double | aspect () |
| Get aspect ratio (width divided by height)
|
|
bool | created () |
|
Window::Cursor | cursor () |
| Get current cursor type.
|
|
bool | cursorHide () |
| Whether the cursor is hidden.
|
|
Window::Dim | dimensions () |
| Get current dimensions of window.
|
|
Window::DisplayMode | displayMode () |
| Get current display mode.
|
|
bool | enabled (Window::DisplayMode v) |
| Get whether display mode flag is set.
|
|
bool | fullScreen () |
| Get whether window is in fullscreen.
|
|
const std::string & | title () |
| Get title of window.
|
|
bool | visible () |
| Get whether window is visible.
|
|
bool | vsync () |
| Get whether v-sync is enabled.
|
|
void | fullScreenToggle () |
| Toggle fullscreen.
|
|
void | hide () |
| Hide window (if showing)
|
|
void | iconify () |
| Iconify window.
|
|
int | height () |
| Get window height, in pixels.
|
|
int | width () |
| Get window width, in pixels.
|
|
int | fbHeight () |
|
int | fbWidth () |
|
float | highresFactor () |
|
bool | decorated () |
|
void | cursor (Window::Cursor v) |
| Set cursor type.
|
|
void | cursorHide (bool v) |
| Set cursor hiding.
|
|
void | cursorHideToggle () |
| Toggle cursor hiding.
|
|
void | dimensions (const Window::Dim &v) |
| Set dimensions.
|
|
void | dimensions (int w, int h) |
| Set dimensions.
|
|
void | dimensions (int x, int y, int w, int h) |
| Set dimensions.
|
|
void | displayMode (Window::DisplayMode v) |
|
void | fullScreen (bool on) |
|
void | title (const std::string &v) |
| Set title.
|
|
void | vsync (bool v) |
|
void | decorated (bool b) |
|
void | append (WindowEventHandler &handler) |
|
void | prepend (WindowEventHandler &handler) |
|
void | remove (WindowEventHandler &handler) |
|
AudioIO & | audioIO () |
|
void | configureAudio (double audioRate=44100, int audioBlockSize=512, int audioOutputs=-1, int audioInputs=-1) |
|
void | configureAudio (AudioDevice &dev, double audioRate=-1, int audioBlockSize=512, int audioOutputs=-1, int audioInputs=-1) |
|
ParameterServer & | parameterServer () |
|
virtual void | start () |
|
std::shared_ptr< OSCDomain > | oscDomain () |
|
std::shared_ptr< AudioDomain > | audioDomain () |
|
std::shared_ptr< OpenGLGraphicsDomain > | graphicsDomain () |
|
std::shared_ptr< SimulationDomain > | simulationDomain () |
|
std::shared_ptr< GLFWOpenGLWindowDomain > | defaultWindowDomain () |
|
Simple App class.
Definition at line 29 of file al_App.hpp.