Torque2D Reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
android_app Struct Reference

#include <android_native_app_glue.h>

Public Attributes

void * userData
 
void(* onAppCmd )(struct android_app *app, int32_t cmd)
 
int32_t(* onInputEvent )(struct android_app *app, AInputEvent *event)
 
ANativeActivity * activity
 
AConfiguration * config
 
void * savedState
 
size_t savedStateSize
 
ALooper * looper
 
AInputQueue * inputQueue
 
ANativeWindow * window
 
ARect contentRect
 
int activityState
 
int destroyRequested
 
pthread_mutex_t mutex
 
pthread_cond_t cond
 
int msgread
 
int msgwrite
 
pthread_t thread
 
struct android_poll_source cmdPollSource
 
struct android_poll_source inputPollSource
 
int running
 
int stateSaved
 
int destroyed
 
int redrawNeeded
 
AInputQueue * pendingInputQueue
 
ANativeWindow * pendingWindow
 
ARect pendingContentRect
 

Detailed Description

This is the interface for the standard glue code of a threaded application. In this model, the application's code is running in its own thread separate from the main thread of the process. It is not required that this thread be associated with the Java VM, although it will need to be in order to make JNI calls any Java objects.

Member Data Documentation

◆ activity

ANativeActivity* activity

◆ activityState

int activityState

◆ cmdPollSource

struct android_poll_source cmdPollSource

◆ cond

pthread_cond_t cond

◆ config

AConfiguration* config

◆ contentRect

ARect contentRect

◆ destroyed

int destroyed

◆ destroyRequested

int destroyRequested

◆ inputPollSource

struct android_poll_source inputPollSource

◆ inputQueue

AInputQueue* inputQueue

◆ looper

ALooper* looper

◆ msgread

int msgread

◆ msgwrite

int msgwrite

◆ mutex

pthread_mutex_t mutex

◆ onAppCmd

void(* onAppCmd) (struct android_app *app, int32_t cmd)

◆ onInputEvent

int32_t(* onInputEvent) (struct android_app *app, AInputEvent *event)

◆ pendingContentRect

ARect pendingContentRect

◆ pendingInputQueue

AInputQueue* pendingInputQueue

◆ pendingWindow

ANativeWindow* pendingWindow

◆ redrawNeeded

int redrawNeeded

◆ running

int running

◆ savedState

void* savedState

◆ savedStateSize

size_t savedStateSize

◆ stateSaved

int stateSaved

◆ thread

pthread_t thread

◆ userData

void* userData

◆ window

ANativeWindow* window

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