std::stack< std::shared_ptr< ApplicationState > > m_trash
Removed states waiting to be deleted.
void pop()
Remove the top ApplicationState in the stack.
void clearDeletedStates()
Clear the removed states of the stack.
static ApplicationStateStack * s_instance
Current singleton instance.
std::stack< std::shared_ptr< ApplicationState > > m_states
Stack containing the states.