|
libvisual
0.5.0
|
Public Member Functions | |
| EventQueue (EventQueue const &)=delete | |
| EventQueue & | operator= (EventQueue const &)=delete |
| bool | poll (Event &event) |
| Polls for new events. More... | |
| void | add (Event const &event) |
| Adds an event to the event queue. More... | |
Definition at line 183 of file lv_event.h.
| void LV::EventQueue::add | ( | Event const & | event | ) |
Adds an event to the event queue.
Add new VisEvents into the VisEventQueue.
| event | Event to add |
Definition at line 91 of file lv_event.cpp.
| bool LV::EventQueue::poll | ( | Event & | event | ) |
Polls for new events.
Looks at the event queue for new events and deletes them from the queue while loading them into the event argument.
| event | First queued event, if queue is not empty |
Definition at line 80 of file lv_event.cpp.