24 TConsumerVector::iterator iter =
m_consumers.begin();
40 TEventStack::iterator p;
42 if ((*p)->getType() ==
type) {
65 TConsumerVector::iterator iter;
68 (*iter)->processEvent(event);
96 TConsumerVector::const_iterator iter = std::find(
131 TEventStack::iterator iter;
135 if (event->getWindow() == window) {
136 GHOST_PRINT(
"GHOST_EventManager::removeWindowEvents(): removing event\n");
153 TEventStack::iterator iter;
157 if ((event->getType() ==
type) && (!window || (event->getWindow() == window))) {
158 GHOST_PRINT(
"GHOST_EventManager::removeTypeEvents(): removing event\n");
#define GHOST_ASSERT(x, info)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
void removeWindowEvents(GHOST_IWindow *window)
GHOST_TSuccess addConsumer(GHOST_IEventConsumer *consumer)
GHOST_TSuccess removeConsumer(GHOST_IEventConsumer *consumer)
std::deque< GHOST_IEvent * > m_handled_events
std::deque< GHOST_IEvent * > m_events
TConsumerVector m_consumers
GHOST_TSuccess pushEvent(GHOST_IEvent *event)
void removeTypeEvents(GHOST_TEventType type, GHOST_IWindow *window=NULL)