/** This is called while going forwards in time again to reach current * time. Calls rewind() in the event rewinder. */ virtual void rewind() { // Make sure to reset the buffer so we read from the beginning m_buffer->reset(); m_event_rewinder->rewind(m_buffer); } // rewind
/** Called when going back in time to undo any rewind information. * It calls undoEvent in the rewinder. */ virtual void undo() { m_buffer->reset(); m_event_rewinder->undo(m_buffer); } // undo