#include <AppInterface.h>
Inherited by App3D.

Public Member Functions | |
| AppInterface () | |
| virtual | ~AppInterface () |
| virtual void | PreConfigure (void) |
| virtual bool | Configure (void)=0 |
| virtual void | PostConfigure (const char *defaultResourceConfigurationPath) |
| virtual void | Update (AppTime curTimeMS, AppTime elapsedTimeMS) |
| virtual void | OnAppShutdown (void) |
| virtual void | DebugOut (unsigned int lifetimeMS, const char *format,...) |
| bool | HasFocus (void) const |
| virtual void | SetFocus (bool hasFocus) |
| void | AllocateStates (int numStates) |
| virtual void | SetState (int stateType, RunnableState *state) |
| RunnableState * | GetState (int stateType) const |
| RunnableState * | GetCurrentState (void) const |
| void | PushState (RunnableState *state) |
| void | PushState (int stateType) |
| void | PopState (int popCount=1) |
| int | GetStateHistorySize (void) const |
| virtual bool | ShouldQuit (void) const |
| void | Quit (void) |
| AppTime | GetLastCurrentTime (void) const |
| AppTime | GetLastElapsedTime (void) const |
Protected Attributes | |
| FSM * | primaryFSM |
| RunnableState ** | primaryStates |
| AppTime | lastElapsedTimeMS |
| AppTime | lastCurTimeMS |
| int | primaryStatesLength |
| bool | hasFocus |
| bool | quit |
Definition at line 9 of file AppInterface.h.
| AppInterface::AppInterface | ( | ) |
Definition at line 16 of file AppInterface.cpp.
| AppInterface::~AppInterface | ( | ) | [virtual] |
Definition at line 26 of file AppInterface.cpp.
| void AppInterface::AllocateStates | ( | int | numStates | ) |
Definition at line 115 of file AppInterface.cpp.
| virtual bool AppInterface::Configure | ( | void | ) | [pure virtual] |
Implemented in App3D.
| void AppInterface::DebugOut | ( | unsigned int | lifetimeMS, | |
| const char * | format, | |||
| ... | ||||
| ) | [virtual] |
Definition at line 54 of file AppInterface.cpp.
| RunnableState * AppInterface::GetCurrentState | ( | void | ) | const |
Definition at line 107 of file AppInterface.cpp.
| AppTime AppInterface::GetLastCurrentTime | ( | void | ) | const |
Definition at line 140 of file AppInterface.cpp.
| AppTime AppInterface::GetLastElapsedTime | ( | void | ) | const |
Definition at line 144 of file AppInterface.cpp.
| RunnableState * AppInterface::GetState | ( | int | stateType | ) | const |
Definition at line 128 of file AppInterface.cpp.
| int AppInterface::GetStateHistorySize | ( | void | ) | const |
Definition at line 111 of file AppInterface.cpp.
| bool AppInterface::HasFocus | ( | void | ) | const |
Definition at line 70 of file AppInterface.cpp.
| void AppInterface::OnAppShutdown | ( | void | ) | [virtual] |
Reimplemented in App3D, and ExampleApp.
Definition at line 43 of file AppInterface.cpp.
| void AppInterface::PopState | ( | int | popCount = 1 |
) |
Definition at line 97 of file AppInterface.cpp.
| void AppInterface::PostConfigure | ( | const char * | defaultResourceConfigurationPath | ) | [virtual] |
Definition at line 35 of file AppInterface.cpp.
| void AppInterface::PreConfigure | ( | void | ) | [virtual] |
Reimplemented in App3D.
Definition at line 31 of file AppInterface.cpp.
| void AppInterface::PushState | ( | int | stateType | ) |
Definition at line 93 of file AppInterface.cpp.
| void AppInterface::PushState | ( | RunnableState * | state | ) |
Definition at line 83 of file AppInterface.cpp.
| void AppInterface::Quit | ( | void | ) |
Definition at line 136 of file AppInterface.cpp.
| void AppInterface::SetFocus | ( | bool | hasFocus | ) | [virtual] |
Definition at line 74 of file AppInterface.cpp.
| void AppInterface::SetState | ( | int | stateType, | |
| RunnableState * | state | |||
| ) | [virtual] |
Reimplemented in App3D.
Definition at line 122 of file AppInterface.cpp.
| bool AppInterface::ShouldQuit | ( | void | ) | const [virtual] |
Reimplemented in App3D, and ExampleApp.
Definition at line 132 of file AppInterface.cpp.
Reimplemented in App3D, and ExampleApp.
Definition at line 38 of file AppInterface.cpp.
bool AppInterface::hasFocus [protected] |
Definition at line 53 of file AppInterface.h.
AppTime AppInterface::lastCurTimeMS [protected] |
Definition at line 51 of file AppInterface.h.
AppTime AppInterface::lastElapsedTimeMS [protected] |
Definition at line 51 of file AppInterface.h.
FSM* AppInterface::primaryFSM [protected] |
Definition at line 48 of file AppInterface.h.
RunnableState** AppInterface::primaryStates [protected] |
Definition at line 50 of file AppInterface.h.
int AppInterface::primaryStatesLength [protected] |
Definition at line 52 of file AppInterface.h.
bool AppInterface::quit [protected] |
Reimplemented in ExampleApp.
Definition at line 54 of file AppInterface.h.
1.7.1