What happens at the Queen's state funeral?

What happens at the Queen's state funeral?