Beatmup
|
#include <sequence.h>
Public Member Functions | |
T * | copy (dtime fromTime, dtime toTime) const |
Public Member Functions inherited from Beatmup::Fragments::Sequence | |
const dtime | getDuration () const |
Returns sequence duration in number of samples. More... | |
bool | isEmpty () const |
Returns true if sequence contains no samples. More... | |
void | clear () |
Removes the content of the sequence making it empty (of zero duration). More... | |
void | shrink (dtime timeLeft, dtime timeRight) |
Shrinks the sequence to given time bounds. More... | |
Sequence * | copy (dtime fromTime, dtime toTime) const |
Copies a given piece of the current sequence into new Sequence. More... | |
void | insert (const Sequence &sequence, dtime time) |
Inserts a Sequence at a given position in time. More... | |
void | remove (dtime fromTime, dtime toTime) |
Erases a part of the sequence between two given time moments. More... | |
void | split (dtime time, Sequence *left, Sequence *right) const |
Splits the sequence in two at a specific time. More... | |
Public Member Functions inherited from Beatmup::Object | |
virtual | ~Object () |
Additional Inherited Members | |
Protected Member Functions inherited from Beatmup::Fragments::Sequence | |
Sequence () | |
virtual | ~Sequence () |
virtual Sequence * | createEmpty () const =0 |
Initializes an empty sequence, used to bootstrap copying operations. More... | |
void | concatenate (Fragment &fragment, dtime offset, dtime length) |
Adds a new fragment at the end of the sequence. More... | |
void | syncPointers () |
Resets pointers once the sequence changes to keep them consistent. More... | |
Definition at line 179 of file sequence.h.
|
inline |
Definition at line 181 of file sequence.h.