![]() |
Public API Reference |
![]() |
A sequence operation. More...
#include <ivaria/sequence.h>
Public Member Functions | |
virtual void | CleanupSequences ()=0 |
This routine is responsible for forcibly cleaning up all references to sequences. | |
virtual void | Do (csTicks dt, iBase *params)=0 |
Do the operation. |
A sequence operation.
This is effectively a callback to the application.
Main creators of instances implementing this interface:
Main users of this interface:
Definition at line 39 of file sequence.h.
virtual void iSequenceOperation::CleanupSequences | ( | ) | [pure virtual] |
This routine is responsible for forcibly cleaning up all references to sequences.
It is called when the sequence manager is destructed.
virtual void iSequenceOperation::Do | ( | csTicks | dt, |
iBase * | params | ||
) | [pure virtual] |
Do the operation.
The dt parameter is the difference between the time the sequence manager is at now and the time this operation was supposed to happen. If this is 0 then the operation is called at the right time. If this is 1000 (for example) then the operation was called one second late. This latency can happen because the sequence manager only kicks in every frame and frame rate can be low.