Timeline events

I am working with timeline components in c++. I cannot seem to figure out how to clear them of events. I want to avoid having to remake my timeline every time I attack.