Returns the number of events of a certain type currently on the stack.
Definition at line 66 of file GHOST_EventManager.cpp. References m_events. { GHOST_TUns32 numEvents = 0; TEventStack::iterator p; for (p = m_events.begin(); p != m_events.end(); p++) { if ((*p)->getType() == type) { numEvents++; } } return numEvents; }
|