Fixed issue with events having a negative delta of time between them.

This commit is contained in:
Robert Osfield
2011-06-14 12:44:44 +00:00
parent 6a6c5bccda
commit 5b3eed5dce
4 changed files with 53 additions and 7 deletions

View File

@@ -41,6 +41,9 @@ class OSGGA_EXPORT EventQueue : public osg::Referenced
/** Take the entire event queue leaving the EventQueue' event queue empty.*/
bool takeEvents(Events& events);
/** Take the events that were recorded before with specified time queue.*/
bool takeEvents(Events& events, double cutOffTime);
/** Take a copy the entire event queue leaving the EventQueue' event queue intact.*/
bool copyEvents(Events& events) const;