|
Beatmup
|
Points to a position within a sequence. More...
#include <sequence.h>
Public Member Functions | |
| void | moveTo (dtime time) |
| Sets pointer to a specific time. More... | |
| void | step () |
| Moves the pointer forward an arbitrary number of samples. More... | |
| void | watch () |
| Enables "watching mode", i.e., if the sequence is modified, the pointer will follow the modifications and remain valid. More... | |
| void | jump (dtime by) |
| Moves the pointer by a given number of samples relatively to the current position. More... | |
| dtime | getTime () const |
| bool | hasData () const |
| int | samplesAvailable () const |
Protected Member Functions | |
| Pointer (Sequence &sequence, dtime time, bool writing) | |
| ~Pointer () | |
Protected Attributes | |
| Sequence & | sequence |
| FragmentPtr | pointer |
| pointed fragment More... | |
Private Attributes | |
| bool | writing |
if true, the pointer is used to modify the data More... | |
| bool | watching |
if true, the pointer will remain valid even if the sequence is being modified More... | |
| dtime | currentTime |
| int | fragmentIdx |
Points to a position within a sequence.
Definition at line 38 of file sequence.h.
Definition at line 339 of file sequence.cpp.
|
protected |
Definition at line 355 of file sequence.cpp.
| void Sequence::Pointer::moveTo | ( | dtime | time | ) |
Sets pointer to a specific time.
| time | The time (in samples) to set the pointer to |
Definition at line 361 of file sequence.cpp.
| void Sequence::Pointer::step | ( | ) |
Moves the pointer forward an arbitrary number of samples.
Definition at line 377 of file sequence.cpp.
| void Sequence::Pointer::watch | ( | ) |
|
inline |
Moves the pointer by a given number of samples relatively to the current position.
Definition at line 71 of file sequence.h.
|
inline |
Definition at line 73 of file sequence.h.
|
inline |
Definition at line 74 of file sequence.h.
|
inline |
Definition at line 75 of file sequence.h.
|
private |
if true, the pointer is used to modify the data
Definition at line 40 of file sequence.h.
|
private |
if true, the pointer will remain valid even if the sequence is being modified
Definition at line 41 of file sequence.h.
|
private |
Definition at line 42 of file sequence.h.
|
private |
Definition at line 43 of file sequence.h.
|
protected |
Definition at line 46 of file sequence.h.
|
protected |
pointed fragment
Definition at line 47 of file sequence.h.