Beatmup
|
Represents a continuous set of data samples. More...
#include <fragment.h>
Public Member Functions | |
const int | getSampleCount () const |
virtual Fragment * | clone () const =0 |
Fragment * | edit () |
Enables editing of the current frame. More... | |
Fragment * | use () |
References the frame when it is used one more time. More... | |
void | drop () |
Dereferences the frame when it is not used any more. More... | |
Protected Member Functions | |
Fragment () | |
virtual | ~Fragment () |
Protected Attributes | |
int | sampleCount |
number of samples within this frame More... | |
Private Member Functions | |
Fragment (const Fragment &)=delete | |
disabling copying constructor More... | |
Private Attributes | |
std::mutex | access |
exclusive access More... | |
unsigned int | referenceCount |
number of occurrences of this frame in sequences More... | |
Represents a continuous set of data samples.
Definition at line 31 of file fragment.h.
|
privatedelete |
disabling copying constructor
|
protected |
Definition at line 24 of file fragment.cpp.
|
inlineprotectedvirtual |
Definition at line 41 of file fragment.h.
|
inline |
Definition at line 44 of file fragment.h.
|
pure virtual |
Implemented in Beatmup::Audio::SignalFragment.
Fragment * Fragment::edit | ( | ) |
Enables editing of the current frame.
Definition at line 27 of file fragment.cpp.
Fragment * Fragment::use | ( | ) |
References the frame when it is used one more time.
Definition at line 39 of file fragment.cpp.
void Fragment::drop | ( | ) |
|
private |
exclusive access
Definition at line 35 of file fragment.h.
|
private |
number of occurrences of this frame in sequences
Definition at line 36 of file fragment.h.
|
protected |
number of samples within this frame
Definition at line 39 of file fragment.h.